Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am setting my documents in LaTeX and am satisfied with the appearance of the output. Besides this, I am always in doubt how I have to arrange variables, constants and numbers.

Let's talk about the following example:

\begin{align*}
F &= \frac{\textrm{d}W^{'}_{\textrm{mag}}}{\textrm{d}x} \\
&= -\frac{N^2 I^2 \mu_0 a d}{8e^2}.
\end{align*}

Is there a rule which variable or constant should come first? Is it better to place points (like \cdot) between those variables? Do I order the symbols alphabetically and how do I deal with capital letters?

share|improve this question

closed as off topic by Caramdir, Andrey Vihrov, Loop Space, Joseph Wright Nov 17 '11 at 13:00

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Formulae don't consist of random objects, every variable and constant has a meaning. Arrange them by meaning, too. –  Andrey Vihrov Nov 16 '11 at 19:02
    
That is indeed true. So you would recommend to order everything in groups like "group of distances", "group of electrical constants", ... Or what would you say to the above example? –  Lukas Nov 16 '11 at 20:04
2  
Is this on-topic? Might be more suitable for math.se or physics.se. –  Caramdir Nov 16 '11 at 20:25
    
Should I move it? –  Lukas Nov 16 '11 at 20:52
2  
Not about your question, but your code can be improved. First, the prime ' is already a superscript, so just write $W'$. Second, don't use \textrm to get words like mag in math; use \text from the amsmath package, which looks better. Third, rather than writing \textrm{d}, try running \newcommand\dd{\mathrm{d}} (\mathrm is better since it is, after all, math) or, better still, \DeclareMathOperator{\dd}{d} (using amsmath again), and then write \dd W, \dd x, etc. Your papers will look better and be easier to write. –  Ryan Reich Nov 17 '11 at 1:18

Browse other questions tagged or ask your own question.