Skip to content

Commit 6bf47bf

Browse files
cscheidgordonwoodhull
authored andcommitted
update snapshot
1 parent d5627d3 commit 6bf47bf

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

tests/docs/smoke-all/2024/01/19/8354.tex.snapshot

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,28 @@
4343
\setlength{\emergencystretch}{3em} % prevent overfull lines
4444
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
4545
% Make \paragraph and \subparagraph free-standing
46+
\makeatletter
4647
\ifx\paragraph\undefined\else
4748
\let\oldparagraph\paragraph
48-
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
49+
\renewcommand{\paragraph}{
50+
\@ifstar
51+
\xxxParagraphStar
52+
\xxxParagraphNoStar
53+
}
54+
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
55+
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
4956
\fi
5057
\ifx\subparagraph\undefined\else
5158
\let\oldsubparagraph\subparagraph
52-
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
59+
\renewcommand{\subparagraph}{
60+
\@ifstar
61+
\xxxSubParagraphStar
62+
\xxxSubParagraphNoStar
63+
}
64+
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
65+
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
5366
\fi
67+
\makeatother
5468

5569
\usepackage{color}
5670
\usepackage{fancyvrb}

0 commit comments

Comments
 (0)