![更改文档部分内容的字体](https://linux22.com/image/291922/%E6%9B%B4%E6%94%B9%E6%96%87%E6%A1%A3%E9%83%A8%E5%88%86%E5%86%85%E5%AE%B9%E7%9A%84%E5%AD%97%E4%BD%93.png)
我正在寻找更改字体的示例一TikZ 节点(如图所示)。我试过了,[font=\augie]
但问题很大一部分是我无法找到如何在文档中加载字体。MWE 是:
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node at (current page.center) [font=\augie] {$2+2=4$};
\end{tikzpicture}
\end{document}
答案1
augie
仅是一种文本字体:
\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{positioning}
\def\augie{\fontencoding{T1}\fontfamily{augie}\selectfont}
\begin{document}
\begin{tikzpicture}
\node at (current page.center) {\augie foo $2+2=4$};
\end{tikzpicture}
\end{document}
\node at (current page.center) [font=\augie]{ foo $2+2=4$};
也是可能的。