Latest news 2019-11-04: The giveaway of two signed copies of “Quack, quack, quack. Give my hat back!” has closed and the winning entrants have been selected. Thank you to everyone who took part.

Gallery

A selection of images or sample documents related to my books or packages or to code I have helped develop. For some great examples of images created using LaTeX, have a look at the TikZ and PGF gallery on texample.net, or for some examples of what can be done with TeX have a look at The TeX showcase.

The purpose of LaTeX-related sections of the gallery is to illustrate various styles that can be created with the particular package. If you want to know how to do something not illustrated here or you want to know how to adapt one of these examples, please post your query to an appropriate site such as TeX on StackExchange or The LaTeX Community Forum.

Click on the images below for details.

If you have a small screen, you may prefer to switch on the small image setting.

glossaries

These are some sample documents that use the glossaries package. Most of these examples use dummy lorum ipsum text, one of them uses the sample image files provided by the mwe package, which is available on both MiKTeX and TeX Live, and one of them uses the sample bibliography file xampl.bib, which should be readily available in your TeX distribution. Make sure you have an up-to-date version of the glossaries package if you want to try any of these examples. For help with building the glossary see Incorporating makeglossaries or makeglossaries-lite or bib2gls into the document build.

More

glossaries-extra

The glossaries-extra package is an extension to the glossaries package. It provides better abbreviation handling and extra features, as demonstrated by these examples. For help with building the glossary see Incorporating makeglossaries or makeglossaries-lite or bib2gls into the document build.

Initialisms

The dots in the abbreviations in this example are automatically inserted through the use of category attributes. The sentence terminator following commands like \gls can be automatically discarded for those entries.

image showing sample document with initialisms

Abbreviations With Translations

An alternative to the base glossaries example this example uses the more convenient glossaries-extra settings.

image of document containing a sample section and abbreviation list including translations in parentheses

Mixed Glossary with Emphasis (glossaries-extra.sty)

This is an alternative to the similar example with just the base package.

image of sample document with first use emphasized (except for the short forms)

Mixing Styles

This rather colourful example isn’t encouraging garish documents, but is illustrating how you can apply different styles to entries according to their category and category attributes. With just the basic glossaries.sty package, different styles may only be applied per glossary type, whereas in this example all entries are in the same glossary.

image of 3-column glossary with name (in various colours) optionally followed by symbol in first column

Adjusting Parenthetical Style

This example adjusts the user parenthetical style so that only the long form is displayed on first use and the short form on subsequent use. Both the long and short form are emphasized. With the introduction of the long-only-short-only style, that may now be used as an alternative.

image of sample document with bacteria referenced in text and listed in a glossary.

Abbreviations with Footnotes Sample

This example compares the footnote and postfootnote styles (using the small-caps variant).

image of sample document showing abbreviations in text with footnote markers and a glossary

Adjusting the alttree Style

The alttree style is redefined by the glossaries-extra-stylemods package to make it more flexible. This example uses the commands provided by this package to adjust the style. The location list and associated image are placed in the right margin and the entry name is on the left.

image of glossary with names in coloured boxes in left margin and page number in coloured box in right margin with image below

Abbreviation Styles

This example demonstrates some of the predefined abbreviation styles.

image of sample abbreviations each in a different style

Aliases

This example demonstrates the use of the alias key.

image of sample glossary listing real and fiction people and their aliases

Units (glossaries-extra.sty)

This example demonstrates the use of the category key in combination with the post-link hook to append the entry’s symbol in the text on first use. This is an alternative to using the abbreviation mechanism.

image of sample document referencing units followed by a glossary

Standalone Entries

Instead of displaying a sorted list, this example uses standalone entries. Since no sorting or indexing is required, the build process is quite simple.

image of sample document with entry name in section header followed by description in italic with an image in the right margin

Mini-Glossary

This example provides an environment that displays a mini list of terms at the end of it. This is in addition to the main glossary at the end of the document. There’s a similar example for bib2gls.

image of sample document with an equation followed by a short list of symbols and a full glossary at the end

bib2gls

With the base glossaries package you can sort and collate using makeindex or xindy or using TeX. (See the glossaries performance page for a comparison.)

The glossaries-extra package additionally provides a way of simply listing all defined entries in the order of definition without the need for an external tool, but it also provides another sorting and collation method and that’s with bib2gls. Some of the examples below can be found in bib2gls’s examples directory and are described in more detail in the “Examples” chapter of the bib2gls user manual. For help with building the glossary see Incorporating makeglossaries or makeglossaries-lite or bib2gls into the document build.

More

Performance

More

arara

Paulo Cereda’s cool automation tool arara has been upgraded to version 4.0 and with it comes some new localisation! Here are some screenshots. (That’s Broad Norfolk, in case you’re confused.)

More

Book Launch Photos

Photos from book launches.

More

© 2019 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs