Another LaTeX formatting question

  • LaTeX
  • Thread starter Borek
  • Start date
  • #1
Borek
Mentor
28,404
2,803

Main Question or Discussion Point

So I was answering in a thread here and what I got was ugly:

[tex]k_1 = e^{\frac {E_a} {RT_1}}[/tex]

What I don't like is that the exponential part is so small it is barely readable (checked in Opera, Firefox, IE and Chrome). I can write it as

[tex]k_1 = exp\left({\frac {E_a} {RT_1}}\right)[/tex]

and it definitely looks better, but sometimes I feel like writing ex instead of exp(x) makes the equation easier to follow - at least for me it is easier to see and group exponents when they are all in superscript position.

Is there a way of making the exponential part larger?

For example OpenOffice formats it as

attachment.php?attachmentid=50754&stc=1&d=1347533407.png


Still not perfect, but closer to what I am thinking about.

Any ideas?
 

Attachments

Answers and Replies

  • #2
trollcast
Gold Member
280
13
[tex]\large k_1 = e^{\frac {E_a} {RT_1}}[/tex]

[tex]\LARGE k_1 = e^{\frac {E_a} {RT_1}}[/tex]

Increasing the size helps sometimes although it probably isn't too practical.


EDIT:

This here doesn't look too bad [tex]k_1 = e^{\LARGE\frac {E_a} {RT_1}}[/tex]
 
  • #3
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
683
[tex]x^{x}[/tex]
Note how the superscript x is in a smaller font, that dictated by \scriptstyle.

[tex]a^{a^a}[/tex]
Now note how the font sizes get progressively smaller. The font size goes from that dictated by \displaystyle to \scriptstyle to \scriptscriptsyle (which is where things stop).

[tex]e^{\frac{E_a}{RT_1}}[/tex]
That "getting progressively smaller" is what is happening here. Both the superscript and \frac act to reduce the font by one level. The end result is that Ea and RT1 are in that tiny \scriptscriptsyle font.

One way to overcome this is to force the numerator and denominator to be in the size dictated by \scriptstyle:
[tex]e^{\frac{\scriptstyle E_a}{\scriptstyle RT_1}}[/tex]

Alternatively, just don't use the fractional form:
[tex]e^{E_a/(RT_1)}[/tex]

With some abuse of notation,
[tex]e^{E_a/RT_1}[/tex]
 
  • #4
Borek
Mentor
28,404
2,803
Thanks :smile:

No idea which one I will use, but it is nice to have some options to select from.
 

Related Threads on Another LaTeX formatting question

  • Last Post
Replies
3
Views
5K
Replies
2
Views
3K
Replies
5
Views
3K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
4
Views
4K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
3K
Replies
2
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
14
Views
2K
Top