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/writers-lang-and-dir.latex | 1 +
 1 file changed, 1 insertion(+)

(limited to 'test/writers-lang-and-dir.latex')

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

