Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Combining a slider and superscript

Community Beginner ,
Mar 22, 2020 Mar 22, 2020

I would like to animate a number going from 10^1 to 10^10, by having the exponent count from 1 to 10.

I have a slider going from 1 to 10 and then set the source text with an expression.

But then I can't set this exponent to be in superscript.

How do I do this?

TOPICS
Expressions , How to , Scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 22, 2020 Mar 22, 2020

You don't. You simply split up the layers and animate them separately. Superscript is a text decoration to begin with and most fonts only offer hard-coded glyphs for power of 2 and 3, anyway, so beginning with 4 any automatic formatting would fail in most cases.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 22, 2020 Mar 22, 2020

 easiest way - two layers

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2025 Jan 06, 2025
LATEST

For anyone coming across this now 4 years later and beyond, we finally have access to style in text expressions:

 

Edit text styles and text properties using expression controls.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines