From f3c407e7b9f57ee913fef68fb6d4229f0c5ec2e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 9 Feb 2013 02:50:54 +0100 Subject: [PATCH] elsarticle.layout: force plain layout for some flex insets - This prevents LaTeX errors because some commands don't allow to include commands. - also simplified some code --- lib/layouts/elsarticle.layout | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/layouts/elsarticle.layout b/lib/layouts/elsarticle.layout index 812f210afc..45774d72d6 100644 --- a/lib/layouts/elsarticle.layout +++ b/lib/layouts/elsarticle.layout @@ -103,6 +103,7 @@ End InsetLayout "Flex:Titlenotemark" LyxType custom LatexType command + ForcePlain 1 LatexName tnoteref LabelString "Titlenote mark" Font @@ -171,6 +172,7 @@ End InsetLayout "Flex:Authormark" LyxType custom LatexType command + ForcePlain 1 LatexName fnref LabelString "Author mark" Font @@ -202,23 +204,11 @@ End InsetLayout "Flex:CorAuthormark" - LyxType custom - LatexType command + CopyStyle "Flex:Authormark" LatexName corref LabelString "CorAuthor mark" - Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar - EndFont LabelFont Color blue - Size Small EndFont End -- 2.39.2