我想引用一行中的句子并将其设置为斜体,例如“bla bla bla”,并且引号内的文本将变为斜体。该怎么做?
答案1
这个解决方案只是对包选项english
的适应babel
此解决方案作者乌尔丽克·菲舍尔。
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{csquotes}
%Beginning of the interresting part
\DeclareQuoteStyle[american]{english}
{\itshape\textquotedblleft}
[\textquotedblleft]
{\textquotedblright}
[0.05em]
{\textquoteleft}
{\textquoteright}
%End of the interresting part
\begin{document}
I want to say: \enquote{Hello world!}, but I'm a bit shy, so I wrote it down.
\end{document}