# Tag Info

1

\documentclass{article} \usepackage{hyperref,microtype} \usepackage[margin=1.125in,top=1.375in,right=1in,left=2in]{geometry} \begin{document} \reversemarginpar \setlength\marginparwidth{0.8in} \newcommand{\LHEAD}[1]{\leavevmode\marginpar{\large\scshape#1}} \begin{itemize} \item \textbf{Mathematics and Science Lead}, Program Assistant for ...

1

A minipage can't be broken to spread it's content over multiple pages, that's why it's called a minipage. If content larger than would fit on a page is put into a minipage, the minipage content is shifted to the next page and clipped off at the page bottom. This is certainly not what is desired here. A proposition: Use the breakable feature of tcolorbox ...

10

You can set the paper size manually using geometry \documentclass{article} \usepackage[paperwidth=21cm,paperheight=500cm,margin=1in]{geometry} \usepackage{lipsum} \begin{document} \lipsum[1-150] \end{document} But 500cm is not infinite. You can use standalone class as suggested by touhami so that height is adjusted automatically. ...

3

You should use \\*: \documentclass{article} \usepackage{lipsum} \setcounter{secnumdepth}{-2} % no section is numbered \begin{document} line\par line\par line\par line\par line\par \lipsum[1-4] \section{Towards a Unified Theory on Brontosauruses} \vspace{-0.35em} \noindent{\large Anne Elk}\\*[0.7em] All brontosauruses are thin at one end, much, much ...

1

You can try \filbreak or a variation of that. \filbreak is defined to be \vfil\penalty-200\vfilneg, but in your example the penalty needs to be more negative; \vfil\penalty-1000\vfilneg works. This will make the first column ragged bottom. It works by adding some stretchable vertical space, then providing a good break point; if the break point is used ...

1

One option to solve this is by 'brute force': since there exists the generic block environment for beamer classes, we can do the following: \begin{frame} \begin{block}{Proof} Here is the first part of my proof. \end{block} \end{frame} \begin{frame} \begin{block}{} This is where my proof continues, and ends. \qed ...

2

I can't offer a full solution (and don't have the rep to comment yet), but my suspicion is that this is caused by the exercise package storing the contents of environments in vboxes. If you have the option, you may have better luck with one of the other packages for putting together exercise sheets. The following seems to produce the frame correctly for ...

2

It is not \pagebreak, but fancyhdr. If you look at the warnings in the log file, you'll see Package Fancyhdr Warning: \headheight is too small (0.0pt): Make it at least 12.0pt. We now make it that large for the rest of the document. This may cause the page layout to be inconsistent, however. This explains the fact that the second page is moved 12pt ...

1

The description of the index implementation in the TeXbook (p. 423-424) provided a simple solution for the heading macro: \newwrite\TocFh \def\MkTocEnt{% \xdef\WrTocEnt{\write\TocFh{\line{\TocText\leaderfill \noexpand\number\pageno}}}\WrTocEnt} \def\Chapt#1{\advance\ChaptNo by1 \SecNo=0 \vskip-\lastskip ...

3

The addlines package (uses afterpage, so use with care), provides the \addlines command to add one extra baselineskip's worth of space to the current and facing page. It must be placed in the text on a verso page, obviously, but will give an error if not. Use \addlines[2] or \addlines[-1], etc., according to your needs. An example document (straight from ...

7

First, for testing purposes please add to the MWE: The option showframe to the geometry package. Put \usepackage[pagewise]{lineno} in the preamble. Insert \linenumbers after \maketitle. (After each test, compile twice to see the correct line numbers.) Well, now analyze with calm what you asking to LaTeX in this MWE: A not stretchable glue ...

2

I found out that the reason LaTeX didn't have consistent textheight (one \baselineskip less on one page, one \baselineskip more on another) was that the \textheight and \baselineskip set by \usepackage[textwidth=112mm,textheight=190mm, paperwidth=153mm, paperheight=230mm]{geometry} were incompatible. It is my understanding that if \textheight is not ...

1

tcolorbox version 3.72 (2015/08/12) (and higher) do not have this problem. The following patch can be used for older versions. This is a bug of tcolorbox which only appears by combining height fixed for or height fill with bounding box changes. Internally, a boxed title changes the bounding box to comprise this detached title. The following patch ...

3

If you put the following lines \showboxbreadth = 1000 % more than necessary \showboxdepth = 10 % much more than necessary \showlists after, say, the second occurence of \begin{example}This is an example. \end{example} TeX will write in the transcript file a description of the vertical list it is building. Looking at the beginning of this description, ...

2

Try using the following definition for your example: \newenvironment{example}{% \par \stepcounter{TotalCounter}% \hypertarget{exampleRef\theTotalCounter}{}% \textbf{Example \theTotalCounter.} }{\par\penalty0} It inserts a "\paragraph break" at the start and end of the environment, but also sets the \penalty for breaking across the page (at the end ...

1

Sorry, can't find brazil for my babel but this seems to work for me. \documentclass[a4paper,12pt,reqno,twoside]{book} \usepackage{amsmath,paralist} \usepackage[latin1]{inputenc} \usepackage[brazil]{babel} \usepackage[adobe-utopia]{mathdesign} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \usepackage{setspace} \usepackage{amsthm} ...

3

itemize will not break inside a multicol environment within a frame. An alternative would be the tasks package, in which you can specify the number of columns as you wish the same as multicol but it allows page break at the right position. mdframed is also very rich boxing environment, which I recommend here. See the mdframed documentation for more ...

2


5

This will write notes from top to bottom using the entire right column. Page breaking is done using the aux file and \everypar. Needless to say, this approach will conflict with any package which uses \everypar (within the paracol environment). \documentclass{memoir} \usepackage{xcolor} \usepackage{paracol} \usepackage{lipsum} \newcommand{\darkmark}[1]% ...

Top 50 recent answers are included