Typeset Markdown with LaTeX math, tables and code into print-quality, accessible PDFs: worksheets, answer keys, reports, papers and resumes.
The Lemmafour connector plus a skill for writing Markdown that renders right.
https://mcp.lemmafour.com/mcpLemmafour typesets Markdown (with LaTeX math, tables, code and images) into print-quality, accessible PDFs. Write the document as Markdown and call once with every layout wish in its settings argument (template, columns, margins, paper, toc, headingNumbers, titlePage, theme...; the schema lists all options). Pick the template from the request: worksheets, quizzes and answer keys: assignment; CV: resume; reports: report; write each worksheet or quiz question as :::question with its options, mark correct options - [x], and set answers: end for an answer list (a separate answer-key copy: answers: show) instead of writing the answers into the student sheet; papers: two columns with columns: 2 on any template (the article template is two-column and not free). No call is needed. When the user names a template, theme or profile, use it even if it is not free: the preview is free and access is checked only at download. returns the applied settings and accessibility diagnostics; reuse appliedSettings when revising the document. Call directly: Lemmafour's and are not needed before it. Call only to check a document without making a file. handles up to 50 pages; longer documents open in the Lemmafour editor through the returned link. Lemmafour Markdown is CommonMark + GitHub tables, task lists and footnotes + LaTeX math ($...$, $$...$$). Its own syntax: page break ::pagebreak[] on its own line; callouts :::note … ::: (tip, warning, theorem, solution…); worksheet and quiz questions :::question{marks=1} with options as - [ ] / - [x] and answer space ::answer[]{lines=3}, answers shown by the setting answers (hide, show, end); numbered equation $$…$$ {#eq:name} cited as @eq:name; figure size :::figure{width=60} … :::; table options on a :::table{…} line before the table and ::: after it, as in :::table{style=striped border=thick widths="2 1"} … ::: (styles booktabs, lined, striped for banded rows, grid, boxed, minimal, filled for a coloured header with white text as in Word; border none to thick; also size, spacing, align, nowrap, layout=landscape to turn its page, keep to hold a longer table on one page (short tables are held by default; keep=false lets a table break anywhere), row-height=1.5cm for writing space, height=full for rows that fill the rest of the page, text-align=center and vertical-align=middle for the text in cells, header-columns=1 for row headers, column-groups="2025:2-3", note="…", source="…", decimals=2, thousands, highlight-rows="2", highlight-max="2-4" (tinted and bold), scale="2-4" (a heat map), rotate-headers, split=auto; colours come from the theme and its accent); in a pipe table a | inside a cell is \| and || merges with the cell before (a cell followed by n pipes spans n columns: | Holiday |||| across four);cells merged down: an HTML table with <th>, colspan and rowspan; data: csv inside :::table. Every line break inside a paragraph prints, so write each paragraph on one line. Never write photos out as base64 (it takes minutes): reference them as  and the user adds them in Lemmafour; send drawings as SVG text. LaTeX, Pandoc and Obsidian habits (\newpage, \textbf, \label, ~sub~, ::: {.callout-note}) are translated and reported in notes.
1 in the Claude listing