我正在寻找更改字体的示例一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$};
也是可能的。