This is what I'm trying to produce:
This is what I have so far:
\documentclass[varwidth,12pt,preview,margin=3mm]{standalone}
\usepackage{newtxtext}
\usepackage{newtxmath}
\usepackage{color}
\pagecolor{yellow}
\begin{document}
\begin{center}
Animation Test
\vspace{6pt}
\textbf{\huge 1}
\end{center}
\end{document}
I can't get the background colour to work, but it otherwise looks more or less as it should. I've tried other document classes but they all have their own problems, such as adding in a ton of extra features I don't want, or else other parts of the code don't work instead.
Could someone help me get it working?



standaloneclass, however, it does run okay witharticleclass (of course, without adding any extra packages). May be something for you to check at: https://tex.stackexchange.com/questions/25137/how-to-change-the-background-color-only-for-the-current-page; https://tex.stackexchange.com/questions/82498/change-background-colour-for-entire-document?rq=1 – Raaja_is_at_topanswers.xyz Nov 05 '18 at 08:13previewmode :) as if in\documentclass[varwidth,12pt,margin=3mm]{standalone}. May be that could help. – Raaja_is_at_topanswers.xyz Nov 05 '18 at 08:17previewworked. The documentation forstandaloneseemed to suggest I needed that to get the margins working correctly, but apparently not. Seems to be all fine now. :) – Ulysses Nov 05 '18 at 08:25previeworvarwidthto get paragraph mode for the content. Using both might not do what you want. – Martin Scharrer Dec 21 '18 at 09:09