It depends on the publisher's house style; after review and acceptance, academic papers go through a copy editing process performed by the publisher. For example, recently I've had all my "ten"s changed to "10"s by an elsevier copy editor. Mostly people seem to agree that single-digit numbers should be written in full, while multi-digit numbers are written as numerals.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.