Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm faced with the following problem: given two references on the same line, I would like one to appear in regular shape, but the other to appear in italics. For instance:

...a similar effect was observed by \ref{abc}, but also in \ref{def} where...

the reference "abc" should appear as regular, but the reference "def" should appear in italics. How could this be achieved?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Does \textit{...} not work for you?

\section{Hello World}
\subsection{Subsection ABC}
\subsection{Subsection DEF}
Normal reference \ref{abc} and reference \textit{\ref{def}} in italics.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.