General ⇒ the same document four times
the same document four times
What is the best way to do this?
One idea that I have is to divide an A4 with a table and in each cell call
\input{documentFile}
Is there a better method? Perhaps something with minipage instead of table?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
the same document four times
you could use the pdfpages package, call \includepdf with the nup option, see its documentation.
Stefan
the same document four times
The document that is to be inserted is also a .tex file.
Will I have to compile it separately (so that it exists
"physically" on the HDD) before running the script with
the \includepdf command?
That way the project will have to consist of two complete
documents. As for now, there is only one document and
one other .tex file that gets \include:ed four times in a row.
Code: Select all
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\newcommand{\hit}{\fbox{\begin{minipage}{.45\textwidth}\input{lista}\end{minipage}}}
\begin{document}
\centering
\hit \hit
\\
\hit \hit
\end{document}