]> git.lyx.org Git - lyx.git/blob - lib/layouts/jlreq-common.inc
df4c8fc2eefe129339626c5eb961e9f5601980e8
[lyx.git] / lib / layouts / jlreq-common.inc
1 # Japanese jlreq textclass definition file.
2 # Author : Koji Yokota (yokota6@gmail.com)
3 #
4 # This class internally loads following packages:
5 # Any time:                             l3keys2e, lmodern
6 # With non-LuaLaTeX:    everyhook
7 # With LuaLaTeX:                luatexja, luatexja-adjust
8
9 Format 99
10
11 Style Part
12         Argument post:1
13                 LabelString             "Subtitle|u"
14                 Tooltip                 "Subtitle of the part"
15                 InsertCotext    1
16         EndArgument
17 End
18
19 Style Part*
20         Argument post:1
21                 LabelString             "Subtitle|u"
22                 Tooltip                 "Subtitle of the part"
23                 InsertCotext    1
24         EndArgument
25 End
26
27 Style Chapter
28         Argument post:1
29                 LabelString             "Subtitle|u"
30                 Tooltip                 "Subtitle of the chapter"
31                 InsertCotext    1
32         EndArgument
33 End
34
35 Style Chapter*
36         Argument post:1
37                 LabelString             "Subtitle|u"
38                 Tooltip                 "Subtitle of the chapter"
39                 InsertCotext    1
40         EndArgument
41 End
42
43 Style Section
44         Argument post:1
45                 LabelString             "Subtitle|u"
46                 Tooltip                 "Subtitle of the section"
47                 InsertCotext    1
48         EndArgument
49 End
50
51 Style Section*
52         Argument post:1
53                 LabelString             "Subtitle|u"
54                 Tooltip                 "Subtitle of the section"
55                 InsertCotext    1
56         EndArgument
57 End
58
59 Style Subsection
60         Argument post:1
61                 LabelString             "Subtitle|u"
62                 Tooltip                 "Subtitle of the subsection"
63                 InsertCotext    1
64         EndArgument
65 End
66
67 Style Subsection*
68         Argument post:1
69                 LabelString             "Subtitle|u"
70                 Tooltip                 "Subtitle of the subsection"
71                 InsertCotext    1
72         EndArgument
73 End
74
75 Style Subsubsection
76         Argument post:1
77                 LabelString             "Subtitle|u"
78                 Tooltip                 "Subtitle of the subsubsection"
79                 InsertCotext    1
80         EndArgument
81 End
82
83 Style Subsubsection*
84         Argument post:1
85                 LabelString             "Subtitle|u"
86                 Tooltip                 "Subtitle of the subsubsection"
87                 InsertCotext    1
88         EndArgument
89 End
90
91 Style Abstract_over_Columns
92         CopyStyle                       Abstract
93         InPreamble                      1
94         LabelString                     "Abstract"
95         Category                        FrontMatter
96         LatexType                       Command
97         LatexName                       jlreqabstract
98         Preamble
99                 \newcommand{\jlreqabstract}[1]{%
100                 \begin{abstract}%
101                 #1%
102                 \end{abstract}%
103                 }
104         EndPreamble
105 End
106
107 Style JLReq_Setup
108         InPreamble                      1
109         LatexType                       Command
110         LatexName                       jlreqsetup
111         Category                        FrontMatter
112         LabelType                       Static
113         LabelString                     "JLReq Setup"
114         LabelSep                        "M"
115         LeftMargin                      "MMMMMMM"
116         Font
117                 Family                  Typewriter
118                 Size                    Small
119         EndFont
120         LabelFont
121                 Color                   eolmarker
122                 Family                  Sans
123         EndFont
124         ParagraphGroup          1
125         PassThru                        1
126         HTMLTag                         !--
127 End
128
129 InsetLayout Flex:Endnote
130         LyxType                         custom
131         LatexType                       Command
132         LatexName                       endnote
133         Counter                         footnote
134         Decoration                      Classic
135         LabelString                     "Endnote"
136         ForcePlain                      1
137         BgColor                         background
138         ResetsFont true
139         HTMLLabel                       \arabic{footnote}
140         HTMLInnerTag        div
141         HTMLStyle
142                 span.flex_endnote_label {
143                         vertical-align: super;
144                         font-size: smaller;
145                         font-weight: bold;
146                         text-decoration: underline;
147                 }
148                 div.flex_endnote {
149                         display: inline;
150                         font-size: small;
151                         font-weight: normal;
152                         font-family: serif;
153                         font-variant: normal;
154                         font-style: normal;
155                 }
156                 div.flex_endnote_inner { display: none; }
157                 div.flex_endnote:hover div.flex_endnote_inner {
158                         display: block;
159                         border: 1px double black;
160                         margin: 0em 1em;
161                         padding: 1em;
162                 }
163         EndHTMLStyle
164         AddToToc              footnote
165         IsTocCaption          true
166         DocBookTag            footnote
167         DocBookTagType        inline
168 End
169
170 InsetLayout Flex:Sidenote
171         CopyStyle                       Flex:Endnote
172         LatexName                       sidenote
173         LabelString                     "Sidenote"
174         HTMLLabel                       \arabic{footnote}
175         HTMLInnerTag        div
176         HTMLStyle
177                 span.flex_sidenote_label {
178                         vertical-align: super;
179                         font-size: smaller;
180                         font-weight: bold;
181                         text-decoration: underline;
182                 }
183                 div.flex_sidenote {
184                         display: inline;
185                         font-size: small;
186                         font-weight: normal;
187                         font-family: serif;
188                         font-variant: normal;
189                         font-style: normal;
190                 }
191                 div.flex_sidenote_inner { display: none; }
192                 div.flex_sidenote:hover div.flex_sidenote_inner {
193                         display: block;
194                         border: 1px double black;
195                         margin: 0em 1em;
196                         padding: 1em;
197                 }
198         EndHTMLStyle
199         Argument post:1
200                 LabelString             "Note"
201                 MenuString              "Endnote contents"
202                 Tooltip                 "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble."
203                 Mandatory               0
204                 LeftDelim               {
205                 RightDelim              }
206         EndArgument
207 End
208
209 InsetLayout Flex:Warichu
210         CopyStyle                       Flex:Endnote
211         LatexName                       warichu
212         LabelString                     "Warichu"
213         HTMLLabel                       \arabic{footnote}
214         HTMLInnerTag        div
215         HTMLStyle
216                 span.flex_warichu_label {
217                         vertical-align: super;
218                         font-size: smaller;
219                         font-weight: bold;
220                         text-decoration: underline;
221                 }
222                 div.flex_warichu {
223                         display: inline;
224                         font-size: small;
225                         font-weight: normal;
226                         font-family: serif;
227                         font-variant: normal;
228                         font-style: normal;
229                 }
230                 div.flex_warichu_inner { display: none; }
231                 div.flex_warichu:hover div.flex_warichu_inner {
232                         display: block;
233                         border: 1px double black;
234                         margin: 0em 1em;
235                         padding: 1em;
236                 }
237         EndHTMLStyle
238 End
239
240 InsetLayout Flex:Warichu*
241         CopyStyle                       Flex:Warichu
242         LatexName                       warichu*
243         LabelString                     "Warichu*"
244         PassThru                        1
245         MultiPar                        1
246         ParbreakIgnored         1
247         TextFont
248                 Family                  Typewriter
249         EndFont
250         HTMLLabel                       \arabic{footnote}
251         HTMLInnerTag        div
252         HTMLStyle
253                 span.flex_warichu__label {
254                         vertical-align: super;
255                         font-size: smaller;
256                         font-weight: bold;
257                         text-decoration: underline;
258                 }
259                 div.flex_warichu_ {
260                         display: inline;
261                         font-size: small;
262                         font-weight: normal;
263                         font-family: serif;
264                         font-variant: normal;
265                         font-style: normal;
266                 }
267                 div.flex_warichu__inner { display: none; }
268                 div.flex_warichu_:hover div.flex_warichu__inner {
269                         display: block;
270                         border: 1px double black;
271                         margin: 0em 1em;
272                         padding: 1em;
273                 }
274         EndHTMLStyle
275 End
276
277 InsetLayout Flex:Tatechuyoko
278         LatexType                       Command
279         LyxType                         charstyle
280         LatexName                       tatechuyoko*
281         LabelString                     "Tatechuyoko"
282         Decoration                      Conglomerate
283 End
284
285 InsetLayout Flex:Jidori
286         CopyStyle                       Flex:Tatechuyoko
287         LatexName                       jidori
288         LabelString                     "Jidori"
289         Argument 1
290                 LabelString             "Length"
291                 MenuString              "Jidori Length|L"
292                 Tooltip                 "Length of Jidori. Contents is fit to this length."
293                 Mandatory               1
294                 AutoInsert              1
295         EndArgument
296 End
297
298 InsetLayout Flex:Akigumi
299         CopyStyle                       Flex:Tatechuyoko
300         LatexName                       akigumi
301         LabelString                     "Akigumi"
302         MenuString                      "Akigumi (LuaLaTeX)"
303         Argument 1
304                 LabelString             "Char Space"
305                 MenuString              "Char Space|D"
306                 Tooltip                 "Distance between chars is set to this length."
307                 Mandatory               1
308                 AutoInsert              1
309         EndArgument
310 End