I am using JHEP class for my physics thesis, but everything written in math environment becomes automatically in bold font. I have tried with different compilers like: TeXworks and TeXmaker. I even send the tex file to my mentor who compiled it on an apple computer and then it works just fine, no bold font.

So the problem has to be on my end, but I am running out of ideas on why it doesn't work. I have tried searching for a solution but it doesn't seem to be a common issue.

Here is the LateX code:

Testing $X=56\in \mathcal{H}$    
x &= 1 \,,    
y = 2 \,,    
z &= 3 \,.    


and I added a link to the package with the full example provided by JHEP.

Everything inside the math environment is written in a bold font. And I stress that if someone else compiles the document it does not happen.

I added the package as was recommended and it fixed the rendering issue. But it created an additional problem; it either completely removed the parenthesis/symbols or just shifted them.

\omega (\alpha X + \beta Y,Z) &= \alpha\omega(X,Z)+\beta\omega(Y,Z)\\
\omega (X,Y)&=-\omega (Y,X) \\
X\minushookup \omega &=0\quad \text{iff} X=0\quad
N^{\perp} = \{X\in V \,|\,\omega (X,Y)=0\, \forall \, Y\in N \}.
  • 2
    can we see a minimum working example please? The preamble, begin, example maths and end would be useful to take this further. – Steve Hodgkinson May 17 '16 at 8:27
  • 2
    Welcome to TeX.SX! Follow next link to find more explanation on what is a minimal working example (MWE). Reproducing the problem and finding out what the issue is will be much easier when we see compilable code. – ebosi May 17 '16 at 8:31
  • @Fredovich, well that's a start but really we need at least one example of where you get bold font in the maths environment while others don't. Don't forget to include the \begin{document} and \end{document}. – Steve Hodgkinson May 17 '16 at 10:22
  • @Fredovich, please ensure you Display code and links properly, it makes it much easier to read! – Steve Hodgkinson May 17 '16 at 10:41
  • I will do that in the future, – Fredovich May 17 '16 at 10:42

Your diagnosis is wrong: it's not the math that appears bold, but the text that appears thin. And jheppub.sty has nothing to do with it; it's caused by \usepackage[T1]{fontenc} and an issue in your MiKTeX installation.

The problem is that you don't have the Type1 version of the European Modern font, also known as CM-Super; this is stated in your log file by the code


which means that pdftex is creating a bitmap version of the text font (and indeed it will appear thinner in many PDF viewers).

You can solve your problem by adding


to your preamble or properly installing CM-Super. On MiKTeX this issue is very common. See

How to improve rendering

How to run updmap-sys after installing cm-super?

This is the image I get when disabling the Type1 version of ecrm1095:

enter image description here

which should be similar to what you get. In contrast, this is what I get normally

enter image description here

  • I added the package as you recommended and it solved the rendering issue. But it either completely removed all parenthesis or slightly moved them up or down. – Fredovich May 17 '16 at 12:20
  • @Fredovich That needs a followup question; please add a minimal example (not the full log file). – egreg May 17 '16 at 12:25
  • @Fredovich where in the \usepackage{} list did you add \usepackagae{lmodern}? – Steve Hodgkinson May 17 '16 at 12:37
  • It is on the seventh line. – Fredovich May 17 '16 at 12:40
  • 1
    @SteveHodgkinson I've converted your answer to a comment here: it's a follow-up to the earlier point you made and doesn't work as a stand-alone answer. – Joseph Wright May 18 '16 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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