
Tengo un estudiante con problemas de visión que necesita diapositivas de clase ampliadas para poder leerlas. Anteriormente, el estudiante había hecho esto manualmente, pero pensé que sería posible obtener resultados satisfactorios para las diapositivas generadas con látex cambiando solo el preámbulo. Conseguí que la mayor parte del texto se ajustara bien, pero hay cuatro puntos en los que podría necesitar ayuda:
- No pude reducir
\topsep
y\itemsep
deitemize
yenumerate
el medio ambiente. Lo intentéeste método, pero no pareció funcionar; vea abajo. - A veces el texto simplemente se extiende hasta el margen. Soy consciente de que esto es una consecuencia de que exigí que el desglose esté justificado, pero creo que debería ser posible tener texto justificado así como texto que no se extienda al margen, ¿quizás usando penalizaciones? yo examinéesta lista de sanciones, pero no pude encontrar uno que pareciera relevante.
- Las fórmulas suelen extenderse más allá del ancho del marco. Si las fórmulas son particularmente cortas, suelo combinarlas horizontalmente como se muestra a continuación para ahorrar espacio. El
breqn
paquete no parece ayudar. - ¿Es posible escalar todas las imágenes tikz y todos los gráficos incluidos automáticamente mediante un factor establecido? Tenga en cuenta que es posible que ya estén escaladas para la versión normal de las diapositivas.
Estoy usando el hermoso metropolis
tema para mis diapositivas habituales si eso es relevante. Soy consciente de que \let\raggedright\justifying
es una forma extremadamente complicada de justificar todo en Beamer. Pero con las 10pt
opciones del proyector funciona muy bien y se ve mejor.
\documentclass[14pt, handout]{beamer}
\usepackage{ragged2e, tikz, graphicx, breqn}
\usetheme[outer/progressbar=foot]{metropolis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Relevant line in regular preamble
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let\raggedright\justifying
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Changes for Visibility
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Maximize contrast
\setbeamercolor{normal text}{fg=black, bg=white}
\setbeamercolor{structure}{fg=black, bg=white}
\setbeamercolor{frametitle}{fg=black, bg=white}
% Reducing white space
\setbeamersize{text margin left=4mm,text margin right=4mm}
\let\bigskip\smallskip
\let\medskip\smallskip
\setbeamerfont{frametitle}{size=\normalsize}
\setbeamerfont{footnote}{size=\normalsize}
\setbeamertemplate{frametitle}
{
\vspace{0.4mm}
\begin{beamercolorbox}{frametitle}
\insertframetitle
\end{beamercolorbox}
\vspace{-3.2mm}
\hrulefill
\vspace{-1mm}
}
% Change spacing of itemize environment
\setlength{\leftmargini}{1.2em}
\setlength{\leftmarginii}{1.2em}
\setlength{\labelsep}{0.2em}
\setbeamertemplate{itemize items}{\hspace{-2pt}$\bullet$\hspace{2pt}}
\makeatletter
\patchcmd{\@listi}{\itemsep3\p@}{\itemsep-2cm}{}{}
\patchcmd{\@listi}{\topsep3\p@}{\topsep-3mm}{}{}
\patchcmd{\@listii}{\itemsep\parsep}{\itemsep-1mm}{}{}
\patchcmd{\@listii}{\topsep2\p@}{\topsep-3mm}{}{}
\makeatother
% Breaking slides
\setbeamertemplate{frametitle continuation}[from second][]
\newcounter{cont}
\newcounter{numframes}
\setcounter{cont}{0}
\makeatletter
\setbeamertemplate{footline}{%
\addtocounter{cont}{1}
\setcounter{numframes}{\beamer@endpageofframe}
\addtocounter{numframes}{1}
\addtocounter{numframes}{-\beamer@startpageofframe}
\ifnum\value{numframes}>1
\ifnum\value{cont}>1
\addtocounter{framenumber}{-1}
\fi
\ifnum\value{cont}=\value{numframes}
\setcounter{cont}{0}
\fi
\else
\setcounter{cont}{0}
\fi
\hfill\normalsize\insertframenumber\hspace{3.5mm}\vspace{4mm}%
}
\makeatother
\begin{document}
\maketitle
\setcounter{beamerpauses}{1}\setcounter{framenumber}{0}
\begin{frame}[allowframebreaks=1]
\frametitle{Lorem Ipsum}
\textbf{Lorem ipsum:}
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do.
\item Eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{itemize}
\bigskip
\textbf{Dolor sit amet:}
\begin{itemize}
\item Ut enim ad minim veniam, quis nostrud exercitation?
\item Ullamco laboris nisi ut aliquip ex ea commodo consequat?
\item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\footnote{Technically, we should say ``Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.''}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Dolor Sit Amet}
\begin{minipage}{0.5\textwidth}
\centering
\includegraphics[scale=0.3]{yellow-arrow}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\centering
\begin{tikzpicture}[scale=0.6]
\fill (0, 0) rectangle (6, 5);
\end{tikzpicture}
\end{minipage}%
\textbf{Some long formula:}
\[ x_1 + x_2 + x_3 + x_4 = y_1 + y_2 + y_3 + y_4, \qquad 2x_1 + x_2 - x_3 + x_4 = y_3 - 3y_1 - 2y_2. \]
\textbf{Some reference:}
\begin{itemize}
\item \emph{Title of really important paper} by X.~Author and Y.~Samuelson, 2019
\end{itemize}
\end{frame}
\end{document}
PD: No estaba seguro de dónde adjuntar una imagen para el MWE. Cualquier imagen servirá, pero sería deseable que el escalado automático funcionara tanto para imágenes como para tikzpictures.