直立 [...] 斜体引文

直立 [...] 斜体引文

我已经配置了csquotes以斜体显示引文,但我希望输出结果\textelp符合\textnormal要求。我该如何实现?

我以为只需包装一下就很容易了,但它产生了我无法解释的\textelp杂散。[]

例子

梅威瑟:

\documentclass{article}

\usepackage{csquotes}
\DeclareQuoteStyle[meide]{danish}
  {\itshape\quotedblbase}
  {\textquotedblleft}
  [0.05em]
  {\normalfont\guillemotright}
  {\guillemotleft}
\setquotestyle[meide]{danish}

\newcommand\ellision{%
    \textnormal\textelp{}%
}

\begin{document}

\enquote{abc abc abc \textelp{} abc abc abc} % the [...] is in italics

\enquote{abc abc abc \ellision{} abc abc abc} % the [...] is followed by empty brackets

\enquote{abc abc abc {\textnormal\textelp{}} abc abc abc} % same

\end{document}

答案1

\textnormal接受一个参数,所以你应该写

\textnormal{\textelp{}}

反而。

示例输出

\documentclass{article}

\usepackage{csquotes}
\DeclareQuoteStyle[meide]{danish}
  {\itshape\quotedblbase}
  {\textquotedblleft}
  [0.05em]
  {\normalfont\guillemotright}
  {\guillemotleft}
\setquotestyle[meide]{danish}

\newcommand\ellision{%
    \textnormal{\textelp{}}%
}

\begin{document}

\enquote{abc abc abc \textelp{} abc abc abc} % the [...] is in italics

\enquote{abc abc abc \ellision{} abc abc abc} % the [...] is followed by empty brackets

\enquote{abc abc abc {\textnormal{\textelp{}}} abc abc abc} % same


\end{document}

相关内容