Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baseline grid #272

Merged
merged 2 commits into from
Jun 12, 2018
Merged

Baseline grid #272

merged 2 commits into from
Jun 12, 2018

Conversation

arthurattwell
Copy link
Member

This adds the ability to show a baseline grid, as stripes the width of the default line height in print. To show the baseline grid in print, you set:

$show-baseline-grid: true

in the book's print-pdf.scss or screen-pdf.scss.

It also sets the default top and bottom margins in PDF in points, which solves a long mystery about why text pages and chapter openers were not aligning.

@arthurattwell arthurattwell merged commit d211e81 into master Jun 12, 2018
@arthurattwell arthurattwell deleted the baseline-grid branch June 12, 2018 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant