Warning: Constant MULTISITE already defined in /home/pbmalartu/public_html/wp-config.php on line 107

Warning: Constant SUBDOMAIN_INSTALL already defined in /home/pbmalartu/public_html/wp-config.php on line 108

Warning: Constant DOMAIN_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 109

Warning: Constant PATH_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 110

Warning: Constant SITE_ID_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 111

Warning: Constant BLOG_ID_CURRENT_SITE already defined in /home/pbmalartu/public_html/wp-config.php on line 112

Warning: The magic method Pressbooks\Book::__wakeup() must have public visibility in /home/pbmalartu/public_html/wp-content/plugins/pressbooks/inc/class-book.php on line 62
Typography: Tight and Loose Tracking – Pressbooks User Guide ="http://www.w3.org/2000/svg" viewBox="0 0 512 512">

Special Formatting

Typography: Tight and Loose Tracking

Sometimes in your PDF output you will find word spacing that is too loose for your liking. Or, sometimes you might want to tighten or loosen your word spacing (tracking) in order to avoid a widow or orphan. Or you might want to use this to make “thin spaces” in certain kinds of words.

You can tighten or loosen tracking in the following ways:

To tighten a paragraph, go to the TEXT editor, and wrap the paragraph in the following code:

<p class="tight">text text whole para should get tightened</p>

To tighten just a few words in a para, use a <span>, so:

Text text <span class="tight">text needing tightening</span> text text.

You can apply these styles using:

<span class="tight">
<span class="very-tight">
<span class="loose">
<span class="very-loose">

And you can find all this in the STYLES menu in the VISUAL EDITOR.

For the techies, the CSS applied by these various styles is:


.tight,
p.tight {
letter-spacing: -0.25px;
word-spacing: -0.075em;
}

.very-tight,
p.very-tight {
letter-spacing: -0.5px;
word-spacing: -0.09em;
}

.loose,
p.loose {
letter-spacing: 0.25px;
word-spacing: 0.075em;
}

.very-loose,
p.very-loose {
letter-spacing: 0.5px;
word-spacing: 0.09em;
}

License

Icon for the Creative Commons Attribution 4.0 International License

Typography: Tight and Loose Tracking by admin is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book

css.php