Tag Info

New answers tagged

0

The draft options of hyperref or package nohyperref also removes the specials for the hyper features as links and destinations. These specials can have influence on paragraph and page breaking. The following example disables most hyper features, when driver pdftex is used. Links and destinations removed by redefining the primitives of pdfTeX relying on the ...


0

I had a similar problem which was not caused by a change in line spacing. The hyperref package was changing the paper size from A4 format to US letter format, thus leading to a page 18mm less high and shifting some text to the next page. I fixed the problem by declaring the page size in the document class: \documentclass[a4paper]{letter} Another solution ...


1

One of the most made mistakes done in a class file, not ending the group with a paragraph so LaTeX can apply the correct line spacing. This will hopefully be fixed in upcoming versions of tikzposter. \documentclass{tikzposter} \usepackage{lmodern} \usepackage{blindtext} \begin{document} \begin{columns} \column{.32} \block{Walzing Wombat}{% ...


2

You can load the setspace package. With it you can then set the spacing for certain sections by enclosing them in its own environment by using the tags \begin{spacing}{<length>} ... \end{spacing}. Output Code \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{setspace} \begin{document} Cras efficitur dui purus, at ...


2

You don't need a minipage in order to have an itemize or enumerate in a p column: just issue \@minipagetrue inside it. \documentclass[fontsize=11pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{array} \usepackage{enumitem} \makeatletter \newcolumntype{P}[1]{>{\@minipagetrue}p{#1}} \makeatother \begin{document} ...


0

I found a rather sloggish answer to my question. I hope there will be a better one, but it works. \documentclass[fontsize=11pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \newlength{\bls} \begin{document} \setlength{\bls}{\baselineskip} \begin{tabular}[t]{p{0.2 \linewidth}p{0.2 \linewidth}} lipsum & % ...


1

The standard behavior of enumerate lists is to add some vertical space above and below them (unless they are nested and start just after \item). This space is \topsep and is used both above and below. So you get no space by setting it to zero and enumerate in the IEEEtran class accepts an optional argument for doing shose settings. ...


0

Thanks to David Carlisle's response, I figured that "Case 3" (inserting space between an equation and the following paragraph) is also easily done with \vspace, except you have to insert it between two blank lines. So if I summarize my current solution, it goes~: \documentclass[a4paper,11pt]{article} \newlength{\addspace} \setlength{\addspace}{0mm} % play ...


3

If \vspace is used in vertical mode the space is added at that point. If it is added in horizontal mode it is deferred until the paragraph is broken into lines and then the space is added after the line that contained the node carrying the deferred space. The behaviour in horizontal mode is sort of justifiable but rarely wanted so the simple rule is always ...



Top 50 recent answers are included