
有沒有辦法使用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}.