You can use the \fontsize{size}{skip} command, where size is your desired fontsize, and skip is the distance between lines (multiplied by baselineskip). For the new fontsize to take effect, you need to follow this command with \selectfont.
See LaTeX - Changing the FontSize. You can surround your text in begin...end blocks for the specific size, or you can surround your text with braces where you place the size immediately after the brace. Example:
TeX 中的大括号控制范围一样,就像其他地方一样,正如 Michael 所指出的,因此您可以用 {\Large } 包围整个文档,但是当您只能使用时,这有点愚蠢文档类的选项如上所述。
另一种可能性是定义您自己的样式文件或文档类。 LaTeX 就是为此而构建的,所以尝试一下吧。
You can designate font size as an option to most documentclasses, as in
\documentclass[letterpaper, **11pt**]{article}
Braces control scoping in TeX, just like elsewhere, as Michael indicated, so you can surround the whole document with {\Large }, but that's kinda silly when you can just use the option to the documentclass as above.
Another possibility is defining your own style file or documentclass. LaTeX is built for it, so give it a try.
发布评论
评论(5)
您可以使用
\fontsize{size}{skip}
命令,其中size是您想要的字体大小,skip是行之间的距离(乘以baselineskip)。为了使新的字体大小生效,您需要使用
\selectfont
执行此命令。这里提出了类似的问题:how to set LaTeX font size in mm?
You can use the
\fontsize{size}{skip}
command, where size is your desired fontsize, and skip is the distance between lines (multiplied by baselineskip).For the new fontsize to take effect, you need to follow this command with
\selectfont
.A similar question has been asked here: how to set LaTeX font size in millimeter?
请参阅 LaTeX - 更改字体大小。您可以将文本包围在特定大小的开始...结束块中,也可以用大括号包围文本,将大小直接放在大括号之后。示例:
或者,使用大括号:
See LaTeX - Changing the FontSize. You can surround your text in begin...end blocks for the specific size, or you can surround your text with braces where you place the size immediately after the brace. Example:
Or, using the braces:
使用任何比例。例如,写入
并获取比例 90% 或写入
并获取比例 144%。
Use any scale. For example, write
and get scale 90% or write
and get scale 144%.
未经测试,但如果您想覆盖文档类使用的大小选项,这可能会起作用:
当然,选择文档类支持的大小选项,并用您的工具生成的类替换文章。
Untested, but this might work, if you want to overwrite which size option the document class uses:
Of course, pick a size option that is supported by the document class, and replace article by the class your tool generates.
您可以将字体大小指定为大多数文档类的选项,就像
TeX 中的大括号控制范围一样,就像其他地方一样,正如 Michael 所指出的,因此您可以用 {\Large } 包围整个文档,但是当您只能使用时,这有点愚蠢文档类的选项如上所述。
另一种可能性是定义您自己的样式文件或文档类。 LaTeX 就是为此而构建的,所以尝试一下吧。
You can designate font size as an option to most documentclasses, as in
Braces control scoping in TeX, just like elsewhere, as Michael indicated, so you can surround the whole document with {\Large }, but that's kinda silly when you can just use the option to the documentclass as above.
Another possibility is defining your own style file or documentclass. LaTeX is built for it, so give it a try.