LaTeX and equations · Academic
LaTeX import and equations: from .tex to print and EPUB.
Open a whole .tex manuscript in LeafBound, keep the equations as LaTeX, and export a press-ready print PDF and accessible ebook editions with MathML from the same source. Two-column page-bottom commentary for study editions comes with it. In the Academic tier and above.
Import
The whole manuscript, not one equation at a time.
A LaTeX author already has a finished book in a form that makes a fine print PDF. The hard part has been getting it into a tool that also writes a clean ebook. LeafBound now opens the .tex file itself.
- One file in. Open the main .tex file and LeafBound reads the manuscript as a whole, with its included files, BibTeX sources, figures, tables, cross-references and every equation.
- A summary to review. After import, LeafBound shows what it found and what it skipped, so nothing disappears without a note.
- Equations stay LaTeX. Each one keeps its source, so you can edit it in LeafBound and it is typeset for print and written as MathML for the ebooks.
- Still editable afterwards. The imported book is an ordinary LeafBound book: pick a theme such as Treatise, set the trim, run preflight, and export Word (.docx) for a co-author at any time.
TikZ drawings, \includepdf and some packages are not imported. The LaTeX import guide explains what to do with them, and the pandoc route for anyone who needs it.

What comes across
Element by element, what the importer keeps and what it skips.
| In the .tex file | In LeafBound |
|---|---|
| Chapters and sections | Become LeafBound chapters and headings, so the contents page, running heads and ebook navigation follow them |
| Running text and emphasis | Paragraphs, italics and bold come across as styled text that any theme can set |
| Equations | Inline and displayed equations keep their LaTeX; numbered equations stay numbered; typeset in print, MathML in ebooks |
| Footnotes | Become footnotes on the same page in print and linked notes with backlinks in every ebook edition |
| Figures | Included graphics become images; LeafBound asks for a description of each one before an ebook export |
| Tables | Become LeafBound tables, which print and export to EPUB and Word |
| Cross-references | Labels and references are kept, so equation, figure and section numbers follow the book |
| Bibliography (.bib) | Becomes the source library; citations stay linked to their sources |
| Drawn figures (TikZ, PGF) and \includepdf | Not imported. Render drawings to PNG or SVG and include them as graphics |
| Very large theses | Import, but take a while to print; leave the export running |
Equations
Typeset in print, MathML in the ebook.
Equations are the reason a math or science book is hard to publish well in both forms. LeafBound keeps one source for both.
Inline and displayed
Inline equations sit in the running text. Displayed equations stand on their own line and are numbered, so readers can cite them, and the numbers update as chapters change.
Sized to the trim
Scale any equation from 25% to 400% of the body size. A tall fraction or a matrix in a 6 x 9 in trim gets the room it needs without changing the body type.
Readable by screen readers
Every ebook edition carries the equations as MathML, not as pictures. Apple Books renders it; Kindle support varies by device, so test in Kindle Previewer. The equations guide has the reading-app matrix.
Study editions
Two-column commentary at the foot of the page.
A study edition puts the source text on top and the commentary beneath it, on the same page, in a fixed relationship as the pages reflow. Bibles, classical texts and annotated editions have been set this way for centuries.
- Two columns under the text, divided by a hairline in the gutter, with the commentary keyed to the passage above it.
- Exact preview. The page beside your text is the real print PDF, recomposed a moment after you stop typing, so you see how much commentary a page can carry before the text moves on.
- Single column too. The one-column layout stays available for lighter notes. The Study and commentary book type switches commentary on.
- Notes and citations alongside. Footnotes sit on the same page as their reference, and citations come from the source library as notes and a bibliography in Chicago, APA 7, IEEE or Vancouver style. The footnotes in ebooks guide shows what readers see in each store.

Out the other side
One source, four outputs, and the same checks every LeafBound book gets.
| Output | What you get |
|---|---|
| Print PDF | Every font embedded, equations typeset on the page as vector art; print preflight checks the finished file. PDF/X-1a:2001 or PDF/X-3:2002 in Pro |
| EPUB 3 and store editions | Kindle, Apple Books, Kobo, Google Play and Nook editions with MathML equations, linked notes and EPUB Accessibility 1.1 metadata |
| Word (.docx) | An editable export at any time, for a co-author, a copy editor or a publisher who works in Word |
| LaTeX (.tex) | A LaTeX export of the book, for a journal, a press or a co-author who works in LaTeX |
Straight answers
The limits of LaTeX import.
- Drawings and inserted PDFs. TikZ and PGF drawings and \includepdf pages are not imported; render them to images first.
- Very large theses. A very large thesis imports, but takes a while to print. Leave the export running.
- Packages. The importer reads a defined set of packages and environments, listed in the release notes for each version. Anything outside it is skipped, not guessed at.
LaTeX questions
Can LeafBound import a whole .tex manuscript?
Yes, in Academic. Open the main .tex file and LeafBound reads the manuscript as a whole, following \input and \include: chapters and sections, the running text, footnotes, figures, tables, cross-references and every equation. It then shows a summary of what it found for you to review.
Which LaTeX packages does the importer read?
The release notes list the packages and environments the importer understands for each version. Document structure, equations, footnotes and included graphics are the core. A package the importer does not know is skipped, and its content is kept as text where it can be.
What happens to my .bib file?
LeafBound reads it. The entries become the book’s source library and the citations in the text become live citations, so LeafBound produces notes and a bibliography in Chicago, APA 7, IEEE or Vancouver style that update together.
How do equations work in print and in the ebook?
Type or import LaTeX for each equation, inline or displayed and numbered. LeafBound typesets it in the print PDF and writes MathML into every ebook edition, so screen readers can read it. You can scale any equation from 25% to 400% of the body size. The equations guide shows what each reading app renders.
Does Kindle show MathML?
Partly, and it depends on the device and app. Amazon converts your EPUB to its own format and does not promise MathML everywhere. Open the EPUB in Kindle Previewer and read an equation-heavy chapter at phone size; if equations are missing, publish the math book as print replica on Kindle, which keeps the typeset pages exactly, and say so in the description.
What is two-column commentary for?
Study editions, commentaries and annotated texts: the source text sits on top and the commentary runs beneath it in two columns, divided by a hairline in the gutter, on the same page. The Study and commentary book type switches it on; single-column commentary is still there for shorter notes.
Which tier includes LaTeX import?
LaTeX import, equations, two-column commentary and the source library are in the Academic tier and above. The 4-day trial includes them.
Keep reading
Open the .tex file. Export the book.
The free 4-day trial includes LaTeX import and every Academic tool. Import your manuscript, check the equations in the preview and export print and EPUB before you pay.
Early access · Author from $79 once · free 4-day trial · Windows 10 and 11