No description
- TeX 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
A report restarts its section, subsection and equation counters at every chapter. This document says so and then demonstrates it, so a rendering that gets it wrong is visible rather than subtle: chapter 2 opens at 2.1, not 2.3, and its first equation is (2.1), not (2.2). It was held back until go-tex/engine v0.204.0, which defines \@addtoreset — the command report.cls uses to tie the equation counter to the chapter — and makes a counter reset cascade the way the LaTeX kernel's \@stpelt does. |
||
| article.tex | ||
| example.tex | ||
| gotex-demo.sty | ||
| math.tex | ||
| README.md | ||
| report.tex | ||
go-tex examples
Sample documents for the go-tex playground.
The playground opens this repository in its workspace, so these are the files you see when it starts. They are ordinary LaTeX — edit them, and the pane on the right re-typesets as you type.
| file | what it shows |
|---|---|
example.tex |
the document the playground opens with: title block, table of contents, numbered headings, a list, an inline equation |
article.tex |
the tour: sections, mathematics, lists, tables, footnotes, and a package of its own |
gotex-demo.sty |
a small package the article loads, so .sty files are covered too |
math.tex |
a sheet of mathematics: fractions, roots, sums, integrals, Greek |
Everything here is typeset by go-tex/engine, a pure-Go (CGO=0) TeX engine, compiled to WebAssembly and running in the browser. No TeXLive, no server.