我正准备用 Charter 字体打印手稿,但斜体字母五那个字体让我很困扰,因为它太相似了\nu
。我想使用不同的字体,但是仅有的为了垂直、水平、垂直(有可能G,如果有的话)。我正在寻找以下方面的建议:
哪种字体可以与 Charter 很好地融合并提供更好的形状垂直、水平、垂直
我需要在序言中添加什么样的咒语才能让这些字母发生转换
答案1
\makeatletter
您好,在和之间使用下面的编码\makeatother
。
您可以更改特定字符的任何字体,例如 v、w、y ... 要更改字体,现在我使用的是 minion 字体,如果您想要 times 字体,请使用
ptm
而不是pmn
。这样您就可以更改为任何字体。
\documentclass{article}
\makeatletter
\DeclareSymbolFont{alphabets}{\encodingdefault}{pmn}{m}{it}
\SetSymbolFont{alphabets}{normal}{\encodingdefault}{pmn}{m}{it}
\SetSymbolFont{alphabets}{bold}{\encodingdefault}{pmn}{b}{it}
\DeclareMathSymbol{v}{\mathalpha}{alphabets}{"76}
\DeclareMathSymbol{w}{\mathalpha}{alphabets}{"77}
\DeclareMathSymbol{y}{\mathalpha}{alphabets}{"79}
\makeatother
\begin{document}
Stencils are an effective approach solving the wave equation in
the time domain. Memory bandwidth, not hardware threads, can
easily become the limiting resource if the stencil is parallelized
in the obvious way, because the arithmetic intensity will be low.
Caches ameliorate the problem somewhat, though greater gains can
be obtained by tiling. The problem is a stencil pattern in space
and recurrence pattern in time, so the tiles have a trapezoidal
shape in space--time. The slopes of the sides relate to the
stencil dimensions. Tiling recursively enables a cache-oblivious
algorithm, which optimizes for all possible levels and sizes of
cache while being oblivious to which really exist. Because the
resulting code uses cache more efficiently, it often runs faster,
even when run with a single thread, than the original serial code
runs. $v$ and $w$ and $y$.
\end{document}