7

I am writing my Master Thesis in latex but I am experiencing some issues. I am using a custom document class, linked here

The issue I am experiencing is that \textbf and \textit are not working. Unfortunately I do not know where to look and how to start "debugging" the issue. I do not get any errors (some warnings, though).

Could you please help me?

EDIT: an non working example. the problem seems to be the package that is used to define the title style.

    \documentclass{Thesis}

    \usepackage{tgtermes}


    \begin{document}



        abc\textbf{abc}


   \end{document}
12
  • Welcome to Tex.SX! Please elaborate a bit: where are they not working? Could you provide a Minimal (Non)Working Example (see the help of this site), so we can help you?
    – Astrinus
    Jul 1, 2015 at 12:15
  • 4
    There is nothing in the class which would disable the commands and I'm rather sure that a minimal example \documentclass{thesis} \begin{document} abc\textbf{abc} \end{document} would work for you. Jul 1, 2015 at 12:15
  • Indeed a minimal example with this class as suggested by Ulrike Fischer does work. Please provide a MWE as requested. Jul 1, 2015 at 12:17
  • @UlrikeFischer i tried what you have said and it does not work. Here there is my main with the example. I really cannot see the problem
    – MagoNick
    Jul 1, 2015 at 12:19
  • 1
    The log makes this quite clear: LaTeX Font Warning: Font shape `OT1/qtm/b/n' undefined (Font) using `OT1/qtm/m/n' instead on input line 87. so your qtm family is not available in bold. Jul 1, 2015 at 12:43

1 Answer 1

8

Your log-file says

LaTeX Font Info:    No file OT1qtm.fd. on input line 862.

LaTeX then falls back to cmr and so you are missing the bold font. The missing file is from the TeX-Gyre fonts. You will have to install them, or remove the code which change to this font, or add something like \usepackage{mathptmx} in your document to switch to another font.

3
  • I see. How can I install it? EDIT: I think that the problem is the package tgtermes, however I have the file tgtermes.sty in the same folder.
    – MagoNick
    Jul 1, 2015 at 13:07
  • The style it self is not enough. Check with the debian tool if there are packages that sounds as if they would install the texgyre fonts. (They are in texlive 2013). Jul 1, 2015 at 13:19
  • 1
    I had to install the tex-gyre package from the repositories sudo apt-get install tex-gyre. Now it works smoothly. Thanks
    – MagoNick
    Jul 1, 2015 at 13:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .