diff options
| author | John MacFarlane <[email protected]> | 2025-08-27 13:08:28 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-08-27 13:09:07 +0200 |
| commit | 27851bbe9dc005b85f885a94925371dd3903d4c6 (patch) | |
| tree | da8c2a007bd1408234b758280a9c08f1a0716db5 /data | |
| parent | 1882f0088af3385154e40c6a11142106029b42ed (diff) | |
LaTeX writer: include cancel package only if needed.
That is, only if there is math that contains `\cancel`,
`\bcancel`, or `\xcancel`.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.latex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index b008d3db2..bbf84752a 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -24,6 +24,9 @@ $if(geometry)$ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} $endif$ \usepackage{amsmath,amssymb} +$if(cancel)$ +\usepackage{cancel} +$endif$ $-- $-- section numbering $-- |
