{grid-typesetting} is about structuring the text in a rhytmic flow, mainly using vertical skips that are multiples of the baseline skip.
33
votes
4answers
2k views
Grid System in LaTeX
I'd like to typeset documents using the 'Grid system' of page layout. Good examples are on pages 40-53 of this document. The textpos package is helpful for this, but two additional features would be ...
24
votes
2answers
1k views
How to keep a constant baselineskip when using minipages (or \parboxes)?
When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text ...
17
votes
1answer
193 views
Grid typesetting with LaTeX3
Grid typesetting is something that is rather hard to achieve with LaTeX and as this question states there are currently two packages, e.g. grid and gridset, that can help to use grids. Unfortunately ...
17
votes
2answers
342 views
How to make mdframed ignore descenders in last line
How can we make mdframed to ignore the descenders of the last line in the calculation of the innerbottomsep. In my eyes there are two reasons to desire this:
Inner margin
The optical bottom sep is ...
16
votes
2answers
743 views
Vertical spacing, pagination and ideal results
I found that the best way to avoid widows and orphans is setting penalties and using rubber lengths between paragraphs, for instance, \setlength{\parskip}{1pt plus 1pt minus 1pt}.
When I shared this ...
15
votes
4answers
304 views
Using fixed space aroung headings to get text in sync with baseline grid
In order to make my text stay in sync with the baseline grid, I've set the vertical spacing before and after \section headings to integer multiples of \baselineskip (using the titlesec package). A ...
11
votes
2answers
506 views
Background baseline grid with output routine
I am trying to get a baseline grid in the background of every page. I am using the plain format with XeTeX. This is what I have tried:
\baselineskip=13pt
\topskip=0pt \parskip=0pt
\newbox\gridbox
...
11
votes
1answer
300 views
Defining variants of \small and \large that use \normalsize's line spacing
As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
10
votes
2answers
415 views
How to do grid typesetting with amsmath?
Following the advice in the answer to this question, I did set a huge negative \lineskiplimit. However, it turned out that align got quite upset about this. So my question is: what would you ...
9
votes
3answers
189 views
Rule in textarea every n points
I am currently developing a new layout. This must be typeset on a grid, and every line starts at a multiple of 13bp from the top of the text area. To help me check, I'd like to have rules every 13bp ...
9
votes
2answers
600 views
How to get headings to be an integral number of lines high (using the memoir class)?
I use the memoir class and the \checkandfixthelayout command to calculate the \textheight so that an integral number of lines will fit. This works very well:
But now I want to add a few section ...
9
votes
1answer
346 views
Is changing \lineskiplimit to some negative value a good idea, and what the value might be?
I'm writing a (large) document using Linux Libertine for text and Asana for math. I have a 11pt font with \baselineskip=14pt. However, not so seldom it happens that the default settings of ...
8
votes
2answers
437 views
How to align text position on both sides of a twocolumn layout
I'm pretty sure this problem has been adressed somewhere before but I can't find a solution anywhere, probably because I have no idea how to define/call this problem.
Pretty much everything that ...
7
votes
3answers
491 views
Align baseline in multicol
I'm using the multicol package and would like to align the baseline of the two columns. The simple use of a \paragraph heading seems to throw off the alignment, which can be pretty jarring visually. ...
7
votes
1answer
233 views
Context: Placing float (figure) and text-top at same height
I would like my figures to be flush with the text line beside them if they are positioned left or right and top. Currenty the top edge of the figures are roughly flush with the 2nd line. This seems to ...
7
votes
3answers
517 views
Spacing of sectioning commands for grid typesetting
I know questions about grid typesetting have been asked before, and some packages (grid, gridpos) exist. The scenario I have at the moment is simpler than that, and is mostly a question about elastic ...
6
votes
1answer
243 views
Align multi-line section head on the grid
What I want to achieve
Align the first line of a multi-line section head on the grid and consecutive
lines according to the baseline distance given in the font definition. The
baseline distance of ...
5
votes
2answers
996 views
Problems with pictures in multicol
I am writing a short article for a magazin and want to have a two-column text. Since the header is supposed to be centered, I decided to use the multicol-package. This is my header:
...
5
votes
1answer
428 views
One more time: leading before and after block quotes
I'm trying to re-define the quote environment (triggered by csquote's \blockquote) to remove the entire (!) additional leading before and after the quote, to make sure the quotes stays in sync with ...
5
votes
1answer
104 views
Line spacing in Arabic in ConTeXt - how to deactivate gridsetting in an environment
I realize Arabic in ConTeXt with the following environment (to be able to switch between German and Arabic).
\startenvironment arab-besser-sty
\definefont[Sheh][name:Scheherazade*arabic at 15pt] % or ...
4
votes
1answer
107 views
\vbox with some extra space below
I don't understand why when using \vbox of a certain height, there is some extra space added below it.
I'm trying - towards grid typesetting - to put for example graphics in the vbox of a certain ...
4
votes
2answers
119 views
Flexible grid layout to list addresses
I've been using LaTeX to typeset my CV for quite a few years now, and I've always had one nagging problem that I've never quite managed to solve adequately.
The very last section in my CV is always ...
4
votes
0answers
88 views
\placeongrid and \moveongrid not working in ConTeXt
I am trying to use the grid features in ConTeXt, but some of the commands are somehow not recognized by the compiler.
Whenever I try to use the commands
\placeongrid or \moveongrid, the compiler ...
4
votes
0answers
824 views
Grids for A4 paper (golden ratio) [closed]
I'm about to construct the most important document of my life - my Ph.D. thesis. A while back I came across this for web design:
Grids are Good
Is there anything similar for typesetting A4 papers? ...
2
votes
0answers
56 views
No gridding for a single paragraph (ConTeXt)?
Is there a possibility to deactive grid=yes in the text for a single paragraph only? It should be something like \nogrid{ paragraph.... }. There is \placeongrid{} - but this does not allow ...
2
votes
0answers
90 views
ConTeXt: How to adjust the space before and after a section with respect to gridset
I use
grid=yes
in my setuplayout. With \showgrid I can see, that the space before and after a section is the same as before and after a subsection (3 lines before, and 2 lines after). But it would ...
2
votes
0answers
99 views
How to snap the page dimensions to the grid in ConTeXt? [closed]
In ConTeXt, I am using the setting grid=yes to make all of the text in a document use grid typesetting. ConTeXt seems to automatically adjust the height of this grid based on the size of the font ...
1
vote
1answer
156 views
Gridsetting: Space between section and subsection (ConTeXt)
Here is my Minexample
\mainlanguage [de]
\definepapersize[MyBook][A5]
\setuppapersize[MyBook][A5]
\usetypescript[times]
\setupbodyfont[times,10pt]
\setupbodyfontenvironment [default][em=italic] ...
1
vote
1answer
428 views
How to control spaces between objects?
I have a problem with controlling spaces between different object and environment. In my MWE you can see I use quote and \footnote on the one page. Unfortunatelly when I use them lines on adjoining ...
1
vote
1answer
78 views
Adding coordinates to grid in tikz
Is there a simple way to add coordinate (left and bottom) to the grid in tikz?
1
vote
0answers
37 views
Disable grid typesetting in ConTeXt [closed]
Is there any way to disable grid typesetting in ConTeXt. \setuplayout[grid=yes] gives the default behaviour of grid snapping, but so does \setuplayout[grid=no]. is there any way to turn off grid ...


