I heard I there are several commands for making text italic in order to emphasize it.

Which one should I use in which situation?

This question is marked "community wiki".

asked 01 Feb, 10:23

Community's gravatar image

Community
372
accept rate: 0%


Those are very different commands even if the output happens to look the same.

  • If you want to emphasize a word or some text, use \emph. Don't just make the text italic or bold. If needed, you may change the behaviour of \emph whenever you wish in the preamble and the whole document will be adjusted accordingly.

  • If you want to get italic text, use \textit. \emph might have a different effect, a package like ulem might change it to underlining for instance.

  • \emph may be nested: emphasized text within emphasized text may be upright. In contrary, nesting \textit just keeps the italic shape.

  • Further, I rarely use physical font commands in my body text. I use them to define styles in the preamble and use the styles in the document afterwards, ensuring consistency and allowing changes to be easily made.

I originally wrote this text on TeX.SE and share it here.

permanent link

answered 01 Feb, 10:24

stefan's gravatar image

stefan ♦♦
862
accept rate: 42%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1
×1
×1

question asked: 01 Feb, 10:23

question was seen: 328 times

last updated: 01 Feb, 10:24

Related questions