From ee44d44f20d2a06648efe72a6836c24a179c8146 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Thu, 5 Dec 2019 12:22:31 -0600 Subject: Keep the \author{} command even if author is not specified (#5961) Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled. This does not affect spacing in the title block. --- test/lhs-test.latex | 1 + test/lhs-test.latex+lhs | 1 + test/writers-lang-and-dir.latex | 1 + 3 files changed, 3 insertions(+) (limited to 'test') diff --git a/test/lhs-test.latex b/test/lhs-test.latex index a456995a3..706aaf490 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -82,6 +82,7 @@ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering +\author{} \date{} \begin{document} diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index e2860024d..806cf598d 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -49,6 +49,7 @@ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering +\author{} \date{} \begin{document} diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index 02ff8b451..a9eefb32f 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -78,6 +78,7 @@ \newenvironment{LTR}{\beginL}{\endL} \fi +\author{} \date{} \begin{document} -- cgit v1.2.3