![法律文件和报纸包](https://linux22.com/image/339559/%E6%B3%95%E5%BE%8B%E6%96%87%E4%BB%B6%E5%92%8C%E6%8A%A5%E7%BA%B8%E5%8C%85.png)
一切工作正常,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
你不需要\makeatletter
and\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}