I use a TexMaker for creation of my report. But when I look the created pdf-file, there is no bold text. How to fix this?

\bfseries{Lorem ipsum dolor} \textit{sit amet}, consectetuer adipiscing elit.


enter image description here

\documentclass[a4paper, 14pt]{extreport} 

\usepackage{amssymb,amsfonts,amsmath,mathtext,cite,enumerate,float, mathtext} 
\usepackage[demo]{graphicx} %pdftex
\usepackage[format=hang, figurename=Малюнак, tablename=Табліца , labelfont=bf,tableposition=top, labelsep=space, singlelinecheck=false]{caption}





    {\centerline{СПІС ВЫКАРЫСТАНЫХ КРЫНІЦ}}  


\DeclareCaptionLabelSeparator{ddd}{ -- }
\captionsetup[table]{labelsep=ddd, justification=raggedright, font=normalsize, margin={-0.0cm, 0pt},
\captionsetup[tabularx]{labelsep=ddd, justification=raggedright, font=normalsize, margin={-0.0cm, 0pt},
\captionsetup[longtable]{labelsep=ddd, justification=raggedright, font=normalsize , margin={-0.0cm, 0cm},
\captionsetup[figure]{justification=centering,labelsep=ddd, font=normalsize}














  • 2
    Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. Jun 4, 2012 at 17:13
  • 1
    Did you use the command \textbf or \bfseries? Jun 4, 2012 at 17:14
  • @MarcoDaniel yes, of course
    – mark
    Jun 4, 2012 at 17:15
  • Where does \fontfamily{times-ttf} come from? It's highly non standard.
    – egreg
    Jun 4, 2012 at 17:32
  • It is used for font-family set Times New Roman. I removed it, but all the same the text in pdf didn't change.
    – mark
    Jun 4, 2012 at 17:40

1 Answer 1


Your code snippet isn't very useful. I tried the following minimal working example:


\bfseries{Lorem ipsum dolor} \textit{sit amet}, consectetuer adipiscing elit.

Which results in enter image description here

Please note the command \bfseries has no argument. \bfseries will set the whole text in bold until the current group is closed. On the other hand the command \textbf has an mandatory argument. The command \textbf will print the mandatory argument in bold.

I looked to your log file. I think you should do this too. There are lots of warnings. One of them is:

LaTeX Font Warning: Font shape `T2A/ptm/bx/it' undefined
(Font)              using `T2A/ptm/bx/n' instead on input line 1.

That means the combination with the encoding T2A the font family ptm (Times) with the series bx (bold extended) and the font shape it (itshape) isn't available. So you have to use a font which can use such a combination.

  • but i need extreport class
    – mark
    Jun 4, 2012 at 18:54
  • @mark: that makes no difference
    – user2478
    Jun 4, 2012 at 18:56
  • @mark: The my update. Jun 4, 2012 at 19:12
  • 1
    @MarcoDaniel I'm wondering: Is this question too localized, or should it be renamed to something along the lines of bold in ptm's T2A encoding doesn't work (which essentially seems to be the problem) and the MWE trimmed down a lot? Someone googling "bold text in pdf" probably won't find the kind of information here that they're looking for. (Hence, it probably should be renamed either way.)
    – doncherry
    Jun 4, 2012 at 23:37
  • @doncherry: I think this question need the headline -- I can't understand the warning XY. -- to localized with the current header will be the correct choice. Jun 5, 2012 at 17:22

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.