diff --git a/default.html4 b/default.html4 index 401dd88e..636018a4 100644 --- a/default.html4 +++ b/default.html4 @@ -28,7 +28,7 @@ $for(header-includes)$ $endfor$ $if(math)$ $if(mathjax)$ - + $endif$ $math$ $endif$ diff --git a/default.html5 b/default.html5 index acc90d79..bc8a48a6 100644 --- a/default.html5 +++ b/default.html5 @@ -28,7 +28,7 @@ $for(header-includes)$ $endfor$ $if(math)$ $if(mathjax)$ - + $endif$ $math$ $endif$ diff --git a/default.latex b/default.latex index 605a82d9..f8006b23 100644 --- a/default.latex +++ b/default.latex @@ -354,14 +354,28 @@ $if(beamer)$ $else$ $if(block-headings)$ % Make \paragraph and \subparagraph free-standing +\makeatletter \ifx\paragraph\undefined\else \let\oldparagraph\paragraph - \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} \fi \ifx\subparagraph\undefined\else \let\oldsubparagraph\subparagraph - \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} \fi +\makeatother $endif$ $endif$ $if(pagestyle)$ diff --git a/default.typst b/default.typst index 935ae602..25f105db 100644 --- a/default.typst +++ b/default.typst @@ -9,6 +9,10 @@ $definitions.typst()$ .join() } +#set table( + inset: 6pt +) + $if(template)$ #import "$template$": conf $else$