Blog

Posts tagged luatex

OpenType-based math typesetting: An introduction to the STIX2 OpenType fonts
By Graham Douglas

In this article we take a brief look at the STIX2 fonts, the latest set of high quality OpenType text and math fonts produced by the Scientific and Technical Information Exchange (STIX) font project. We provide a range of resources including a ShareLaTeX template, a video and a downloadable glyph chart detailing over 5000 glyphs contained in the STIX2 OpenType math font STIX2Math.otf.

A page from the STIX2 math font glyph chart

An example page from the glyph chart for the STIX2 OpenType math font STIX2Math.otf.

READ MORE
Unicode, UTF-8 and multilingual text: An introduction
By Graham Douglas

This article introduces a number of OpenType and Unicode-related topics: starting out with a discussion of what is meant by a “character” and moving on to introduce scripts/languages, Unicode encoding and UTF-8—together with an example of working with a multilingual text file containing English and Arabic text. Our objective is to provide an introduction to some key terms/topics and piece together a basic framework to show how those topics are related—providing users of LaTeX with some helpful background information.

Screenshot showing a multilingual UTF-8 text file open in a HEX editor
READ MORE
An Introduction to LuaTeX (Part 1): What is it—and what makes it so different?
By Graham Douglas
Image Credit: By Per Erik Strandberg

Image Credit: By Per Erik Strandberg sv:User:PER9000 - Own work, CC BY-SA 2.5, Link

In this first article of a new series on LuaTeX, we provide a non-technical background and introduction to help you better understand this incredibly powerful TeX engine: why/how its design enables users to build, design and create a wide range of solutions to complex typesetting and document engineering problems.

READ MORE
How TeX Calculates Glue Settings in an \hbox
By Graham Douglas

This is the third, and concluding, article in a series which takes a look at TeX boxes and glue. The first post Boxes and Glue: A Brief, but Visual, Introduction Using LuaTeX introduced the concepts of boxes and glue and was followed by Pandora’s \hbox: Using LuaTeX to Lift the Lid of TeX Boxes which presented a LuaTeX-based Overleaf project to explore the deeper structures of TeX boxes through the use node graphs. In this final piece we take a “deep dive” into the mechanics of how TeX calculates glue values in an \hbox: a process referred to as setting the glue. We make extensive use of node graphs (introduced in the second article in this series) and show how to use and interpret some of the data they provide: glue_set, glue_sign and glue_order.

READ MORE
Pandora’s \hbox: Using LuaTeX to Lift the Lid of TeX Boxes
By Graham Douglas

Boxes and glue are two key concepts which provide the foundation for TeX’s typesetting model and capabilities. Building on the introductory material in a previous post, Boxes and Glue: A Brief, but Visual, Introduction Using LuaTeX, this extensively-illustrated article examines boxes and glue in more detail. We also present a new LuaTeX-based Overleaf project that enables you to explore the deep inner structure of TeX boxes—providing insights which will help you to truly understand their behaviour.

READ MORE