From 3d1409347a221ee79de568627892eab16c5198d4 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Tue, 2 Apr 2019 20:18:36 -0400 Subject: LaTeX template: Ensure correct heading/table order (#5421) Improve the workaround for #1658, adapting a solution by @u-fischer in that works whether or not the `indent` variable is enabled. Remove `subparagraph` variable in LaTeX template. The default is now to use run-in style for level 4 and 5 headings (`\paragraph` and `\subparagraph`). To get the previous default behavior (where these were formatted as blocks, like `\subsubsection`), set the `block-headings` variable. An example is given in the manual of reformatting the appearance of headings more thoroughly using KOMA-Script. Closes #5365. --- test/lhs-test.latex+lhs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'test/lhs-test.latex+lhs') diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 3b5a7d330..e2860024d 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -10,7 +10,7 @@ \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} - \usepackage{textcomp} % provides euro and other symbols + \usepackage{textcomp} % provide euro and other symbols \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} @@ -48,16 +48,6 @@ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering -% Redefines (sub)paragraphs to behave more like sections -\ifx\paragraph\undefined\else - \let\oldparagraph\paragraph - \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} -\fi -\ifx\subparagraph\undefined\else - \let\oldsubparagraph\subparagraph - \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} -\fi - \date{} -- cgit v1.2.3