Take the 2-minute tour ×
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 would like to get this result:

enter image description here

I currently use this piece to get the result:

\glqq{\textit{Analysis II}}\grqq{}

Can I create a single command like the following to get the desired result?

\quoteitalic{Analysis II}
share|improve this question
    
\glqq should be also used as \glqq{} or \glqq\textit{#1} because it doesn't have a parameter. –  Qrrbrbirlbel Jul 25 '12 at 18:46
14  
There is also the csquotes package. –  canaaerus Jul 25 '12 at 18:53
add comment

1 Answer 1

up vote 7 down vote accepted

You can use:

 \newcommand{\quoteitalic}[1]{\glqq\textit{#1}\grqq}

enter image description here

Notes:

  • As Qrrbrbirlbel commented, \glqq does not have a parameter, so I have corrected the definition of the \quoteitalic macro.

Code:

\documentclass{article}
\usepackage[english]{babel}

\newcommand{\quoteitalic}[1]{\glqq\textit{#1}\grqq}

\begin{document}
\glqq{\textit{Analysis II}}\grqq{}

\quoteitalic{Analysis II}
\end{document}
share|improve this answer
add comment

Your Answer

 
discard

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.