Cursor — AI code editor
Cursor is my main AI coding tool. If you were going to try it anyway, this referral gives new accounts 50% off the first month of Pro, Pro+, or Ultra (per Cursor’s current offer).
Example

Example layout based on an example in the Wikipedia article Interlinear gloss (illustrative; Leipzig-style conventions).
Taiwanese Minnan is written here in POJ romanization, the system that marks tone with diacritics. The sentence means “I have not yet decided when I shall return”, and the layout pairs each Minnan word with a short gloss and a free English line below. The free translation does not run word for word, which is exactly what the alignment makes clear.
Two compounds carry the core meaning, with tone written into the spelling:
English wraps the idea in “when I shall return”, a clause that sits in a different place from the Minnan words it translates. So the gloss line stays close to the source order while the free translation reads naturally, and the two do not line up token for token. Aligning them shows which English words answer to which Minnan words despite the reordering.
Each gloss sits left-aligned under its word, and a period inside a gloss such as not.yet joins two English words that translate one Minnan unit. The hyphen keeps a tone-marked compound together as a single token.
For the gloss labels:
Open the example, keep hyphen out of the split characters under Settings → Tokens so the compounds stay whole, and add an IPA line if you want a phonetic row alongside the romanization. Export the result as PNG, SVG, or PDF.
Related examples:
Cursor is my main AI coding tool. If you were going to try it anyway, this referral gives new accounts 50% off the first month of Pro, Pro+, or Ultra (per Cursor’s current offer).