1

I'm using latex templates which is producing a particular kind of math font, shown below.

enter image description here

How can I change it to produce something like following? I'm particularly interested in changing the math font.

enter image description here

Is there any specific package that I should exclude? unfortunately there are a couple of style and cls files and I'm not sure what is responsible for this change in font.

4
  • The latter is the standard Computer Modern, it looks like. You need to produce a minimal working example to help us help you. – Svend Tveskæg Jun 5 '14 at 6:18
  • 1
    The math font you currently have looks like Euler. – ChrisS Jun 5 '14 at 6:19
  • I noticed that the second one is normal, but the problem is that I don't know where to look to bring this whole template back to normal. I'm using the MIT thesis template from this git repo and I doing a quick search I couldn't find the term Euler anywhere. Did I miss it? – SKV Jun 5 '14 at 6:24
  • Edit: ChrisS: you were right. I was able to find \usepackage[small]{eulervm} and by commenting it out the problem was solved. Thank you all! – SKV Jun 5 '14 at 6:46
1

If you cannot change the template itself then write before \begin{document}:

\usepackage{kpfonts}

for Palatino like fonts or

\usepackage{lmodern}

for Computer Modern fonts.

4
  • The first solution clashes with the current setting (LaTeX Error: Option clash for package textcomp.) but the second one works. Any suggestion as why one may be better than the other? – SKV Jun 5 '14 at 6:33
  • @Siamak As I've already mentioned, you have to provide a MWE. – Svend Tveskæg Jun 5 '14 at 6:48
  • @Svend, as @ChrisS pointed out the problem was a the eulervm package. By removing it the problem was fix. Although just including the usepackage{lmodern} just before the begining of the document also did the trick. – SKV Jun 5 '14 at 6:52
  • 1
    @Siamak What has that got to do with the error you just mentioned? – Svend Tveskæg Jun 5 '14 at 7:02

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.