X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fchess.layout;h=38b152a101d2242465db9d303942e74764d26a38;hb=229052b29a5116e263fbc380cc4fa0f34c837e75;hp=7d72d16036c74cd28bdeb105c281169d4c304a98;hpb=709d732f712d958910b07c14596882412080bd7e;p=lyx.git diff --git a/lib/layouts/chess.layout b/lib/layouts/chess.layout index 7d72d16036..38b152a101 100644 --- a/lib/layouts/chess.layout +++ b/lib/layouts/chess.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[article,lyxskak.sty]{article (Chess)} +# \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.sty]{Chess} +# \DeclareCategory{Articles} # chess article textclass definition file. # This layout file was designed to allow easy access to all @@ -16,8 +17,11 @@ # \vspace*{-0.5in}) # +Format 79 + +Requires chess + Preamble - \usepackage[ps,mover]{lyxskak} %%% initialize board \newgame EndPreamble @@ -33,11 +37,13 @@ Style Mainline LatexType Command LatexName mainline Margin Static - LeftMargin MMMMMM + LeftMargin MMMMMMM Labeltype Static - LabelString "Mainline: " + LabelSep M + LabelString "Mainline:" Newline 0 PassThru 1 + ParbreakIsNewline 1 TopSep 0.0 ParSep 0.0 LabelFont @@ -57,8 +63,8 @@ Style Variation CopyStyle Mainline LatexType Command LatexName lyxvariation[1] - LabelString "Variation: " - LeftMargin MMMMMMMM + LabelString "Variation:" + LeftMargin MMMMMMMMM End @@ -66,8 +72,8 @@ End Style SubVariation CopyStyle Variation LatexName lyxvariation[2] - LabelString "Subvariation: " - LeftMargin MMMMMMMMMMM + LabelString "Subvariation:" + LeftMargin MMMMMMMMMMMM End @@ -75,8 +81,8 @@ End Style SubVariation2 CopyStyle Variation LatexName lyxvariation[3] - LabelString "Subvariation(2): " - LeftMargin MMMMMMMMMMMMMM + LabelString "Subvariation(2):" + LeftMargin MMMMMMMMMMMMMMM End @@ -84,8 +90,8 @@ End Style SubVariation3 CopyStyle Variation LatexName lyxvariation[4] - LabelString "Subvariation(3): " - LeftMargin MMMMMMMMMMMMMMMMM + LabelString "Subvariation(3):" + LeftMargin MMMMMMMMMMMMMMMMMM End @@ -93,8 +99,8 @@ End Style SubVariation4 CopyStyle Variation LatexName lyxvariation[5] - LabelString "Subvariation(4): " - LeftMargin MMMMMMMMMMMMMMMMMMMM + LabelString "Subvariation(4):" + LeftMargin MMMMMMMMMMMMMMMMMMMMM End @@ -102,8 +108,8 @@ End Style SubVariation5 CopyStyle Variation LatexName lyxvariation[6] - LabelString "Subvariation(5): " - LeftMargin MMMMMMMMMMMMMMMMMMMMMMM + LabelString "Subvariation(5):" + LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM End @@ -112,7 +118,9 @@ End Style HideMoves CopyStyle Mainline LatexName hidemoves - LabelString "HideMoves: " + LeftMargin "HideMoves:M" + LabelSep M + LabelString "HideMoves:" End @@ -134,7 +142,7 @@ Style BoardCentered CopyStyle Mainline LatexType Command LatexName [\showboard\] - LeftMargin MMMMMMMMMMMMM + LeftMargin MMMMMMMMMMMMMM LabelString "[centered board]" KeepEmpty 1 LabelFont @@ -149,8 +157,8 @@ Style HighLight CopyStyle Mainline LatexType Command LatexName lyxhighlight - LeftMargin MMMMMMM - LabelString "Highlights: " + LeftMargin MMMMMMMM + LabelString "Highlights:" LabelFont Color black Series Bold @@ -169,8 +177,8 @@ Style Arrow CopyStyle HighLight LatexType Command LatexName lyxprintarrow - LeftMargin MMMMMMM - LabelString "Arrow: " + LeftMargin MMMMMMMM + LabelString "Arrow:" End @@ -180,8 +188,8 @@ Style KnightMove CopyStyle Arrow LatexType Command LatexName lyxknightmove - LeftMargin MMMMMMM - LabelString "KnightMove: " + LeftMargin MMMMMMMM + LabelString "KnightMove:" End Input article.layout