3
votes
1answer
48 views

Command to increase spacing in table

WHen I needed to increase vertical space in a matrix I found this great custom command: \makeatletter \renewcommand*\env@matrix[1][\arraystretch]{% \edef\arraystretch{#1}% \hskip -\arraycolsep ...
6
votes
2answers
358 views

Vertical space before list environment within a macro

UPDATE My problem comes down to the following: vertical space is added before the \items of a list within a macro. The layout I want to use is based on the classicthesis-styled CV (currvita) template ...
1
vote
1answer
115 views

Macro changes output

The code and output shown below are based on the answers to this post . The problem is that first of the three tables is produced as desired but the second and third have the second column vertically ...
20
votes
2answers
5k views

What is \null and when do we need to use it?

Up to now I don't understand well what \null actually is and when we need it. I have only known that it can be used to create hypothetical anchors as follows. \documentclass{article} ...
14
votes
4answers
1k views

Is there a vertical equivalent for \rlap?

I'm looking for some sort of vertical equivalent for \rlap, which can be used to typeset maybe one or more paragraphs (or minipages), but do not advance vertically the content that would appear ...
3
votes
1answer
498 views

Placing a list of nodes in TikZ

I would like to define a macro, which would take a list of node definitions, like this \mymacro[boxes={{\node[rectangle] {foo};}, {\node[rectangle] {bar};}, ...
12
votes
2answers
1k views

\addvspace can't replace \vspace

I want to replace \vspace with \addvspace in a command. When so doing, I get obtuse "something's wrong--perhaps a missing \item." errors. I'd appreciate an explanation of why this happens and how ...
3
votes
2answers
484 views

A fix for \vspace*, does it break other things?

Thanks to the answers to this question, I believe I have a fix for \vspace* that will make it work sanely at the top of a page. \def\@vspacer#1{% \ifvmode \dimen@\prevdepth ...
13
votes
1answer
2k views

Why does \vspace*{0pt} add vertical space?

I'm trying to format the title of the table of contents using the tocloft package. It inserts code that looks like the following. \par \vspace*{\cftbeforetoctitleskip}% % code to typeset ...
6
votes
2answers
796 views

Repeating a block of text until it fills a page

Might I please have some help with writing a loop that repeats a block of text as many times as there is remaining space for it on the page? I would like to produce an notebook in TeX which is ...