From ee44d44f20d2a06648efe72a6836c24a179c8146 Mon Sep 17 00:00:00 2001
From: Yihui Xie <xie@yihui.name>
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+lhs | 1 +
 1 file changed, 1 insertion(+)

(limited to 'test/lhs-test.latex+lhs')

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}
-- 
cgit v1.2.3