Commit Graph
176 Commits
Author SHA1 Message Date
gloamxun 9cd8721846 Start theorem counters from setcounter values 2026-10-25 00:36:53 +08:00
gloamxun d379d941bb Start equation numbering from setcounter values 2026-10-25 00:34:19 +08:00
gloamxun 2640884721 Offset section and float counters with setcounter 2026-10-25 00:32:16 +08:00
gloamxun ea0468783e Use heading short titles in the table of contents 2026-10-25 00:27:51 +08:00
gloamxun 19c492b11d Open float lists with configurable headings 2026-10-25 00:25:50 +08:00
gloamxun 0dbca4305b Open the tables of contents and bibliography with headings 2026-10-25 00:23:41 +08:00
gloamxun f23a841e79 Rename float and abstract labels with renewcommand 2026-10-25 00:21:11 +08:00
gloamxun fd6217b3c7 Scale tabular rows with arraystretch
\renewcommand{\arraystretch}{factor} (or \def\arraystretch) multiplies
the tabular line height and recomputes the table height from the new row
heights, so classes that loosen table leading render like LaTeX.
2026-10-25 00:17:44 +08:00
gloamxun a923ec0970 Apply tabcolsep to tabular columns
The captured tabular path passed \tabcolsep as scaled points to a
constructor that expects points, so the default gap was huge. Pass the
6pt default properly and let \tabcolsep (or \setlength{\tabcolsep})
override the per-boundary glue, keeping the table width in step.
2026-10-25 00:16:09 +08:00
gloamxun 1a74ece3ba Accept baselinestretch as the linespread factor
LaTeX classes often set leading through \renewcommand{\baselinestretch}
instead of \linespread. Both forms, including \def\baselinestretch, now
feed the same factor and scale the class baseline.
2026-10-25 00:11:49 +08:00
gloamxun e43d5fcaaa Scale the class baseline with linespread
\linespread{factor} in the preamble multiplies the article class
\baselineskip (12/13.6/14.5pt by base size), clamped to a sane range, so
class files that loosen leading render with the wider interline glue.
2026-10-25 00:09:43 +08:00
gloamxun 6aa9d70a49 Keep inline math inside styled runs 2026-10-25 00:04:54 +08:00
gloamxun 5b160f9780 Render inline verb spans in the mono face 2026-10-24 23:59:20 +08:00
gloamxun 2868a8f0d3 Draw cline partial rules in alignment tables 2026-10-24 23:54:38 +08:00
gloamxun 78ffd054d4 Span multicolumn cells in LaTeX tables 2026-10-24 23:51:28 +08:00
gloamxun 476be05163 Place standalone graphics as in-text floats 2026-10-24 23:42:14 +08:00
gloamxun a9614ccee2 Honour vspace as paragraph glue 2026-10-24 23:39:53 +08:00
gloamxun 32ca78bff5 Honour secnumdepth and tocdepth counters 2026-10-24 23:38:08 +08:00
gloamxun 9aacb91184 Resolve graphics through graphicspath directories 2026-10-24 23:35:14 +08:00
gloamxun 46f86c771e Size included graphics from their TeX options 2026-10-24 23:32:19 +08:00
GloamXun 0f8aff7290 Embed project images in route-D previews and PDFs 2026-10-24 23:29:15 +08:00
gloamxun ae69eba64d Paint inline size changes at their own size 2026-10-24 23:22:29 +08:00
gloamxun 9b44d68440 Expand today and default the title date 2026-10-24 23:16:07 +08:00
gloamxun b30bafca2b Annotate href links in route-D PDFs 2026-10-24 23:00:41 +08:00
gloamxun fbb316baa9 Honour item labels in list environments 2026-10-24 22:54:16 +08:00
gloamxun 4ac3add870 Number paragraph and subparagraph headings 2026-10-24 22:51:14 +08:00
gloamxun 874a327dca Expand href text and url typewriter text 2026-10-24 22:42:17 +08:00
gloamxun 8610a6c016 Preserve verbatim environments as monospaced lines 2026-10-24 22:39:43 +08:00
gloamxun 8955babea8 List figures and tables from their numbered captions 2026-10-24 22:37:18 +08:00
gloamxun b2f5b67b07 Expand tableofcontents into numbered heading lines 2026-10-24 22:35:19 +08:00
gloamxun 491d4e528a Honour conditional assignments in the body 2026-10-24 22:23:54 +08:00
gloamxun 6c81a07766 Execute newif conditionals in the document body 2026-10-24 22:21:47 +08:00
gloamxun e99fab2086 Expand newenvironment definitions in the preamble 2026-10-24 22:15:51 +08:00
gloamxun 568442a75b Execute def and let definitions from the preamble 2026-10-24 22:12:24 +08:00
gloamxun a5da5c9521 Execute newcommand macros from the preamble 2026-10-24 22:07:04 +08:00
gloamxun e008741aa5 Lay out inline math in paragraphs 2026-10-24 21:13:06 +08:00
gloamxun aae046a2f0 Place table captions above their tabular and footnote thanks notes 2026-10-24 21:08:04 +08:00
gloamxun ac1bf660af Nest list environments with depth-aware indentation 2026-10-24 21:04:21 +08:00
gloamxun 4ca3302367 Define custom theorem environments with newtheorem
Parse \newtheorem{env}[shared]{Display},
\newtheorem{env}{Display}[within] and \newtheorem*{env}{Display}
from the preamble. Custom environments gain a bold heading with their
display name, share counters through the optional parent, and can scope
their numbers to the enclosing section; the starred form stays
unnumbered. Unrecognised files and cycles are unaffected.
2026-10-24 21:00:45 +08:00
gloamxun 9599436447 Expand input and include files in project previews
Project previews now expand \input{...} and \include{...} from the
project store (adding a .tex suffix when needed) before route-D parses
the source. Unknown paths and cycles leave the directive as literal
text.
2026-10-24 20:56:54 +08:00
gloamxun 67eb719cbd Number theorem-like environments and resolve their labels 2026-10-24 20:53:43 +08:00
gloamxun a9fbc9b850 Carry table environments as floats with their tabular body 2026-10-24 20:48:29 +08:00
gloamxun 5c04fa83ab Carry figure environments as floats 2026-10-24 20:44:37 +08:00
gloamxun ea06e299d6 Resolve citations from a thebibliography block 2026-10-24 20:38:44 +08:00
gloamxun d4efee043c Page-set footnotes as numbered insertions 2026-10-24 20:35:48 +08:00
gloamxun 6176edccc4 Number appendix sections with letters 2026-10-24 20:30:48 +08:00
gloamxun d982e9266c Resolve section labels and references 2026-10-24 20:28:11 +08:00
gloamxun 17efd542f7 Join and authors and drop thanks notes 2026-10-24 20:25:46 +08:00
gloamxun b947f476da Expand the abstract environment 2026-10-24 20:24:02 +08:00
gloamxun 5ff94d8f92 Number sectioning headings with article counters 2026-10-24 20:22:31 +08:00