![如何设置标准的名称或者标准元件的名称?](https://linux22.com/image/330209/%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E6%A0%87%E5%87%86%E7%9A%84%E5%90%8D%E7%A7%B0%E6%88%96%E8%80%85%E6%A0%87%E5%87%86%E5%85%83%E4%BB%B6%E7%9A%84%E5%90%8D%E7%A7%B0%EF%BC%9F.png)
有时我会使用标准名称,例如“DIN 103”。以纯文本形式输入名称会使其看起来不好看。您有什么建议或经验吗?您能推荐一种通用的、使其看起来不错的方法吗?您能推荐一种特定的 LaTeX 标准字体吗?
到目前为止,我只是调整了空格:DIN\,EN\,13001-3
但是,有时数字比大写字母还小。
相关问题:您对设置标准组件名称有什么建议吗,例如“Tr110x12”?到目前为止,我正在使用Tr\,110x12
它,但有时看起来很局促。
编辑:现在,我决定使用
\newcommand{\std}[1]{{\fontfamily{pag}\selectfont\footnotesize\textbf{#1}}}%
...
\std{DIN\,103}
我从本帖和其他来源的答案中整理出了这个解决方案。我喜欢它,原因如下:
标准名称看起来有所不同,但并不太“突出”。
数字和字母具有相同的高度。
它的可读性很好。
但是,字体不是标准字体(例如 ISO 3098)。而且解决方案并非在任何情况下都看起来都很好。也许随着时间的推移,这个主题中会出现更多的想法或答案。
答案1
从维基百科
小型大写字母通常用于全部大写的文本部分;这使得大写字母的排列对读者来说不那么刺眼。
同样对于数字参见旧式人物
\documentclass[twocolumn]{article}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\begin{document}
Sometimes I am using names of standards, such as DIN 103.
Typing the name in plain text can make it look ugly.
Do you have any advice or experience?
Can you recommend a generic way that makes DIN EN 13001-3 look good?
Can you recommend a particular LaTeX standard font?
So far, I have been only adjusting spaces: DIN EN 13001-3
However, sometimes the numbers are smaller than the capital letters.
Related question: Do you have recommendations for setting names
of standard components, e.g. TR110x12?
So far, I am using Tr 110x12 but it sometimes looks cramped.
\bigskip
Sometimes I am using names of standards, such as \textsc{din 103}.
Typing the name in plain text can make it look ugly.
Do you have any advice or experience?
Can you recommend a generic way that makes \textsc{din en 13001-3} look good?
Can you recommend a particular \textsc{latex} standard font?
So far, I have been only adjusting spaces: \textsc{din en 13001-3}
However, sometimes the numbers are smaller than the capital letters.
Related question: Do you have recommendations for setting names
of standard components, e.g. \textsc{tr 110x12}?
So far, I am using \textsc{tr 110x12} but it sometimes looks cramped.
\end{document}
答案2
像这样吗?
\documentclass[8pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{microtype}
\newfontfamily\csa{Dekar}
\newcommand{\abc}[1]{%
%
\begingroup\csa\footnotesize\textls[130]{#1}%
\endgroup}
\begin{document}
Hello Kitty \abc{DIN 103} by Sanrio.
\end{document}
和相关的,请参阅这个精彩的答案:分组和未定义的控制序列错误