Another LaTeX formatting question

  • Context: LaTeX 
  • Thread starter Thread starter Borek
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion revolves around formatting equations in LaTeX, specifically focusing on the readability of exponential expressions. Participants explore different methods to enhance the appearance of mathematical notation, particularly when dealing with superscripts and fractions.

Discussion Character

  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant expresses dissatisfaction with the readability of the exponential notation in LaTeX, suggesting that using "exp" instead of "e" might improve clarity.
  • Another participant proposes increasing the size of the exponential part using commands like \large and \LARGE, noting that while it helps, it may not be practical.
  • A third participant discusses the issue of font size reduction in superscripts and fractions, explaining how different styles affect the appearance of the text and suggesting alternatives to maintain readability.
  • Participants explore various formatting options, including using \scriptstyle to control font size and avoiding fractional forms to enhance clarity.

Areas of Agreement / Disagreement

Participants share various formatting techniques and preferences, but there is no consensus on a single best approach. Multiple competing views on how to improve readability remain present.

Contextual Notes

Limitations include the subjective nature of readability and the dependence on specific LaTeX commands, which may vary in effectiveness based on context.

Borek
Mentor
Messages
29,204
Reaction score
4,626
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

  • Untitled-1.png
    Untitled-1.png
    454 bytes · Views: 712
Physics news on Phys.org
[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]
 
[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]
 
Thanks :smile:

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

Similar threads

  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
6K
Replies
13
Views
3K