我\defaultfontfeatures{PunctuationSpace=1.5}
设置了句子之间的空格(如果我理解正确的话,设置为 1.5 * 单词间距)。如果没有以标点符号结尾的句子,我该如何手动插入这个空格?例如,这种情况会发生\textquote[p.\,2}{This is a special quote.}
?在文本中,它以“(p.2)”结尾,后跟单词间距,而我想要句子之间的空格。
我需要一个像 , 这样的长度\PunctuationSpace
,用于引号等之后(\hspace{1\PunctuationSpace}
)。
% -*- mode: latex; TeX-engine: luatex; coding: utf-8; -*-
\documentclass[ngerman]{scrartcl}
\usepackage[main=ngerman,UKenglish,french]{babel}
\usepackage[style=german,german=guillemets]{csquotes}
\usepackage{luatextra}
\defaultfontfeatures[\rmfamily,\sffamily,\ttfamily]{PunctuationSpace=1.5,%
Ligatures={TeX,Common}}
\usepackage{microtype}
\begin{document}
\nonfrenchspacing
blablablablablabla \textquote[S.\,2]{This is a very special sentence, quoted from \textit{Special Sentences}.}
\end{document}
答案1
它保存在\fontdimen7\font
:
\listfiles
\documentclass[12pt]{article}
\usepackage[english]{babel}
\usepackage{csquotes}
\begin{document}
Some nonsense words
\textquote[p.\,2]{This is a special quote.}
Some nonsense.
Some nonsense words
\textquote[p.\,2]{This is a special quote.}\hspace{\fontdimen7\font}
Some nonsense.
\end{document}