# Tag Info

3

The following example defines a macro \MaximizeBaselineskip, which puts the whole text in a horizontal box and measures the width and height to get an upper limit for the \baselineskip: \documentclass{article} \newcommand{\MaximizeBaselineskip}[1]{% \sbox0{#1}% \baselineskip=\dimexpr\ht0+\dp0\relax #1% } \begin{document} \noindent ...

2

To have the appropriate baseline skip, you need to end the paragraph: \BeforeBeginEnvironment{quotation}{\par\begin{singlespace*}} The complete example: \documentclass{article} \usepackage{setspace} \doublespacing \usepackage{etoolbox} \BeforeBeginEnvironment{quotation}{\par\begin{singlespace*}} \AfterEndEnvironment{quotation}{\end{singlespace*}\par} ...

2

If you don't want to decide font size you can let it tcolorbox to do it for you with its fitting library. With a \tcboxfit you decide width and height and the program will adjust contents text to fit in it. \documentclass[border=2mm]{standalone} \usepackage[most]{tcolorbox} \newtcboxfit{\boxfit}[4][]{width=#2,height=#3,title=#4,halign=center, #1} ...

0

Finally I have found one solution using setspace package. MWE: \documentclass[]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{setspace} \begin{document} \begin{tikzpicture} \node[rectangle,fill=blue,align=center]() at (5cm,0){coucou\\ \tikz\node[text width=3cm,align=center](){\begin{spacing}{0.5}\tiny These certificates can be used to ...

2

Instead of setting \tiny in the text, putting it in option node font also sets the \baselineskip accordingly: \documentclass[]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \node[rectangle,fill=blue!50,align=center]() at (5cm,0){% coucou\\ \tikz\node[text width=3cm,align=center, node font=\tiny]{% These ...

3

At \begin{document} latex issues \normalsize which sets the initial font size and baseline skip. this command must be defined in the class (or if you must, redefined in the preamble) For example the standard class 10pt option sets \renewcommand\normalsize{% \@setfontsize\normalsize\@xpt\@xiipt \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ ...

0

If using the memoir class you can add \renewcommand{\insertchapterspace}{} to the preamble of your document if you want no chapter spacing in your listings. Details are contained in section 6.5 of the manual. By default a \chapter inserts a small amount of vertical space into the List of Figures and List of Tables. It calls \insertchapterspace to do ...

3

Not yet finished, but done so far are Times --> \usepackage{mathptmx} Footer with the page progress --> clear the fields with \fancyhf{} first, otherwise it's messed up. \twocolumn stuff for the first two pages Somehow correct name header I have no clue for the desired reference and word count (at the moment) %Nam scripta a cursus ad philosophíæ ...

Top 50 recent answers are included