Add front/main/backmatter styles to JLReq layout

This commit is contained in:
Koji Yokota 2024-11-18 10:14:59 +09:00
parent b9f8797471
commit 351c59498a
3 changed files with 172 additions and 117 deletions

View File

@ -2340,7 +2340,22 @@ appendix_
\end_inset \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 \end_layout
\begin_layout Itemize \begin_layout Itemize

View File

@ -20,3 +20,43 @@ Input jlreq-common.inc
ClassOptions ClassOptions
Other book Other book
End 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

View File

@ -1,5 +1,5 @@
# Japanese jlreq textclass definition file. # Japanese jlreq textclass definition file.
# Author : Koji Yokota (yokota6@gmail.com) # Author : Koji Yokota (yokota@lyx.org)
# #
# This class internally loads following packages: # This class internally loads following packages:
# Any time: l3keys2e, lmodern # Any time: l3keys2e, lmodern
@ -90,7 +90,7 @@ End
Style Abstract_over_Columns Style Abstract_over_Columns
CopyStyle Abstract CopyStyle Abstract
InPreamble 1 InTitle 1
LabelString "Abstract" LabelString "Abstract"
Category FrontMatter Category FrontMatter
LatexType Command LatexType Command