0

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.

leandriis
  • 62,593
ZYX
  • 123
  • 5
  • (1) welcome, (2) how is this related to latex3? (3) I'd use \emph because then the emphasize also works in an italic context, \textit in an italic context is jut italic, thus you cannot see it. – daleif Dec 22 '17 at 10:49
  • Related: https://tex.stackexchange.com/q/1980/134144 – leandriis Dec 22 '17 at 10:51
  • \textit is physically formatting ("make it italic") and \emph is a logical formatting ("put emphasis on this text"). Now \emph uses \textit inside normal text, but this could be changed by a class or style. Also \emph inside \emph works will: the second one makes the text normal again to highlight it in the outer text. So, if you really want something italic use the first one, if you want to highlight something use \emph. – Martin Scharrer Dec 22 '17 at 11:02
  • I'm closing our question now, because it was already beeing asked. Please see the above linked question thread which will answer your question. – Martin Scharrer Dec 22 '17 at 11:04
  • @ZYX What you want is to mark something? Well, define a macro, and you will have clearer code and you can worry later if you want to change hte definition \newcommand*\markdefinition[1]{\emph{#1}} (finding a good name for the command is an art, you might like \dfntn{..} more than \markdefinition{..} or whatever. – Manuel Dec 22 '17 at 11:07
  • I see that it is the private issue. – ZYX Dec 22 '17 at 11:08
  • I write an article and there are definitions. All editors want to mark definitions. So I asked. – ZYX Dec 22 '17 at 11:09
  • Martin Scharrer do not inflate so much :) It is not the same question. He does not know differences. – ZYX Dec 22 '17 at 11:12

0 Answers0