aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-05-16 14:35:13 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-05-16 14:35:13 -0700
commitcc088687b4013c2b8b744eb337ed04fc63f315f2 (patch)
treedc27a23bf4a1e5b55cda2933b3ed87d2c69db678 /test
parentd92622ba3cae5ced69a256472d367a53fc5878a1 (diff)
downloadpandoc-cc088687b4013c2b8b744eb337ed04fc63f315f2.tar.gz
LaTeX template: move title, author, date up to top of preamble.
This allows header-includes to use them, and puts them in a position where you can see them immediately. Closes #7295.
Diffstat (limited to 'test')
-rw-r--r--test/lhs-test.latex6
-rw-r--r--test/lhs-test.latex+lhs6
-rw-r--r--test/writer.latex8
-rw-r--r--test/writers-lang-and-dir.latex6
4 files changed, 13 insertions, 13 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index fdc344335..20bc6ae19 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -4,6 +4,9 @@
%
\documentclass[
]{article}
+\author{}
+\date{}
+
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
@@ -85,9 +88,6 @@
\usepackage{selnolig} % disable illegal ligatures
\fi
-\author{}
-\date{}
-
\begin{document}
\hypertarget{lhs-test}{%
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index f9149ba02..327dac4ef 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -4,6 +4,9 @@
%
\documentclass[
]{article}
+\author{}
+\date{}
+
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
@@ -52,9 +55,6 @@
\usepackage{selnolig} % disable illegal ligatures
\fi
-\author{}
-\date{}
-
\begin{document}
\hypertarget{lhs-test}{%
diff --git a/test/writer.latex b/test/writer.latex
index abf772df4..468c271bc 100644
--- a/test/writer.latex
+++ b/test/writer.latex
@@ -4,6 +4,10 @@
%
\documentclass[
]{article}
+\title{Pandoc Test Suite}
+\author{John MacFarlane \and Anonymous}
+\date{July 17, 2006}
+
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
@@ -67,10 +71,6 @@
\usepackage{selnolig} % disable illegal ligatures
\fi
-\title{Pandoc Test Suite}
-\author{John MacFarlane \and Anonymous}
-\date{July 17, 2006}
-
\begin{document}
\maketitle
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index d91f77325..e06fe05ed 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -5,6 +5,9 @@
\documentclass[
english,
]{article}
+\author{}
+\date{}
+
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
@@ -84,9 +87,6 @@
\newenvironment{LTR}{\beginL}{\endL}
\fi
-\author{}
-\date{}
-
\begin{document}
\hypertarget{empty-divs-and-spans}{%