#LuaLaTeX

2026-02-10

Update to my (unofficial) #LuaLaTeX package "minos".

The most noteworthy change is that the "garamond" font profile now uses both Garamontio and GaramontioSans (both beautiful fonts are by @mc_wiki); it previously used the older Ysabeau (of which GaramontioSans is an improved fork) for sans-serif.

Also: further adjustments to Minion 3 kerning; some documentation fixes.

Git repository: codeberg.org/ajcain/minos

Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

To see what "minos" can do, look at ‘Form & Number: A History of Mathematical Beauty’ [archive.org/details/cain_forma], ‘An Annotated Mathematician's Apology’ [archive.org/details/hardy_anno], or ‘Nine Chapters on the Semigroup Art’ [archive.org/details/cain_semig]. (All freely available under #CreativeCommons licences.)

#TeXLaTeX #typography

The first page of the documentation for the "minos" LuaLaTeX package. The main title is ‘minos’, shown oversized and in red. The subtitle is ‘The package used to create “Form & Number”, “An Annotated Mathematician’s Apology”, “Nine Chapters on the Semigroup Art”.’
:flag_enby_wartime: 𝕛𝕦𝕝𝕖𝕤 :antifa:blitter@catgirl.cloud
2026-01-31

is there a way to configure #lualatex to abort on non-existent input file (instead of dumping me in this annoying shell that is annoying to leave?)

#latex

2026-01-24

Small update to ‘Form & Number: A History of Mathematical Beauty’ [archive.org/details/cain_forma].

Trivial corrections to the text and index and some minor clarifications and additional citations following comments from others.

Sample pages attached from the two-sided print variant showing a spread about the contribution of François Le Lionnais, a chemist and writer, and one of the founders of the OuLiPo group of writers [en.wikipedia.org/wiki/Oulipo]. Le Lionnais wrote some important articles about mathematical beauty in the late 1940s.

I have released the #LuaLaTeX style I used for this book: codeberg.org/ajcain/minos (Git repository) codeberg.org/ajcain/minos/rele (Documentation and source .zip/.tar.gz)

#MathematicalBeauty #MathHist #MathArt #aesthetics #TeXLaTeX

p.676 of ‘Form & Number: A History of Mathematical Beauty’, showing the beginning of a section on François Le Lionnais. At the bottom of the page is a diagram illustrating the first iterations in generating a Koch curve.p.677 of ‘Form & Number: A History of Mathematical Beauty’, showing the continuation of the section on François Le Lionnais. At the top of the page is a diagram illustrating the nine-point circle of a triangle, which passes through the midpoints of the sides, the feet of the altitudes, and the midpoints of the segments between the orthocentre and the vertices.
2026-01-15

Various minor improvements to my #TikZ reference card. (Images attached.)

Download PDF or #LuaLaTeX source .zip/.tar.gz: codeberg.org/ajcain/cain_tikzr

Git repository: codeberg.org/ajcain/cain_tikzr

The card is information-dense, merely reminder of syntax, not an explanation of meaning. The PDF is A4+color but the source can be compiled for letter paper and/or greyscale (see the README).

#TeXLaTeX #typography #Cheatsheet

Front of a reference card for TikZ. The various elements are arranged densely and hierarchically, connected by arrows.Back of a reference card for TikZ, with a similar design to the front, and containing a copyright notice and Creative Commons licence statement.
2026-01-08

My former student lent me their printed and bound copy of ‘Nine Chapters on the Semigroup Art’, my lecture notes for a tour through semigroup theory, in which they had marked various typos and minor errors, and points where they thought more explanation was required, so that I could make some improvements.

This was actually the first time I had ever seen it printed in full (photos attached). I had only printed individual chapters while working on it.

I think it looks pretty good, although I have improved the typography in the years since this copy was printed. In particular, I tightened the letter spacing used for theorem headers.

I released the #LuaLaTeX style "minos" I first developed for these notes (much revised and extended since) a few weeks ago: codeberg.org/ajcain/minos (Git repository) codeberg.org/ajcain/minos/rele (Documentation and source .zip/.tar.gz)

‘Nine Chapters’ itself is (and has always been) #OpenAccess: archive.org/details/cain_semig

#mathematics #typography #TeXLaTeX #semigroups

The front cover of printed copy, bound with a metal comb, of ‘Nine Chapters on the Semigroup Art’ by Alan J. Cain. The page shows the author's name, the title, a descriptor/subtitle ‘Lecture notes for a tour through semigroups’, the date 2019, and the locations ‘Porto & Lisbon’.‘Nine Chapters on the Semigroup Art’, open at pages 20--1, as an example of the typography. Each page has important points flagged in the outer margin. On the recto (right-hand) page, the margin also contains a small figure illustrating the concept of a Rees factor semigroup. Headings and defined terms have been underlined or outlined in colour by a reader.‘Nine Chapters on the Semigroup Art’, open at pages 66--7, as an example of the typography. Each page has important points flagged in the outer margin.
2026-01-04

I figured out how to make these previews work. The problem did turn out to be that lualatex doesn't produce .dvi files. The aptly named dvilualatex binary needs to be used for this. The solution was to set the latex-compiler property of the org-preview-latex-process-alist members accordingly:

"dvilualatex -interaction nonstopmode -output-directory %o %f"

To quote the Emacs enthusiast interview, you can probably do this in a smarter way (and I'm all ears/eyes for suggestions).

For now, though, it works! As with most problems, this one just needed a fresh set of eyes and putting the right words in the search engine.

#emacs #orgmode #lualatex

2026-01-01

Had I printed the #sydbox manual pages as a #pdf and sell it on a print-on-demand service, would you buy it to contribute to the project? It's pretty basic at the moment but looks roughly reasonable. Pipeline is #scdoc -> #man -> #pandoc -> #markdown -> #pandoc -> #latex -> #lualatex -> #pdf. I regenerate it every release, it's about 300 pages: gitlab.exherbo.org/sydbox/sydb #exherbo #linux #security

Javier Bezosjbezos
2025-12-22

(1/3)
These are the new features the LaTeX support (with ) has brought us this 2025. Remember that, unlike some AI chats mistakenly claim, babel provides comprehensive support for and , as well as for and (with fontspec).

2025-12-17

Small update to my (unofficial) #LuaLaTeX package "minos". Mostly small changes for consistency, with one substantial fix to typesetting the table of contents (The problem only arose when neither hyperref nor tagging-compatible code were being used.)

Git repository: codeberg.org/ajcain/minos

Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

To see what "minos" can do, look at ‘Form & Number: A History of Mathematical Beauty’ [archive.org/details/cain_forma], ‘An Annotated Mathematician's Apology’ [archive.org/details/hardy_anno], or ‘Nine Chapters on the Semigroup Art’ [archive.org/details/cain_semig]. (All freely available under #CreativeCommons licences.)

#TeXLaTeX #typography

The first page of the documentation for the "minos" LuaLaTeX package. The main title is ‘minos’, shown oversized and in red. The subtitle is ‘The package used to create “Form & Number”, “An Annotated Mathematician’s Apology”, “Nine Chapters on the Semigroup Art”.’
2025-12-17

I have been perusing some beautifully typeset notes for three lectures on logic that @consequently shared recently: consequently.org/handouts/whl- (sample pages attached)

The document has a very elegant combination of fonts (all freely available under the Open Font Licence):

• Alegraya ht for the body text [huertatipografica.com/en/fonts];

• Alegraya Sans ht for the sidenotes and headings [huertatipografica.com/en/fonts];

• AMS Euler for mathematics [exists in various versions, e.g. ctan.org/pkg/euler-math].

The layout is compact without being overly dense and the sidenotes are cleanly separated from the main text by colour and font.

I *think* the "ebproof" package [ctan.org/pkg/ebproof] was used for the proof trees. (Please correct me if I am wrong, @consequently)

I understand that my own package "marginalia" [ctan.org/pkg/marginalia] was used to create the sidenotes — and seeing it contribute in a small way to beautiful results like this is part of what makes package creation worthwhile. :-)

#typography #TeXLaTeX #LuaLaTeX #logic #OFL

Page 1 of lecture notes on logic by @consequently@hcommons.social, showing the headings and some sidenotes. (Full text at link in toot.)Page 4 of lecture notes on logic by @consequently@hcommons.social, showing sidenotes and some proof trees. (Full text at link in toot.)
2025-12-12

A few days ago I released publicly the #LuaLaTeX style "minos", which I developed and used for my books, including ‘Form & Number: A History of Mathematical Beauty’ [archive.org/details/cain_forma] and ‘An Annotated Mathematician's Apology’ [archive.org/details/hardy_anno].

As a result of various emails from some of the people who originally asked me to make it available, I have made some improvements to the code and documentation. (I still doubt it will ever be improved enough for me to submit it to CTAN as an ‘official’ package, although it is possible that I might separate parts of it into packages for CTAN.)

Git repository: codeberg.org/ajcain/minos

Download documentation or source .zip/.tar.gz: codeberg.org/ajcain/minos/rele

Some of the typographical techniques are discussed in an #OpenAccess article in TUGboat: tug.org/TUGboat/tb46-1/tb142ca

#TeXLaTeX #typography

The first page of the documentation for the "minos" LuaLaTeX package. The main title is ‘minos’, shown oversized and in red. The subtitle is ‘The package used to create “Form & Number”, “An Annotated Mathematician’s Apology”, “Nine Chapters on the Semigroup Art”.’
2025-12-08

I have made available the #LuaLaTeX style used in my books, including ‘Form & Number: A History of Mathematical Beauty’ [archive.org/details/cain_forma], after several people emailed me to express an interest. The style (called "minos") is available here: codeberg.org/ajcain/minos

The style was written for my own use, and so the documentation is basic and the functionality follows precisely my own needs. I am not going to submit it to CTAN. It is probably more useful as a source of ideas and experimentation than as a style for anyone else.

1/2

#TeXLaTeX #typography

The first page of the documentation for the "minos" LuaLaTeX package. The main title is ‘minos’, shown oversized and in red. The subtitle is ‘The package used to create “Form & Number”, “An Annotated Mathematician’s Apology”, “Nine Chapters on the Semigroup Art”.’
2025-12-08

A new version of my #LuaLaTeX package ‘marginalia’ is now available on CTAN. [ctan.org/pkg/marginalia]

A new feature allows adding an arrow or other symbol next to the line relevant to the marginal note. (Example attached.) Even if the position of the marginal note is automatically adjusted (to avoid overlaps etc.), the arrow remains in place.

New vertical alignment options are available: centrally positioned (probably better for placing pictures in the margin) or midway between top/bottom lines (probably better for text-only margin notes).

The documentation has been improved with more explanation and examples.

General info: ‘marginalia’ allows the placement of marginal notes (or other marginal content) anywhere, without \marginpar’s limits, and automatically adjusts positions to prevent either overlaps or content being pushed off the page, and uses key–value settings that allow fine-grained customization.

There is an #OpenAccess introduction to ‘marginalia’ in ‘TUGboat: Communications of the TeX Users Group’: tug.org/TUGboat/tb46-1/tb142ca

#TeXLaTeX #typography #marginalia

The right-hand end side of some body text with a margin note reading ‘This is a middle-aligned margin item pointing to the relevant line of text.’ The margin note has seven lines and the fourth line is aligned with the corresponding line of body text; between them, a triangular arrowhead points from the note to the body text.
Mathias MagdowskiMMagdowski@bildung.social
2025-12-02
Bildschirmfoto der Webseite:

MathFonts.github.io
LuaLaTeX Expressions Font Test
Settings / Font Selection

Horizontal Vertical
Default    STIXTwo    NewComputerModern    NewComputerModernSans    LatinModern    Cambria    Asana    DejaVu    FiraMath    Garamond    GFSNeoHellenic    LeteSansMath    Libertinus    LucidaBright    Minion    TeXGyreBonum    TeXGyrePagella    TeXGyreSchola    TeXGyreTermes    XITS    NotoSans    ArsenalSans    Plex    Erewhon    OldStandard    XCharter    KpMathRegular    KpMathSans    Pennstander    Luciole    ConcMath    NagwaTK    Euler   
Settings / Font Selection

Horizontal Vertical
Default    STIXTwo    NewComputerModern    NewComputerModernSans    LatinModern    Cambria    Asana    DejaVu    FiraMath    Garamond    GFSNeoHellenic    LeteSansMath    Libertinus    LucidaBright    Minion    TeXGyreBonum    TeXGyrePagella    TeXGyreSchola    TeXGyreTermes    XITS    NotoSans    ArsenalSans    Plex    Erewhon    OldStandard    XCharter    KpMathRegular    KpMathSans    Pennstander    Luciole    ConcMath    NagwaTK    Euler   
Settings / Font Selection
Mathias MagdowskiMMagdowski@bildung.social
2025-12-02

Neil Soiffer und David Carlisle haben eine neue Website zum Testen von #OpenTypeMath-Schriftarten erstellt.

mathfonts.github.io/

Sie ist hauptsächlich auf die #MathML Darstellung ausgerichtet, enthält aber auch Tests, die PDF-Dateien (auf texlive.net) generieren, die die #LuaLaTeX Darstellung der bereitgestellten Ausdrücke mit allen Schriftarten zeigen.

Hier stehen etwa 30 Schriftarten zur Verfügung, was wohl nahezu allen frei verfügbaren #OpenType #Mathematik #Schriftarten entspricht.

Bildschirmfoto der Webseite:
MathFonts.github.io
OpenType Math Fonts

This repository hosts a collection of OpenType Math fonts in OTF and WOFF2 formats along with some test pages displaying the pages with MathML.
Using the Web Fonts Served from this site

Each font family made available from this site has a mathfonts.css file which defines a suitable CSS font-face. It does not define a CSS selector that selects this family, allowing you to select different font families in different parts of the document.

So if for example you wish math to be in Noto Sans Math, add:

  <link rel="stylesheet" href="https://mathfonts.github.io/NotoSans/mathfonts.css"/>
  <style>
    math {font-family: Noto Sans Math;}
  </style>
  

Some of the mathfont.css files also define suitable font face names for a matching text font, for example you could add
body {font-family: Noto Sans;}
If the entire document should be in Noto Sans. Note however that in general the text fonts are not served from this site and the text font declarations rely on locally installed fonts.
2025-12-02

Neil Soiffer und David Carlisle haben eine neue Website zum Testen von #OpenTypeMath Schriftarten erstellt. mathfonts.github.io Sie ist auf die MathML-Darstellung ausgerichtet, enthält aber auch Tests, die PDF-Dateien (auf texlive.net) generieren, die die #LuaLaTeX Darstellung zeigen.

Bildschirmfoto der Webseite:
MathFonts.github.io
OpenType Math Fonts

This repository hosts a collection of OpenType Math fonts in OTF and WOFF2 formats along with some test pages displaying the pages with MathML.
Using the Web Fonts Served from this site

Each font family made available from this site has a mathfonts.css file which defines a suitable CSS font-face. It does not define a CSS selector that selects this family, allowing you to select different font families in different parts of the document.

So if for example you wish math to be in Noto Sans Math, add:

  <link rel="stylesheet" href="https://mathfonts.github.io/NotoSans/mathfonts.css"/>
  <style>
    math {font-family: Noto Sans Math;}
  </style>
  

Some of the mathfont.css files also define suitable font face names for a matching text font, for example you could add
body {font-family: Noto Sans;}
If the entire document should be in Noto Sans. Note however that in general the text fonts are not served from this site and the text font declarations rely on locally installed fonts.
2025-11-28

Add tagging to ‘Form & Number’ may take some time: I might have to implement a temporary replacement for the inline lists from the "enumitem" package (which I believe are not yet implemented for the new interfaces created by the tagging project), and I may have to refactor various pieces of dark magic in the ‘F&N’ #LuaLaTeX code.

2025-11-15

‘Bertrand Russell & Trinity: A college controversy of the last war’ is a pamphlet written by G.H. Hardy in 1942, giving an account of the dismissal of Russell from his Trinity College lectureship in 1916 following his criminal conviction for anti-war political activity. (Hardy was at the time a fellow of Trinity and opposed Russell's ouster.)

I have uploaded a re-typeset version of Hardy's pamphlet to the Internet Archive [archive.org/details/hardy_russ].

Creating this version was an exercise for me to learn how to (start to) adapt my LaTeX styles to the new interfaces created by the ongoing LaTeX tagging project [latex3.github.io/tagging-proje]. (A #TaggedPDF contains supplementary information to assist screen reading software, data extraction, etc.)

Also, Hardy's work is in the public domain; there seemed to be no downloadable ebook version of this pamphlet; and I thought that it would be a useful companion to the ‘Annotated Mathematician's Apology’ [archive.org/details/hardy_anno].

I have made available the #LuaLaTeX source code on #Codeberg, in case anyone is interested in how the style was created: codeberg.org/ajcain/hardy_russ

#GHHardy #BertrandRussell #WorldWarI #HistPhil #TeXLaTeX #Accessibility

Javier Bezosjbezos
2025-11-11

Revised and completed the page on language naming with babel, the multilingual framework for latex, lualatex and xelatex. Names are based on modern standards, particularly the Unicode CLDR.
latex3.github.io/babel/guides/

2025-10-28

My #OpenAccess book ‘Form & Number: A History of Mathematical Beauty’ has been updated: archive.org/details/cain_forma

Karl Berry, the treasurer of the TeX Users Group and one of the editors of its journal ‘TUGboat’, and Frank Plastria, Professor Emeritus at Vrije Universiteit Brussel, have (very kindly!) been reading and commenting on the text. Karl also ran his suite of automated tests on the #LuaLaTeX source files.

As a result, the new version incorporates many corrected typos and small improvements.

Thank you, Frank and Karl!

(The new PDF is available for download immediately; archive.org will re-generate images for the in-browser reader during the next few hours.)

#HistMath #HistSci #MathArt #aesthetics #InternetArchive

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst