3

I have a pdf document made in latex. I have to make a new document following the same template but I only have the pdf, not the source .tex file.

Some important words/sentences are "boldly emphasized" but I don't know which command I have to use to do this. (not with the \emph cmd)

Example

An example can be found in the image above (launchRiskEstimation, sensorData and receivedAt)

  • 3
    This is not bold but mono-spaced font. Try \texttt{<your text>} or {\ttfamily <your text>}. Welcome to TeX.SX! – Paul Gessler Mar 23 '14 at 19:47
  • 1
    And, when you do want bold, the command is \textbf. – twsh Mar 23 '14 at 19:48
  • 1
    Still, it would be great to make some “semantic” command like \emph, for instance \DeclareTextFontCommand\code{\ttfamily\mdseries\upshape}. – Manuel Mar 23 '14 at 20:43
  • @Manuel Can you make that an answer please? – Johannes_B Oct 5 '15 at 18:50
3

Still, it would be great to make some “semantic” command like \emph, for instance \DeclareTextFontCommand\code{\ttfamily\mdseries\upshape}, and then use \code{whatever}.

| improve this answer | |

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.