diff --git a/lib/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.lyx b/lib/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.lyx index d4507fae0b..8f9609db28 100644 --- a/lib/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.lyx +++ b/lib/examples/ja/Articles/Japanese_Article_%28JLReq_Class%29.lyx @@ -2340,7 +2340,22 @@ appendix_ \end_inset に変えることによって, -本文部分/後付け/付録に関する設定に変えることができます. +本文部分/後付け/付録に関する設定に変えることができます(これらは +\begin_inset Flex MenuItem +status collapsed + +\begin_layout Plain Layout +\begin_inset Info +type "l7n" +arg "Japanese Book (JLReq Class)" +\end_inset + + +\end_layout + +\end_inset + +でのみ使用することができます). \end_layout \begin_layout Itemize diff --git a/lib/layouts/jlreq-book.layout b/lib/layouts/jlreq-book.layout index 0fbc4cbae4..4cd384a452 100644 --- a/lib/layouts/jlreq-book.layout +++ b/lib/layouts/jlreq-book.layout @@ -20,3 +20,43 @@ Input jlreq-common.inc ClassOptions Other book End + +Style Front_Matter + Category Structure + LatexType Command + LatexName frontmatter + KeepEmpty 1 + ResetArgs 1 + Margin First_Dynamic + NextNoIndent 1 + ParSkip 0 + TopSep 2.5 + BottomSep 0.5 + ParSep 0 + Align Center + LabelType Static + LabelBottomSep 0 + LeftMargin M + LabelString "--- Front Matter ---" + + Font + Family Sans + Series Bold + Size Largest + Color textlabel1 + EndFont +End + +Style Main_Matter + CopyStyle Front_Matter + Category Structure + LatexName mainmatter + LabelString "--- Main Matter ---" +End + +Style Back_Matter + CopyStyle Front_Matter + Category Structure + LatexName backmatter + LabelString "--- Back Matter ---" +End diff --git a/lib/layouts/jlreq-common.inc b/lib/layouts/jlreq-common.inc index c8cf9ffda9..74edb6571a 100644 --- a/lib/layouts/jlreq-common.inc +++ b/lib/layouts/jlreq-common.inc @@ -1,100 +1,100 @@ # Japanese jlreq textclass definition file. -# Author : Koji Yokota (yokota6@gmail.com) +# Author : Koji Yokota (yokota@lyx.org) # # This class internally loads following packages: -# Any time: l3keys2e, lmodern -# With non-LuaLaTeX: everyhook -# With LuaLaTeX: luatexja, luatexja-adjust +# Any time: l3keys2e, lmodern +# With non-LuaLaTeX: everyhook +# With LuaLaTeX: luatexja, luatexja-adjust Format 104 Style Part Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the part" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the part" + InsertCotext 1 EndArgument End Style Part* Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the part" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the part" + InsertCotext 1 EndArgument End Style Chapter Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the chapter" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the chapter" + InsertCotext 1 EndArgument End Style Chapter* Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the chapter" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the chapter" + InsertCotext 1 EndArgument End Style Section Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the section" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the section" + InsertCotext 1 EndArgument End Style Section* Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the section" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the section" + InsertCotext 1 EndArgument End Style Subsection Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the subsection" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the subsection" + InsertCotext 1 EndArgument End Style Subsection* Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the subsection" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the subsection" + InsertCotext 1 EndArgument End Style Subsubsection Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the subsubsection" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the subsubsection" + InsertCotext 1 EndArgument End Style Subsubsection* Argument post:1 - LabelString "Subtitle|u" - Tooltip "Subtitle of the subsubsection" - InsertCotext 1 + LabelString "Subtitle|u" + Tooltip "Subtitle of the subsubsection" + InsertCotext 1 EndArgument End Style Abstract_over_Columns - CopyStyle Abstract - InPreamble 1 - LabelString "Abstract" - Category FrontMatter - LatexType Command - LatexName jlreqabstract + CopyStyle Abstract + InTitle 1 + LabelString "Abstract" + Category FrontMatter + LatexType Command + LatexName jlreqabstract Preamble \newcommand{\jlreqabstract}[1]{% \begin{abstract}% @@ -105,39 +105,39 @@ Style Abstract_over_Columns End Style JLReq_Setup - InPreamble 1 - LatexType Command - LatexName jlreqsetup - Category FrontMatter - LabelType Static - LabelString "JLReq Setup" - LabelSep "M" - LeftMargin "MMMMMMM" + InPreamble 1 + LatexType Command + LatexName jlreqsetup + Category FrontMatter + LabelType Static + LabelString "JLReq Setup" + LabelSep "M" + LeftMargin "MMMMMMM" Font - Family Typewriter - Size Small + Family Typewriter + Size Small EndFont LabelFont - Color eolmarker - Family Sans + Color eolmarker + Family Sans EndFont - ParagraphGroup 1 - PassThru 1 - HTMLTag !-- + ParagraphGroup 1 + PassThru 1 + HTMLTag !-- End InsetLayout Flex:Endnote - LyxType custom - LatexType Command - LatexName endnote - Counter footnote - Decoration Classic - LabelString "Endnote" - ForcePlain 1 - BgColor background + LyxType custom + LatexType Command + LatexName endnote + Counter footnote + Decoration Classic + LabelString "Endnote" + ForcePlain 1 + BgColor background ResetsFont true - HTMLLabel \arabic{footnote} - HTMLInnerTag div + HTMLLabel \arabic{footnote} + HTMLInnerTag div HTMLStyle span.flex_endnote_label { vertical-align: super; @@ -161,18 +161,18 @@ InsetLayout Flex:Endnote padding: 1em; } EndHTMLStyle - AddToToc footnote - IsTocCaption true - DocBookTag footnote - DocBookTagType inline + AddToToc footnote + IsTocCaption true + DocBookTag footnote + DocBookTagType inline End InsetLayout Flex:Sidenote - CopyStyle Flex:Endnote - LatexName sidenote - LabelString "Sidenote" - HTMLLabel \arabic{footnote} - HTMLInnerTag div + CopyStyle Flex:Endnote + LatexName sidenote + LabelString "Sidenote" + HTMLLabel \arabic{footnote} + HTMLInnerTag div HTMLStyle span.flex_sidenote_label { vertical-align: super; @@ -197,21 +197,21 @@ InsetLayout Flex:Sidenote } EndHTMLStyle Argument post:1 - LabelString "Note" - MenuString "Endnote contents" - Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble." - Mandatory 0 - LeftDelim { - RightDelim } + LabelString "Note" + MenuString "Endnote contents" + Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble." + Mandatory 0 + LeftDelim { + RightDelim } EndArgument End InsetLayout Flex:Warichu - CopyStyle Flex:Endnote - LatexName warichu - LabelString "Warichu" - HTMLLabel \arabic{footnote} - HTMLInnerTag div + CopyStyle Flex:Endnote + LatexName warichu + LabelString "Warichu" + HTMLLabel \arabic{footnote} + HTMLInnerTag div HTMLStyle span.flex_warichu_label { vertical-align: super; @@ -238,17 +238,17 @@ InsetLayout Flex:Warichu End InsetLayout Flex:Warichu* - CopyStyle Flex:Warichu - LatexName warichu* - LabelString "Warichu*" - PassThru 1 - MultiPar 1 - ParbreakIgnored 1 + CopyStyle Flex:Warichu + LatexName warichu* + LabelString "Warichu*" + PassThru 1 + MultiPar 1 + ParbreakIgnored 1 Font - Family Typewriter + Family Typewriter EndFont - HTMLLabel \arabic{footnote} - HTMLInnerTag div + HTMLLabel \arabic{footnote} + HTMLInnerTag div HTMLStyle span.flex_warichu__label { vertical-align: super; @@ -275,36 +275,36 @@ InsetLayout Flex:Warichu* End InsetLayout Flex:Tatechuyoko - LatexType Command - LyxType charstyle - LatexName tatechuyoko* - LabelString "Tatechuyoko" - Decoration Conglomerate + LatexType Command + LyxType charstyle + LatexName tatechuyoko* + LabelString "Tatechuyoko" + Decoration Conglomerate End InsetLayout Flex:Jidori - CopyStyle Flex:Tatechuyoko - LatexName jidori - LabelString "Jidori" + CopyStyle Flex:Tatechuyoko + LatexName jidori + LabelString "Jidori" Argument 1 - LabelString "Length" - MenuString "Jidori Length|L" - Tooltip "Length of Jidori. Contents is fit to this length." - Mandatory 1 - AutoInsert 1 + LabelString "Length" + MenuString "Jidori Length|L" + Tooltip "Length of Jidori. Contents is fit to this length." + Mandatory 1 + AutoInsert 1 EndArgument End InsetLayout Flex:Akigumi - CopyStyle Flex:Tatechuyoko - LatexName akigumi - LabelString "Akigumi" - MenuString "Akigumi (LuaLaTeX)" + CopyStyle Flex:Tatechuyoko + LatexName akigumi + LabelString "Akigumi" + MenuString "Akigumi (LuaLaTeX)" Argument 1 - LabelString "Char Space" - MenuString "Char Space|D" - Tooltip "Distance between chars is set to this length." - Mandatory 1 - AutoInsert 1 + LabelString "Char Space" + MenuString "Char Space|D" + Tooltip "Distance between chars is set to this length." + Mandatory 1 + AutoInsert 1 EndArgument End