Skip to main content

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
0 votes
0 answers
34 views

Text on one side of the page should be printed in the same location as the line on the other side of the page

I want to duplex print on very thin paper, and ensure vertical alignment of the paragraph text between the front and back of the paper. If they are not aligned, the text of the back will show-through ...
LaTeXQSEx's user avatar
2 votes
3 answers
229 views

Are balanced lines possible in LaTeX?

This question comes a little too late for me, but as it is an interesting question, I will ask it anyway. When I was designing my book, I was wondering whether I should use spaced or indented ...
Pygmalion's user avatar
  • 6,339
0 votes
1 answer
303 views

Grid vs Tables to create a catalog like layout

I am trying to figuring out how to setup in ConTeXt a fluid grid to have all the elements of a catalog in a clear and recognizable pattern. The more I read about grid and the more I am convinced that ...
freezr's user avatar
  • 103
2 votes
1 answer
290 views

Context: Grid layout, but not for headings, figures, tables etc

How can I have grid layout in Context, but it should not enforce strict grid typesetting for headings, figures, tables etc? Only paragraphs need to be always on the grid. How can I achieve that? ...
erz's user avatar
  • 23
1 vote
0 answers
90 views

How to make text height on pages the same and keep text on grid for book's page spread?

My project contains a lot of short subsections. After compiling some pages becomes longer than the others and also lost lines grid for page spread. I've tried grid but not succeeded. Sometimes ...
filokalos's user avatar
  • 1,037
2 votes
1 answer
237 views

Force all lines into regular intervals so pages back up each other

Bringhurst writes in The Elements of Typographic Style: How can such an effect be achieved? Even when manually redefining all spaces, skips and heights to be multiples of the same number and have no ...
Hans's user avatar
  • 325
3 votes
0 answers
190 views

Grid layout offset adjustment and non-uniform columns in LMTX

I'm trying to emulate the style of Jean-Luc Doumont's presentation. Here is his slide, with a grid overlay (please open in a new window of image viewer as the gridlines are hard to see on tex....
blaze's user avatar
  • 529
0 votes
2 answers
461 views

How to write Nepali and English on the same page in Overleaf

\documentclass{report} \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguage{Nepali} \usepackage{fontspec} \setmainfont{Times New Roman} \newfontfamily\devanagarifont[Script=...
user avatar
-1 votes
2 answers
435 views

Calendar with days in columns; week number and habit tracker

Below you can see a page of my bullet journal. The layout is very efficient, but I have to draw the lines and fill in all calendar days by hand! Thus, for the next year, I would like to build a ...
Robert Winkler's user avatar
4 votes
1 answer
172 views

How could I typeset this? (Horizontal and aligned cancelling)

Let's say I have a reducible fraction, like 77/33, and I want to show its reduction. I'd like to create something similar to cancel's \cancelto, in that it overlaps the superseded digit, but ...
schuelermine's user avatar
1 vote
2 answers
350 views

Using post_linebreak_filter in LuaTeX to set height and depth of boxes

After reading this answer Automatically prevent extra line spacing because of math by David Carlisle, I experimented with the code to get grid typesetting. My approach: The height of a line is always (...
Weißer Kater's user avatar
2 votes
2 answers
114 views

adjust vertical space in quoting environment to exactly one line

I am sure this must have been asked before: I want to adjust the vertical space before and after the quoted text to exactly one line. The default seems to be a little less. I am working in a double ...
PeterStrawson's user avatar
2 votes
0 answers
157 views

Offset a text block from the main grid by half the leading

In my attempt below I can almost achieve the correct offset if it were not for the descenders in the last line of the text block. Let's assume that the leading in the text block is identical to the ...
Oliver's user avatar
  • 51
2 votes
0 answers
127 views

Place a heading at the top of a page on the grid

In the following example the first heading should be placed on the second grid line while the space between "Heading" and "Subheading" should remain as is. Interestingly, the grid ...
Oliver's user avatar
  • 51
1 vote
0 answers
284 views

Extra blank line before heading not immediately preceded by another heading

What I would like to obtain is an extra blank line before a heading if this heading is not immediately preceded by another heading. This is what I have so far: \setuplayout[grid=yes] \showgrid \...
Oliver's user avatar
  • 51
0 votes
1 answer
72 views

How to get rid of erroneous extra grid lines?

The below code is giving me an error: How do I get rid of these bad extra lines? See image at the bottom. \begin{document} \begin{table} \begin{tabularx}{\linewidth}{|r|r|r|r|r|} \hline \...
user avatar
0 votes
0 answers
156 views

Multicol, vertical alignment of normal text lines

Is there an environment like multicol that would horizontally align lines of columns? I was asked to help with a dictionary and the layout should have two columns. Running plain text is fine, lines ...
Jori Mäntysalo's user avatar
0 votes
0 answers
68 views

What is the "generic rule" for determining how many words to "justify" on a line in a book?

Let's say that we have a raw book script such as: Alice looked on the hobbit, shocked, and said: "You have eaten all our food?! Then what will we eat?" Bilbo replied: "Sorry about that....
J. Blecha's user avatar
10 votes
0 answers
491 views

Typessing on a grid (Quantum spaces by Jean-Luc Doumont) support in latex

I saw the presentation of Jean-Luc Doumont on typesetting on a grid. He talks about some macros in this presentation, but I wonder if there is any package in latex yet, to support this. Here are the ...
Manuel Schmidt's user avatar
0 votes
1 answer
229 views

Lined-paper line spacing, and redefining the math environment

(The description is kind of long, questions are at bottom) I'm currently using a lined-paper style, thus need all the contents to be strictly sticking to the line. I've changed the \baselineskip, have ...
Jinwen's user avatar
  • 8,720
2 votes
1 answer
1k views

How to typeset a cumulative frequency curve with non-integer x axis ticks using Tikz and PGF, not pstricks

I am a newbie here. I need your help: I need to typeset this curve using Tikz and pgf only, no pstricks. The xy values to be plotted are contained in the 3rd and 4th columns in this table: Note: ...
Chika Odiliobi's user avatar
0 votes
2 answers
1k views

Writing text side-by-side [closed]

Can someone please help me figure out how to write two columns of text side by side for just a short region of a page in LaTeX? As a MWE please see the attached pic. Edit : I just want to write two ...
Nitin's user avatar
  • 295
2 votes
1 answer
116 views

Blanks before redefined heads not obeying grid in ConTeXt

The following MWE in ConTeXt shows that if space is inserted before a chapter heading at the top of a page, it moves the contents of that page off the grid. Without the second argument to setuphead, ...
solisoc's user avatar
  • 640
2 votes
0 answers
662 views

Grid typesetting for equations

There were many discussions about grid typesetting in TeX. "Almost impossible"... I want to show that it is possible. I have found a way to make display math obey the grid. In contrast to packages ...
Weißer Kater's user avatar
1 vote
0 answers
442 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 ...
edison23's user avatar
  • 136
2 votes
3 answers
1k 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 ...
Piotr Tarasov's user avatar
2 votes
0 answers
99 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} %=====...
sergiokapone's user avatar
  • 5,630
1 vote
1 answer
180 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 \...
Juraj Fiala's user avatar
2 votes
1 answer
143 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 ...
Felix Emanuel's user avatar
0 votes
0 answers
26 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 ...
sollniss's user avatar
  • 155
3 votes
1 answer
265 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 ...
Dave Jarvis's user avatar
  • 12.1k
4 votes
1 answer
241 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}...
Alexara's user avatar
  • 43
4 votes
1 answer
75 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 ...
voices's user avatar
  • 2,059
3 votes
2 answers
1k 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 ...
long's user avatar
  • 51
4 votes
1 answer
206 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 ...
Adam Markiewicz's user avatar
2 votes
0 answers
734 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 ...
Tim Hilt's user avatar
  • 848
11 votes
3 answers
669 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 ...
user5950's user avatar
  • 1,466
0 votes
0 answers
195 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 ...
user5950's user avatar
  • 1,466
1 vote
1 answer
201 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 ...
user5950's user avatar
  • 1,466
4 votes
2 answers
212 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: ...
Kubo's user avatar
  • 334
3 votes
1 answer
313 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 ...
Luna Razzaghipour's user avatar
3 votes
1 answer
315 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 \...
Weißer Kater's user avatar
1 vote
1 answer
120 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 ...
mjbeyeler's user avatar
  • 209
1 vote
1 answer
85 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]{...
Alec's user avatar
  • 367
12 votes
3 answers
882 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{...
user avatar
3 votes
0 answers
646 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 ...
Weißer Kater's user avatar
5 votes
3 answers
237 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 ...
gsl's user avatar
  • 761
1 vote
1 answer
113 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, ...
Bastian Lobe's user avatar
5 votes
1 answer
471 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 ...
Martin Mueller's user avatar
4 votes
1 answer
925 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{% \...
Andreas Schneider's user avatar