規模舞者字體

規模舞者字體

我想dancers在 中使用字體beamer。我已經轉換了烏爾里克的回答將舞者與 Miktex 一起使用到命令中,我可以編寫我想要的文本,但我不知道如何使其更大。

我可以使用\resizebox,但結果不太好。

你能幫助我嗎?

\documentclass{beamer}

\newcommand{\dancers}[1]{%
    \DeclareFontFamily{OT1}{dancers}{}
    \DeclareFontShape{OT1}{dancers}{m}{n}{<-> dancers}{}
    \usefont{OT1}{dancers}{m}{n}\spaceskip=5pt
    #1}

\begin{document}
\begin{frame}
\centering
\dancers{e~x~a~m~p~l~e}
\end{frame}
\end{document}

在此輸入影像描述

答案1

您可以這樣嘗試:尋找dancers.mf(在 fonts/source/public 中),在某些本機 texmf 中複製fonts/source/...並命名為 例如dancers20.mf。更新 fndb。在編輯器中開啟 mf 並dancers20.mf像這樣更改 mg 變量

mg:=2.0;    % CHANGE THIS TO GET DIFFERENT SIZES OF FONT (font size = 33*mg pt)

然後像這樣設定你的文檔

\documentclass{beamer}
\DeclareFontFamily{OT1}{dancers}{}
\DeclareFontShape{OT1}{dancers}{m}{n}{<-15> dancers <15-> dancers20}{}

\newcommand{\dancers}[1]{{%
    \usefont{OT1}{dancers}{m}{n}\spaceskip=5pt
    #1}}

\begin{document}
\begin{frame}
\centering
\dancers{e~x~a~m~p~l~e}  \Huge \dancers{e~x~a~m~p~l~e}


\end{frame}
\end{document}

在此輸入影像描述

相關內容