如何减少“

如何减少“

喂食

\documentclass{article}
\pagestyle{empty}
%\usepackage[slantedGreek,subscriptcorrection]{newtx}% this is what I use with many of other packages in a non-minimal example.
%% Text skips with glue being half of the value of the argument (cf. http://tex.stackexchange.com/q/657443, http://tex.stackexchange.com/a/657448, and http://tex.stackexchange.com/a/672701):
\newcommand{\flexibleHSkip}[1]{%
  \hskip#1
  plus.5\dimexpr\ifdim #1<0pt -\fi#1\relax
  minus.5\dimexpr\ifdim #1<0pt -\fi#1\relax
  \relax
}
\begin{document}\noindent
Consider the set \(Y\). Let \ldots\\
Consider the set \(Y\)\flexibleHSkip{-.1em}. \flexibleHSkip{.1em}Let \ldots\\
Consider the set \(Y\)\flexibleHSkip{-.1em}.\flexibleHSkip{.1em} Let \ldots\\
Consider the set \(Y\), and let \ldots\\
Consider the set \(Y\)\flexibleHSkip{-.1em}, \flexibleHSkip{.1em}and let \ldots\\
Consider the set \(Y\)\flexibleHSkip{-.1em},\flexibleHSkip{.1em} and let \ldots
\end{document}

产量pdflatex

使用 Computer Modern 输出

使用标准字体 (Computer Modern) 和

使用 NewTX 输出

使用 NewTX。减少空格的版本

答案1

我只需将其拉.入数学,它就会从 mathrm 字体中取出,并允许字体指定的字距生效。

在此处输入图片描述

\documentclass{article}

\begin{document}

$Y$. ABC

$Y.$ ABC


\end{document}

相关内容