So I have a main.tex that looks like this:

\usepackage[danish, english]{babel}


\renewcommand{\@chapapp}{}% Not necessary...
   \parshape 1 \@tempdima \dimexpr\textwidth-2\@tempdima\relax%
  {\par\normalfont\hfill--\ \chapquote@author\hspace*{\@tempdima}\par\bigskip}

\title{\Huge \textbf{De Maskerede}}





And my post.tex file looks like this:

hi this is \textbf{bold}

When I do a \textbf inside the main.tex it works (like the \title), but when I do a \textbf in one of the input files (like \input{Prolog/Post.tex}), it does not work. I can't figure out the reason why.

Best regards Niklas

  • 1
    Welcome to TeX.SE! Currently your question is difficult to answer, because we don't know the contents of your Post.tex file. Other relevant information that changes the behavior of your document may be inside commands.tex, which is also unknown. It would therefore be helpful if you could either provide the contents of those files, but even better if you could reduce the code of those files and your main file to the minimum code that still reproduces the issue, and edit your question to show this minimal code.
    – Marijn
    Jan 8, 2021 at 9:27
  • 1
    Hi, thanks for your reply. I have removed the commands.tex and tried just a simple line in the post.tex - I have tried removing the irrelevant stuff
    – Niklas
    Jan 8, 2021 at 9:39
  • You can replace that \input with just the contents of that file, it does not make any difference
    – daleif
    Jan 8, 2021 at 9:44
  • 2
    There is no font family called times as you will see from the log. Additionally, if the base language here is suppose to be danish then make sure it is loaded as the last option to babel not the first
    – daleif
    Jan 8, 2021 at 9:47
  • 1
    @Niklas you get them on Overleaf as well. Open the log file and have a look.
    – cgnieder
    Jan 8, 2021 at 10:04

1 Answer 1


You can reproduce exactly the same issue with the following minimal example.







Upon running LaTeX on it, you'll be greeted with some warnings:

LaTeX Font Warning: Font shape `OT1/times/m/n' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 5.

LaTeX Font Warning: Font shape `OT1/times/b/n' undefined
(Font)              using `OT1/times/m/n' instead on input line 7.

LaTeX Font Warning: Font shape `OT1/times/m/it' undefined
(Font)              using `OT1/times/m/n' instead on input line 9.

The first one means that LaTeX doesn't know about a times font family and does the default substitution for it, namely with the cmr font family.

The other two warnings are related to the same issue. LaTeX has defined a font corresponding to OT1/times/m/n but just as an alias to a fixed substitution font and hasn't set up the whole font family, because it knows nothing about it. So the subsequent font substitutions can only point to the only known font.

If you want to typeset your document in a Times clone, add


to your document preamble.

You must log in to answer this question.

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