Tag Info

New answers tagged

5

\include records the current value of enumi (3 here) but not that enumitem resume wants to use it, adding a couple of lines to the end of the included (or not included) file fixes that. If you process the entire file then uncomment the \includeonly you will get a one page document numbered page 2 with the enumeration numbered 4,5,6. \documentclass{article} ...


1

To include shifts directly in the options part of the \includegraphics[options]{graphic.pdf} part of the command, a more straight forward way is the `trim=left bottom right top` option. Here, left, bottom, right, and top are units of length, which trim the graphic for positive values and add space for negative values. So to move to the right by 5cm and ...


2

Try this. \documentclass{article} \usepackage{enumitem} \usepackage{amsmath} \usepackage{filecontents} \begin{document} \begin{filecontents}{question-01} What is an aardvark?\par \end{filecontents} \begin{filecontents}{answer-01} \pagebreak The aardvark Orycteropus afer is a medium-sized, burrowing, nocturnal mammal \end{filecontents} % questions and ...


0

This is a substantial reworking of my original solution - there were fun problems to solve, so I'm posting it even though there's an accepted answer. The MWE below produces these pdfs as output: Here are the source files. First, the test, which you must compile twice to get the references right. \documentclass{article} \input{testpreamble} ...


0

you can try the import package http://get-software.net/macros/latex/contrib/import/import.pdf


16

TeX only processes the input line by line, so there is a limit on the number of characters in a line, but not on the total size of the file. Your editor however probably does need to read the entire file into memory so may have limits on the file size. The editor I use warns if the file is more than 10MB but will open files larger than that, up to the ...



Top 50 recent answers are included