问:如何\textsc
在 ACM 文档的章节标题中适当使用?
我想在 ACM 文档的章节标题中使用\textsc
,但效果不佳。以下是“Lorem ipsum”版本:
\textbf{\textsc{...}}
如果我尝试使用或修复它\textsc{\textbf{...}}
,它仍然看起来不是特别有吸引力,甚至摆脱了小节中的小写字母:
.cls 文件可用这里,这是我的 LaTeX 文件:
\documentclass{acm_proc_article-sp}
\begin{document}
\section{Lorem \textsc{ipsum}}
\subsection{Lorem ipsum \textsc{dolor} sit \textsc{Amet}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas congue nisi justo, sed volutpat est convallis a. Aenean ultrices sed est quis tempor. Pellentesque eget iaculis risus. Nullam et lacus a justo interdum interdum at in neque. Phasellus eget lectus vitae purus posuere pellentesque. Phasellus ut fringilla lectus. Fusce maximus leo accumsan lorem posuere tempus.
\end{document}
答案1
该类定义文档各个部分的字体的方式如下:
\newfont{\secfnt}{ptmb8t at 12pt}
\newfont{\secit}{ptmbi8t at 12pt} %13 Jan 00 gkmt
\newfont{\subsecfnt}{ptmri8t at 11pt}
\newfont{\subsecit}{ptmbi8t at 11pt} %
\newfont{\ttlfnt}{phvb8t at 18pt}
\newfont{\ttlit}{phvbo8t at 18pt} % GM 2/4/2000
\newfont{\subttlfnt}{phvr8t at 14pt}
\newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
\newfont{\subttlbf}{phvb8t at 14pt} % 13 Jan 00 gkmt
\newfont{\aufnt}{phvr8t at 12pt}
\newfont{\auit}{phvro8t at 12pt} % GM 2/4/2000
\newfont{\affaddr}{phvr8t at 10pt}
\newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
\newfont{\eaddfnt}{phvr8t at 12pt}
\newfont{\ixpt}{ptmr8t at 9pt}
\newfont{\confname}{ptmri8t at 8pt}
\newfont{\crnotice}{ptmr8t at 8pt}
\newfont{\ninept}{ptmr8t at 9pt}
这是非常错误的,我为在年轻或敏感的观众也能够看到的地方展示此代码而道歉。;-)
你可以修复这个可耻的代码:
\documentclass{acm_proc_article-sp}
\usepackage{tgtermes}
\usepackage[scale=.9]{tgheros}
\renewcommand{\secfnt}{\bfseries\large}
\renewcommand{\secit}{\bfseries\itshape\large}
\renewcommand{\subsecfnt}{\itshape\large}
\renewcommand{\subsecit}{\bfseries\itshape\large}
\renewcommand{\ttlfnt}{\sffamily\bfseries\LARGE}
\renewcommand{\ttlit}{\sffamily\bfseries\slshape\LARGE}
\renewcommand{\subttlfnt}{\sffamily\Large}
\renewcommand{\subttlit}{\sffamily\slshape\Large}
\renewcommand{\subttlbf}{\sffamily\bfseries\Large}
\renewcommand{\aufnt}{\sffamily\large}
\renewcommand{\auit}{\sffamily\slshape\large}
\renewcommand{\affaddr}{\sffamily}
\renewcommand{\affaddrit}{\sffamily\slshape}
\renewcommand{\eaddfnt}{\sffamily\large}
\renewcommand{\ixpt}{\small}
\renewcommand{\confname}{\itshape\scriptsize}
\renewcommand{\crnotice}{\scriptsize}
\renewcommand{\ninept}{\small}
\begin{document}
\section{Lorem \textsc{ipsum}}
\subsection{Lorem ipsum \textsc{dolor} sit \textsc{Amet}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas congue nisi justo, sed
volutpat est convallis a. Aenean ultrices sed est quis tempor. Pellentesque eget iaculis
risus. Nullam et lacus a justo interdum interdum at in neque. Phasellus eget lectus vitae
purus posuere pellentesque. Phasellus ut fringilla lectus. Fusce maximus leo accumsan lorem
posuere tempus.
\end{document}
然而,我想负责接收会议稿件的人不会对此感到高兴。