1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <martin.vermeer@hut.fi>
3 # Inset layouts definition
5 # Detailed format description is available in the customization manual
11 OutlinerName marginalnote "Marginal notes"
12 OutlinerName footnote "Footnotes"
13 OutlinerName note "Notes"
14 OutlinerName branch "Branches"
15 OutlinerName index "Index Entries" #no AddToToc (built-in)
16 OutlinerName listing "Listings" #no AddToToc (built-in)
33 border: 2px solid black;
36 background-color: #F0F0F0;
63 HTMLLabel \arabic{footnote}
67 vertical-align: super;
70 text-decoration: underline;
80 div.foot_inner { display: none; }
81 div.foot:hover div.foot_inner {
83 border: 1px double black;
92 InsetLayout Foot:InTitle
98 HTMLLabel \fnsymbol{thanks}
101 span.foot_intitle_label {
102 vertical-align: super;
105 text-decoration: underline;
112 font-variant: normal;
115 span.foot_intitle_inner { display: none; }
116 span.foot_intitle:hover span.foot_intitle_inner {
118 border: 1px double black;
125 InsetLayout Foot:InFloatTable
127 LatexName tablefootnote
128 Requires tablefootnote
132 InsetLayout Note:Comment
134 LatexType environment
156 InsetLayout Note:Note
166 # Not output for XHTML
172 InsetLayout Note:Greyedout
173 LabelString Greyedout
174 LatexType environment
175 LatexName lyxgreyedout
176 Requires color,lyxgreyedout
204 Decoration minimalistic
217 ParbreakIsNewline true
224 Decoration minimalistic
234 Decoration minimalistic
249 border-width: 2px 0px;
252 h2.tochead { font-size: x-large; font-weight: bold; }
254 margin: 2em 0em 0em 0em;
259 margin: 1em 0em 0em 0em;
264 margin: 0em 0.1em 0em 1em;
268 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
269 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
270 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
271 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
273 text-decoration: none;
276 a.tocentry:visited { color: black; }
280 InsetLayout TOC:Listings
281 # We need the [[List of Listings]] context, since "Listings" is also
282 # the name of the inset and translated differently.
283 # "Listings[[List of Listings]]" is the name of the "List of listings"
284 # ("Listings" is the predefined english name) in listings.sty, so it
285 # must be used here as well.
287 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
289 # The command does not need to be defined in LangPreamble, since
290 # listings.sty does that already. However it needs to be redefined
291 # in order to be used for non-english single-language documents.
293 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
295 FixedWidthPreambleEncoding true
299 margin: 0em 0em 0em 1em;
306 InsetLayout TOC:MintedListings
307 # "List of Listings" is the name of the "List of listings"
308 # in minted.sty so it must be used here as well.
310 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
312 # The command does not need to be defined in LangPreamble, since
313 # minted.sty does that already. However it needs to be redefined
314 # in order to be used for non-english single-language documents.
316 \renewcommand{\listoflistingscaption}{_(List of Listings)}
318 FixedWidthPreambleEncoding false
322 margin: 0em 0em 0em 1em;
329 InsetLayout Include:Listings
331 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
333 # The command does not need to be defined in LangPreamble, since
334 # listings.sty does that already. However it needs to be redefined
335 # in order to be used for non-english single-language documents.
337 \renewcommand{\lstlistingname}{_(Listing)}
339 FixedWidthPreambleEncoding true
343 CopyStyle Include:Listings
344 LabelString Listings[[inset]]
346 Decoration minimalistic
358 ParbreakIsNewline true
366 border: 2px solid black;
370 div.listings-caption {
372 border: 2px solid black;
379 InsetLayout MintedListings
382 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
384 # The command does not need to be defined in LangPreamble, since
385 # minted.sty does that already. However it needs to be redefined
386 # in order to be used for non-english single-language documents.
388 \renewcommand{\listingscaption}{_(Listing)}
390 FixedWidthPreambleEncoding false
431 InsetLayout Box:Frameless
434 div.Frameless { margin: 1em; }
438 InsetLayout Box:Shaded
443 background-color: gray;
449 InsetLayout Box:Boxed
453 border: solid thick black;
459 InsetLayout Box:Framed
463 border: solid thick black;
469 InsetLayout Box:ovalbox
473 border: groove medium black;
479 InsetLayout Box:Ovalbox
483 border: ridge thick black;
489 InsetLayout Box:Shadowbox
492 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
496 InsetLayout Box:Doublebox
500 border: double thick black;
514 border: 2px solid black;
520 #InsetWrap requires these, independently of whether stdfloats.inc is included
521 OutlinerName table "Tables" #no AddToToc (built-in)
522 OutlinerName figure "Figures" #no AddToToc (built-in)
534 border: 2px solid black;
541 InsetLayout "Flex:URL"
574 ForceLocalFontSwitch 1
578 Decoration conglomerate
580 span.info { font-family: sans-serif; }
586 InsetLayout Info:menu
591 \providecommand{\menuitem}[1]{\textsf{#1}}
593 Decoration conglomerate
597 HTMLAttr "class='info menu'"
599 span.menu { font-family: sans-serif; }
603 InsetLayout Info:shortcut
608 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
610 Decoration conglomerate
614 HTMLAttr "class='info shortcut'"
616 span.shortcut { font-family: sans-serif; }
620 InsetLayout Info:shortcuts
625 \providecommand{\shortcut}[1]{\textsf{#1}}
627 Decoration conglomerate
631 HTMLAttr "class='info shortcut'"
633 span.shortcuts { font-family: sans-serif; }
637 InsetLayout Caption:Standard
644 LabelString "Short Title|S"
645 Tooltip "The caption as it appears in the list of figures/tables"
651 border: 2px solid black;
656 HTMLAttr "class='float-caption float-caption-standard'"
660 InsetLayout Caption:Unnumbered
661 CopyStyle Caption:Standard
662 LabelString unlabelled
670 Decoration minimalistic
685 InsetLayout Script:superscript
687 LaTeXName textsuperscript
692 InsetLayout Script:subscript
695 LaTeXName textsubscript
700 InsetLayout PrintNomencl
702 \addto\captions$$lang{%
703 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
704 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
705 \def\nomname{_(Nomenclature[[output]])}%
708 # The command is defined for several languages in nomencl.sty. However, we need to define
709 # it anyway for the other, non suppported languages.
711 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
712 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
713 \def\nomname{_(Nomenclature[[output]])}
721 border-collapse: collapse;
722 display: inline-block;
725 border: 1px solid black;