法律文件和报纸包

法律文件和报纸包

一切工作正常,legalpaper无需软件包即可生成文档newspaper。但是,当我使用时\usepackage{newspaper},它不会呈现legalpaper文档。任何帮助都将不胜感激。提前感谢您的帮助。

\documentclass[english,legalpaper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{lipsum}
\usepackage{geometry}
\geometry{tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}


\usepackage{newspaper}

\makeatother

\usepackage{babel}
\begin{document}
\lipsum[1-20]
\end{document}

答案1

你不需要\makeatletterand\makeatother业务。这很好用:

\documentclass[english,legalpaper]{article}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{lipsum}
\usepackage{newspaper}
\usepackage[legalpaper,margin=2cm]{geometry}
%\geometry{tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}




\usepackage{babel}
\begin{document}
    \lipsum[1-20]
\end{document}

相关内容