{grid-typesetting} is about structuring the text in a rhythmic flow, mainly using vertical skips that are multiples of the baseline skip.

learn more… | top users | synonyms

9
votes
1answer
419 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. Currently the top edge of the figures are roughly flush with the 2nd line. This seems ...
2
votes
1answer
51 views

can one use \figure with the grid-system package?

Using the grid-system package http://www.ctan.org/tex-archive/macros/latex/contrib/grid-system Very little documentation on it. When I tried adding a \figure in a cell, I get Latex error. ...
0
votes
0answers
20 views

Change header to a single column style with the grid, gridleno package

I found this wonderful little package for double column LaTeX documents. I want to write a documentation for a database, which I've built up. The document will contain source code as well. My ...
4
votes
0answers
242 views

Complex Page Layout in LaTeX [closed]

I'm a complete beginner at LaTeX, and I'm trying to typeset a complex layout. How should I go about building a page like the one shown below. Edit I was able to replicate the layout using minipages ...
1
vote
0answers
46 views

register-true in multicols environment

I have a multicols* environment with sections and subsections and list environments and I want the text "registertrue", i.e. the lines are all on the same level ACROSS the columns.(If you were to ...
6
votes
1answer
189 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 ...
4
votes
1answer
212 views

Heights of elements and spaces (after, before)

I wish to know how to set the following: height of a text line in paragraph (is it fontsize?) height of space between text lines in paragraph (\baselineskip - fontsize?) height of space before and ...
43
votes
4answers
3k 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 ...
3
votes
0answers
76 views

How to align lines on facing pages? [duplicate]

Here is my working example. When I add pictures and mathematical formulas, everything looks much worse. The more complicated is content, the less aligned are lines. \documentclass[a4paper]{article} ...
2
votes
1answer
154 views

Tabular and grid typesetting

In my document, I try to remove most of the vertical stretch, using some of the tricks detailed in this document. Specifically, I have \setlength{\lineskiplimit}{-10pt} \setlength{\lineskip}{0pt} ...
9
votes
2answers
197 views

Enumerate in multicols how to move the last element upwards

Code: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage{multicol} \setlength{\parindent}{0cm} \begin{document} \begin{multicols}{2} \begin{enumerate} \item text 1 \item text 2 ...
2
votes
0answers
81 views

How to count the space around lines to align lines vertically on a grid?

I'm trying to create a XeTeX class which aligns text vertically on a grid. What I'm trying to achieve is layout on the left (created in InDesign), and what I'm generating now is on the right (the ...
5
votes
1answer
154 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 ...
3
votes
2answers
107 views

How to start text and image on the same baseline

I need text and images to start at the same level on each page. With standard LaTeX settings the image seems to start a few points higher then a text. I believe this is due to \topskip. \topskip=0pt ...
13
votes
1answer
288 views

How does one construct an abstract (n × n) empty grid of squares?

I would like to just create a grid like this, but without numbers or color, but I'd like to represent an n × n grid abstractly with ellipses like this: Also, I need just a simple—singular—grid ...
1
vote
0answers
86 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 ...
1
vote
1answer
517 views

Adding coordinates to grid in tikz

Is there a simple way to add coordinate (left and bottom) to the grid in tikz?
21
votes
1answer
383 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 ...
16
votes
4answers
481 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 ...
4
votes
2answers
182 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
1answer
305 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 ...
31
votes
2answers
2k 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 ...
1
vote
1answer
313 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] ...
5
votes
1answer
149 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 ...
1
vote
0answers
158 views

ConTeXt: How to adjust the space before and after a section with respect to gridset [closed]

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 ...
10
votes
3answers
244 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 ...
8
votes
2answers
751 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 ...
11
votes
2answers
497 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 ...
4
votes
0answers
1k 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
118 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 ...
6
votes
1answer
346 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
1answer
662 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 ...
7
votes
3answers
847 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. ...
10
votes
1answer
537 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 ...
18
votes
2answers
447 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 ...
11
votes
2answers
693 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 ...
5
votes
2answers
1k 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: ...
1
vote
1answer
483 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 ...
7
votes
3answers
627 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 ...
9
votes
2answers
697 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 ...
11
votes
1answer
371 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 ...
18
votes
2answers
1k 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 ...