我正在做一个演示,但我不想使我的学习变得复杂beamer
,所以我使用article
模式landscape
。
如何在所有文档中使用更大的字体作为默认大小?
24 pt、36 pt 或者任何类似尺寸???
\documentclass[12pt,a4paper,x11names,landscape]{article}
\usepackage[top=2.5cm, left=3.5cm, bottom=2.5cm, right=2.5cm]{geometry} % Margenes de la normativa TFG
\usepackage{incgraph,mwe}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\begin{document}
\incgraph[paper=document][width=\paperwidth,height=\paperheight]{example-image-a.eps}
\Large{jei
dfddd
fd\begin{itemize}
\item fdfs
\item fdfdfddd
\item fdsfs
\end{itemize}
}
\end{document}
答案1
注意\Large{...}
是不正确的,该命令不接受参数,但是无论如何你都想要大于大:
\RequirePackage{fix-cm}
\documentclass[12pt,a4paper,x11names,landscape]{article}
\usepackage[top=2.5cm, left=3.5cm, bottom=2.5cm, right=2.5cm]{geometry} % Margenes de la normativa TFG
\usepackage{incgraph,mwe}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\begin{document}
\fontsize{2in}{2.5in}\selectfont
%\incgraph[paper=document][width=\paperwidth,height=\paperheight]{example-image-a.eps}
jei
dfddd
fd\begin{itemize}
\item fdfs
\item fdfdfddd
\item fdsfs
\end{itemize}
\end{document}
答案2
在默认设置下beamer
,实际上并不是字体大小变大了,而是纸张尺寸变小了。由于输出是以 PDF 格式查看的,并且适合查看器/屏幕,因此字体大小似乎非常大。
默认情况下,使用以下设置加载 4:3 的宽高比(导致横向视图)beamer.cls
:
\usepackage[%
papersize={12.8cm,9.6cm},
hmargin=1cm,%
vmargin=0cm,%
head=0.5cm,% might be changed later
headsep=0pt,%
foot=0.5cm% might be changed later
]{geometry}
以下是对您的 MWE 的看法,其调整与上述类似:
\documentclass[12pt,x11names]{article}
%\usepackage[top=2.5cm, left=3.5cm, bottom=2.5cm, right=2.5cm]{geometry} % Margenes de la normativa TFG
\usepackage[%
papersize={12.8cm,9.6cm},
hmargin=1cm,%
vmargin=1cm,%
head=0.5cm,% might be changed later
headsep=0pt,%
foot=0.5cm% might be changed later
]{geometry}
\usepackage{incgraph,mwe}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\incgraph[paper=document][width=\paperwidth,height=\paperheight]{example-image}
jei
dfddd
fd
\begin{itemize}
\item fdfs
\item fdfdfddd
\item fdsfs
\end{itemize}
\end{document}