Tag Info

Hot answers tagged

7

The page builder is asynchronous and TeX doesn't have any clue where a page ends when typesetting a paragraph. Only when a paragraph has ended page breaking decisions are made. My strategy is to build the gigantic paragraph in a box that's then compared to the desired text height. If it's still below it, a new box is prepared with more repetitions. When we ...


4

My solution does only one printing of repeated text in temporary box0. Then this box0 is \vsplit to the current page. The macro \toendpage{repeated text} is provided. This macro fills the current page from current point (it is irrelevant if this is at the start of the page or in the middle of the page) to the end of the page. The macro \toendpage needs to ...


2

Prepare a shell script such as pdflatex -jobname multinils-english "\def\mylanguage{english}\input{multinils}" pdflatex -jobname multinils-norsk "\def\mylanguage{norsk}\input{multinils}" pdflatex -jobname multinils-nynorsk "\def\mylanguage{nynorsk}\input{multinils}" where multinils.tex stands for the name of your LaTeX file. ...


1

Use two nested \foreach loops. Since \k depends on \n you could probably reduce it to one loop. I'm not a mathematician but I think the TeX part is correct here. \documentclass[9pt]{article} \usepackage{tikz,pgfplots} \newcommand{\nMAX}{20} \newcommand{\kMAX}{19} \begin{document} \begin{tikzpicture}[scale=1.2, font=\tiny] \begin{axis}[ axis x ...



Only top voted, non community-wiki answers of a minimum length are eligible