Questions tagged [emphasis]

This tag is used for questions that are related to placing emphasis at certain points in a document by changing font face, shape, weight, or other properties in order to render the objects distinguishable from the surrounding context.

140 questions
106
votes
5 answers

What is the difference between \em and \emph?

What is the difference between \emph{...} and {\em ...}? When to use each of them?
jutky
  • 2,017
8
votes
1 answer

Should the p in p-value (probability value) use the math environment or \emph{}?

I usually use $p$-value but I was wondering if \emph{p}-value is the recommended way to typeset terms with a one or more italicized character? (Edit: Similar cases include t-test, t-statistic and t-distribution where the italicized character may…
Chris
  • 311
6
votes
1 answer

Stop a bitwise-or in \emph from becoming a dash

I want to use a "|" in my \emph{}, like \emph{"Yes"|"No"}, but it changes the | to a --. How do I stop this from happening?
sparticvs
  • 163
4
votes
1 answer

Make \emph{} look like Stackoverflow highlighting

How can I make \emph{} look exaclty like this StackExchange highlighting. I like the highlighting from StackExchange forum family and would like to use it in my Latex document. Sorry I can't put my question into words, so I can't google it myself.
Johannes
  • 199
2
votes
0 answers

Italicize all text in the body matching a pattern

Possible Duplicate: Is it possible to have certain words in the document always in bold? I have some old papers with a lot of references in it. I am converting them into LaTeX PDFs. I am not using any citation package here to style the references…
sriramn
  • 605
1
vote
2 answers

Highlight text with math signs

I need to highlight some text with the command \emph whose content is "valeurAop += analogRead(mesure_aop)" : the compilation gives me an error, I think it is due to the mathematical symbols. I tried \emph{opvalue} $+= $ \emph{analogRead…
Nicolas
  • 1,023
1
vote
0 answers

Clean way of italicizing whole preface with \emph inside (which will de-italicize)

I would like to set a part of the LaTeX document in italics but with using \emph{...} for emphasizing inside. This is easy to do within single paragraph where \emph can be easily nested. But since \text@command is not \long, it does not extend to…
eudoxos
  • 2,973
0
votes
0 answers

Text definitions - \textit or \emph?

If I want mark definition in text, should I use \textit or \emph. For example: A \textit{graph} is ... I know, it is not the same.
ZYX
  • 123
  • 5
0
votes
0 answers

How do I mark text as never to be emphasized?

An \emph inside another cancels the emphasis. But what if I want to make sure something is never emphasized, even if the surrounding emphasis is removed? \textrm doesn't turn off ItalicFeatures defined for the font family.
Toothrot
  • 3,346