From 981389da3ac7c4f192cb0e4e3cdae03196c74078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sun, 26 Oct 2014 14:26:31 +0100 Subject: [PATCH] revtex4-1.layout: remove unnecessary preamble code - \lovname was already added to REVTeX 4.1 in 2010 - REVTeX does purposely not allow to color text, see the discussion in bug #4625 --- lib/layouts/revtex4-1.layout | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/lib/layouts/revtex4-1.layout b/lib/layouts/revtex4-1.layout index d1830b3a61..14dc8a4a16 100644 --- a/lib/layouts/revtex4-1.layout +++ b/lib/layouts/revtex4-1.layout @@ -5,12 +5,10 @@ # Based on official article.layout, revtex4.layout and stdclass.inc definition files, # and on the unofficial revtex4-1.layout by Manoj Rajagopalan, posted to the wiki. -# Author: Julien Rioux +# Author: Julien Rioux and Uwe Stöhr -# Some notes: -# - The \definecolor's are there to avoid LyX bug #4625. -# - We provide natbib-internal according to LyX bug #5182. -# - The command \lovname is missing from the class file. +# a note: +# - we provide natbib-internal according to LyX bug #5182 Format 49 @@ -26,23 +24,6 @@ ClassOptions Other "aps,manuscript" End -Preamble - % Fix a couple of bugs in REVTeX 4.1 - \def\lovname{List of Videos} - \@ifundefined{textcolor}{} - {% - \definecolor{BLACK}{gray}{0} - \definecolor{WHITE}{gray}{1} - \definecolor{RED}{rgb}{1,0,0} - \definecolor{GREEN}{rgb}{0,1,0} - \definecolor{BLUE}{rgb}{0,0,1} - \definecolor{CYAN}{cmyk}{1,0,0,0} - \definecolor{MAGENTA}{cmyk}{0,1,0,0} - \definecolor{YELLOW}{cmyk}{0,0,1,0} - } -EndPreamble - - Style Section Align Center Font