Tag Info

New answers tagged

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 ...


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 ...


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 ...


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. ...


0

One more useful example for your reference: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{decorations.pathreplacing} \begin{document} \tikzstyle{curly} = [decorate,decoration={brace,amplitude=10pt},xshift=0pt,yshift=2pt] \begin{tikzpicture}[ every node/.append style={inner sep=2pt,text ...



Top 50 recent answers are included