aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2019-04-02 20:18:36 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2019-04-02 18:18:36 -0600
commit3d1409347a221ee79de568627892eab16c5198d4 (patch)
treea8661ccf957328027e10e05ada9df208c6c33727 /test/lhs-test.latex+lhs
parent40b60a911c222a00407726d5ce606abbafcea29c (diff)
downloadpandoc-3d1409347a221ee79de568627892eab16c5198d4.tar.gz
LaTeX template: Ensure correct heading/table order (#5421)
Improve the workaround for #1658, adapting a solution by @u-fischer in <https://github.com/latex3/latex2e/issues/131> 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.
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r--test/lhs-test.latex+lhs12
1 files changed, 1 insertions, 11 deletions
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{}