TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using

\Omega(E)=\dfrac{ N!}{\left(\dfrac{N}{2}-\dfrac{E}{2\mu H}\right)!\left(\dfrac{N}{2}+\dfrac{E}{2\mu H}\right)!}\,\dfrac{\delta E}{2\mu H}

The output is

What I would like to have is the 2μΗ to be better aligned to the left denominator. Secondly the factorial, would be better if it was longer.

share|improve this question
@lpsen: Thank you very much for your comment! If you notice, the 2μΗ it isn't well aligned with the left denominator. Secondly the factorial, would be better if it was longer, I believe. – Thanos Dec 9 '12 at 12:27
I don't like to use \dfrac. My suggestion is to remove them from the denominator. Or, what do you think: \Omega(E)=\frac{N!}{\left(N/{2}-E/{(2\mu H)}\right)!\left(N/{2}+E/{(2\mu H)}\right)!}\,\frac{\delta E}{2\mu H} – Sigur Dec 9 '12 at 12:29
@Sigur: Thank you for your comment! The picture that I gave actually is without \dfrac on the denominator. As far as your suggestion is concerned, I would like to have it in a fraction and not with just a slash. – Thanos Dec 9 '12 at 12:45
The first \dfrac is not necessary since you are using equation. I told you to remove from denominator based on your example code. Now, looking the picture I could notice that Nis smaller on denominator. Sorry! – Sigur Dec 9 '12 at 12:49
up vote 3 down vote accepted

Here is a trick. Not so fancy but it works. Probably some one could help you with a fancy command.

\Omega(E)=\frac{ N!}{\left(\frac{N}{2}-\frac{E}{2\mu H}\right)!\left(\frac{N}{2}+\frac{E}{2\mu H}\right)!}\,\frac{\delta E}{2\mu H \hspace{-1.5em}\phantom{\left(\frac{E}{\mu}\right.}}

I inserted a \phantom command to fake the denominator.

enter image description here

Here is another suggestion: replace \left( \right) by \big( \big)and change the order of the fractions, as @percusse said.

\Omega(E)=\frac{\delta E}{2\mu H \hspace{-1.5em}\phantom{\left(\frac{E}{\mu}\right.}} \frac{ N!}{\big(\frac{N}{2}-\frac{E}{2\mu H}\big)!\big(\frac{N}{2}+\frac{E}{2\mu H}\big)!}

enter image description here

share|improve this answer
It is really better! Thank you very much! Any idea on the ! apart from changing fontsize? I mean something like \left and \right... – Thanos Dec 9 '12 at 13:02
@Thanos Oh please don't do that :P I mean if they are factorials don't touch them. However you might consider having 2muH to the left but under the frac while putting \delta E outside as a factor. That might bring some balance to the eye. – percusse Dec 9 '12 at 13:07
@percusse: That could be an idea but I want it in that form because it is a term which indicate something specific, so it should stay like that. About the !, I'll leave it like that! You convinced me! – Thanos Dec 9 '12 at 13:11
Use \vphantom{<stuff>} instead of a combination of \phantom and a manual negative horizontal space. (There’s also \hphantom for only a horizontal space the size of its argument.) Also, use \big( in the second suggestion’s \phantom, this would correct the vertical alignment again. – Qrrbrbirlbel Feb 2 '13 at 21:08

I would propose for the 1st fraction, to use the \mfrac command (= medium sized fraction) from the nccmath package and the \cfrac command, plus thickspace (\;) between the two factorials at the denominator :

\Omega(E)=\mfrac{ N!}{\Bigl(\cfrac{N}{2}-\cfrac{E}{2\mu H}\Bigr)!\;\Bigl(\cfrac{N}{2}+\cfrac{E}{2\mu H}\Bigr)!}\,\dfrac{\delta E}{2\mu H}

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.