有人想在他们的文档中使用 Times New Roman 和 Arial 字体,包括 13pt 大小的版本。可以这样做吗?这是一个不起作用的 MWE:
% wordprob.tex SE 541134
\documentclass[12pt]{memoir}
\usepackage{mathptmx} % Times font
% for chapters
\renewcommand{\chapnamefont}{\Large\bfseries} % 17pt bold (but add Arial)
% for sections, etc
%\renewcommand{\setsecheadstyle}{\large\itshape\bfseries} % 14pt bold italic (but add Arial)
\renewcommand{\setsecheadstyle}{\large\itshape} % 14pt bold italic (but add Arial)
\setbeforesecskip{-12pt plus 1ex minus .2ex}
\setaftersecskip{12pt plus .2ex}
\renewcommand{\setsubsecheadstyle}{\normalsize\bfseries} % 13pt not usually supported (but add Arial)
\setbeforesubsecskip{-12pt plus 1ex minus .2ex}
\setaftersubsecskip{3pt plus .2ex}
% page numbering
\makepagestyle{wordprob}
\makeevenfoot{wordprob}{}{}{\thepage}
\makeoddfoot{wordprob}{}{}{\thepage}
\aliaspagestyle{chapter}{wordprob}
\usepackage{lipsum}
\begin{document}
\pagestyle{wordprob}
\chapter{First Chapter}
\lipsum[1]
\section{Section 1}
\lipsum[2-3]
\subsection{Subsection 1}
\lipsum[3-5]
\end{document}