有没有办法使用 TexStudio 设置字体 Arial 和字体大小 8.5pt?哪个文档类可以应用字体大小 8.5pt?
答案1
这scrartcl
类可以与任何字体一起使用,但您必须使用 XeLaTeX 或 LuaLaTeX:
\documentclass[fontsize=8.5pt,DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont{Arial}
\begin{document}
This should be in 8.5pt font.
\end{document}
答案2
你可以试试:
% The command below will automatically compile your document with XeLaTeX, which is needed if you want to use Arial or any font which is installed on your system.
% !TeX program = xelatex
\documentclass{article}
\usepackage{fontspec} % Needed to run XeLaTeX
\usepackage{lipsum} % (Use for dummy (Lorem ipsum) text
\setmainfont{Arial}
\usepackage[9pt]{extsizes} % The sizes available are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, and 20pt
\begin{document}
\lipsum[1]
\end{document}.