Questions tagged [grid-typesetting]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
42 views

LuaLaTeX: Align baselines in two column document (grid typesetting)

I'm typesetting a scientific book with a lot of sections, tables, figures and equations. The book is in two columns. My client asked me to ensure baselines of the text in both columns are aligned ...
2
votes
2answers
133 views

Typesetting a fancy grid of figures

So, I need TeX to arrange the page as can be seen below. More specifically, to arrange vector graphics .pdf figures in a rectangular grid, with strict fixed boundaries, captions below and possibly ...
2
votes
0answers
43 views

Move a pgfplot's minor grid on behind the major one

I noticed that the minor grid y = const coordinate lines are before the major one. How can I move the minor grid on behind the major one? \documentclass[tikz]{standalone} \usepackage{pgfplots} %=====...
1
vote
1answer
63 views

ConTeXt: Use grid in margin block

Even though I set grid=yes in \setuplayout, margin blocks do not use the grid. Example file: \setuplayout [ grid=yes, cutspace=6cm, width=fit, backspace=6cm, ] \showgrid \...
1
vote
1answer
35 views

Snapping back to baseline in documents with facing pages

Usually the baseline in LaTeX's output is exactly continuous across pages, so that lines on the following pages appear as printed "on top" of each other when a page is turned. But that behaviour can ...
0
votes
0answers
20 views

How to (re)define margins for sectioning commands? [duplicate]

I'm currently trying to adjust my document to the baseline grid and for that I want to change all margins of \chapter, \section, \subsection (and floats) etc. to multiples of the \baselineskip. I ...
2
votes
1answer
90 views

ConTeXt: Grid-aligned external images

Background Looking to embed images that are grid-aligned. More specifically, I'd like to render linearized absorption and emission spectral lines that do not cause the prose to typeset off-grid. (See ...
4
votes
1answer
83 views

How to draw under-text grid lines in minipage?

I want to achieve like shown below: But the only thing I can get with ulem is: With the code below: \documentclass[12pt]{report} \usepackage{ulem} \begin{document} \begin{center} \begin{minipage}...
4
votes
1answer
52 views

centering / aligning arbitrary amsmath objects

See how the little ^\frown ⌢ symbols are aligned (on the last 3 lines) ? That's what I want. But see how it's just a concatenation symbol for (C_\alpha) (Cα) and (C_\beta) (Cβ) ? I want to make ...
1
vote
2answers
289 views

creating a square 9x9 grid

I am new to latex. Is there a way to create shogi diagram like this picture using tikzpicture? I have tried tabular with square cell and rotating package for rotating kanji and created some very plain ...
4
votes
1answer
99 views

Align figure on a grid by it's top edge

I'm trying to place figures in a book that I'm typesetting. Most of them end up at the top of a page. I'd like my captions to use smaller font with a smaller line spacing than the main text of the ...
2
votes
0answers
121 views

Fullwidth solutionorgrid with exam-class

The exam-class provides a convenient environment for typesetting either a specified kind of space for students to solve the question or the solution to that question, based on given class options. My ...
9
votes
3answers
494 views

Why does the baseline skip depend on the letters depth in some fonts?

I have some trouble with the line high using an OTF with fontspec package. The baseline skip of a line differs depending on the depth of the used letter. So for example a line containing a »g« is ...
0
votes
0answers
55 views

How to use custom command output as lenght?

In order to convince TeX to keep the grid I tried to program a command, that takes a font size switch as parameter and calculates the reminder of the division of the corresponding baseline skip and ...
1
vote
1answer
131 views

True grid: What happens to vertical spaces if a section follows directly a chapter?

I am trying to keep the lines of all pages to the same grid. So I set the spaces above and under \chapter, \section etc. to compensate the different baselineskip of my headings. For example I set ...
4
votes
2answers
138 views

How do you get a blurred backpage in draft-setting?

In an answer to this question, Tobi posted an image of a few lines of text, and then, blurred and with a slight skip, the lines of the text that appear on the backside of the page, in reverse order: ...
2
votes
1answer
169 views

Grid typesetting in memoir

I am trying to make all lines line up in my documents. As I am using a custom leading of exactly 15pt, I have replaced all occurrences of vertical space with the nearest multiple of 15, and all ...
3
votes
1answer
199 views

Redefine \equation for grid typesetting

Please look at the following MWE: \documentclass[17pt, twocolumn, landscape]{extbook}% \baselineskip=22pt \newdimen\mathheight \newdimen\mathdepth % Redefine \equation for grid typesetting \...
1
vote
1answer
98 views

Is there an automatic way to fit lines in document with multiple columns?

I've noted that professional multicolumn documents usually manage to fit the parallel lines. With that I mean that all the lines of both columns are perfectly at the same height. This is achieved by ...
1
vote
1answer
62 views

Ignoring \vskipnextgrid at the top of a page before \section

Consider a document using the gridset package, and some plain text at the top of two pages. But one of the pages is preceded by a \vskipnextgrid like so: \RequirePackage{gridset} \documentclass[12pt]{...
10
votes
3answers
499 views

\savepos=\savepos in lualatex. Why?

I use LuaLaTeX. Today I decided to try the gridset package. To my surprise, \usepackage{gridset} produced an error, telling me that the \savepos command was already defined. MWE: \documentclass{...
3
votes
0answers
347 views

How to align floats to a grid?

I try to use John Kormylo's idea for grid typesetting. See: Text in two columns on the same level The command \resetbase works very well for nonfloating objects like equations or headings. But how ...
5
votes
3answers
176 views

How to center a justified 80%-width paragraph while preserving perfect grid alignment?

I need to center a justified paragraph, 80% of total textwidth while preserving perfect alignment with the underlying baseline grid. I can get the desidered size and centering, but not the alignment ...
1
vote
1answer
68 views

ConTeXt: How do a \hrule beneath title in grid mode?

How can I place the \hrule beneath the title in grid mode the same as in grid mode off? Why is the \hrule more greyish in grid mode? Grid off: \setuplayout[grid=off] \setuphead[title][after=\hrule, ...
5
votes
1answer
243 views

Grid and chapter (addchap), section (KOMA)

My publisher asked me to work with a grid because the book will have 1000 pages and very thin paper, so that the text from the next page won't shine through making the page all grey. I read about the ...
4
votes
1answer
413 views

Grid typesetting

Question Is there any way to manage that text stays on the grid given by a tikzpicture? Screenshot MWE \documentclass{article} \usepackage{tikz} \usepackage{eso-pic} \AddToShipoutPicture{% \...
13
votes
6answers
428 views

How can I calculate a number of lines needed to fit the text?

I want to make a command that works like \CalcNumber{<the text>}{<width>}{<cs>} And stores the number of lines (i. e. height in \baselineskip rounded up) needed for <the text>...
3
votes
1answer
259 views

Setting titles to be a multiple of \baselineskip fo grid typesetting

I want to typeset my document on grid, so I use the following commands for titles: \titleformat{\section} {\fontsize{20}{2\baselineskip}\selectfont\bfseries\sffamily}{}{0em}{#1} \titlespacing*{\...
5
votes
1answer
115 views

Adding space around section title for in-register in KOMA-script context

I saw recepts from answers on this question, and can I do this without titlesec, only with KOMA tools, f.e. via \RedeclareSectionCommand[afterskip=<amount>,beforeskip=<amount>]{section} ...
1
vote
1answer
113 views

Adding chapterheadendvskip with “phantom” chapterprefix in KOMA Script (scrreprt) with grid layout (grid.sty)

First of all, I apologize if this question is too localised, my explanation is too vague (and perhaps irrelevant) and the given MWE is too messed up. I am trying to use grid layout provided by grid....
8
votes
1answer
696 views

Why is grid typesetting available in ConTeXt?

As I understand, the problem with the grid typesetting lies in the mechanism TeX uses for page construction. There are a few packages that try to fix that and that may be done (hopefully) with LaTeX3. ...
3
votes
1answer
155 views

Headings height and grid in ConTeXT

How do I increase the line-height of headings in ConTeXT while using grid typesetting without interfering with the alignment of subsequent lines? (Misalignment marked in green). My code is: \...
2
votes
1answer
175 views

Three column line with fixed width for first column on baseline grid

I'm trying to format work headings in a resume that meet the following constraints: The company name is left aligned and takes up a fixed width, e.g. 2.5cm. The job titles are all left aligned with ...
1
vote
0answers
141 views

Ordering a maths equation into two, equal columns

This question is currently taking up a bit too much space. I was wondering if it is possible to split ONLY the solution of this maths equation, not anything above or below it, into two equal sides ...
3
votes
1answer
251 views

Context: Placing float (figure) and caption-top at same height on grid

This answer explains very well how to get text on context's grid and floats to align nicely. I have the same requirement for aligning, but I need it for the caption beside the figure. Considering ...
1
vote
1answer
200 views

draw a Grid line on each and every baseline and every page (throughout the file)

How to get the Grid lines on the every baseline and every page, like the below image, is any packages are available to get the desired output? also suggest How to typeset the text on the grid lines (...
1
vote
0answers
134 views

using grid to set lines at the same baseline on opposing pages

There is this question about fixing headings in KOMA to the line grid and this one going for (as far as I understand) something similar for the whole document in XeTeX. Is there a possibility to ...
5
votes
1answer
240 views

Page layout of Mishna Brura text.

I'm relatively new with using TeX and primarily use it for writing Mathematics. However a colleague of mine is looking to use TEX for its typesetting properties to actively work with typeset pages....
7
votes
2answers
1k views

How does \footnotesep work anyway?

I recently developed a fascination in grid typesetting and therefore was trying to get all the elements on my page separated from each other by multiples of the \baselineskip value (don't try doing ...
2
votes
2answers
389 views

ConTeXt minimal example with twocolumn, Footnotes, quote, lists, headings

I am thinking about moving at least for some purposes to ConTeXt because of the grid typesetting option. However I did not find a minimal working example that shows how to use Footnotes, Lists, the ...
3
votes
1answer
227 views

When I activate grid layout in ConTeXt, empty lines inexplicably appear [closed]

What am I doing wrong? When I activate grid layout in ConTeXt, empty lines appear inside my paragraphs. I activate the grid layout normally, through \setuplayout[grid=yes] and I get this (in page ...
1
vote
0answers
164 views

Grid-like layout for pages containing a graph and a table [duplicate]

For an (R) analysis project I am working on I need to automatically generate reports containing graphs and tables that will later be reviewed by other people. I wrote my thesis in latex, but I never ...
7
votes
2answers
388 views

Align text to grid in ConTeXt

Guys am working on a page title and I need align some text to grid in \definemakeup MWE: \showframe \showgrid \definemakeup[custom][headerstate=none,footerstate=none] \setuplayout[custom][grid=yes,...
2
votes
0answers
301 views

Simple idea to align paragraphs to a baseline grid

The idea was to save the vertical position right after beginning the multi columns and then count from that position the next suitable position whenever there is need to align a text paragraph to a ...
1
vote
1answer
75 views

Control last page filling

It is possible to create a macro, which is determine a percentage of last page filling. Say, if the last page filled less than 3/4, then macro write a warning to the page!
2
votes
1answer
65 views

Align caption baseline in second column with baseline of first column

I have a two column document that contains full page boxes. These boxes sometimes contain table or figure captions, which generally look best at the top of the second column of the box. However, the ...
3
votes
3answers
126 views

How do I centre a list of equations with a fixed set of right labels beside them?

Like this: A sort of 2-column grid layout, where the left column is 80% of the width and centre aligned, while the right column is left aligned.
1
vote
1answer
123 views

Variant irregular size grid layout

I am currently preparing for an exam to which we are allowed to bring 1 sheet of paper. Naturally, I want to fit as much information as possible on it. The information that I need are a bunch of (...
1
vote
2answers
139 views

How to create a grid with a single letter in each cell and numbers on top to correspond to position?

0 1 2 3 R R R R *¯¯¯*¯¯¯*¯¯¯* * a | b | c | *___*___*___* L L L L I would like to create a grid similar to the one above, it would be a grid with a single letter per cell and at ...
13
votes
1answer
587 views

Uneven Line Spacing for Arabic Text using xelatex + memoir + plyglossia

This is my first LaTeX Project. I am using XelaTeX to compile the tex file. I am having an issue with Even Line Spacing in my arabic document. The baseline grid is fine on the first page but the text ...