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
157 InsetLayout Note:Note
167 # Not output for XHTML
173 InsetLayout Note:Greyedout
174 LabelString Greyedout
175 LatexType environment
176 LatexName lyxgreyedout
177 Requires color,lyxgreyedout
206 Decoration minimalistic
219 ParbreakIsNewline true
226 Decoration minimalistic
236 Decoration minimalistic
251 border-width: 2px 0px;
254 h2.tochead { font-size: x-large; font-weight: bold; }
256 margin: 2em 0em 0em 0em;
261 margin: 1em 0em 0em 0em;
266 margin: 0em 0.1em 0em 1em;
270 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
271 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
272 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
273 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
275 text-decoration: none;
278 a.tocentry:visited { color: black; }
282 InsetLayout TOC:Listings
283 # We need the [[List of Listings]] context, since "Listings" is also
284 # the name of the inset and translated differently.
285 # "Listings[[List of Listings]]" is the name of the "List of listings"
286 # ("Listings" is the predefined english name) in listings.sty, so it
287 # must be used here as well.
289 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
291 # The command does not need to be defined in LangPreamble, since
292 # listings.sty does that already. However it needs to be redefined
293 # in order to be used for non-english single-language documents.
295 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
297 FixedWidthPreambleEncoding true
301 margin: 0em 0em 0em 1em;
308 InsetLayout TOC:MintedListings
309 # "List of Listings" is the name of the "List of listings"
310 # in minted.sty so it must be used here as well.
312 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
314 # The command does not need to be defined in LangPreamble, since
315 # minted.sty does that already. However it needs to be redefined
316 # in order to be used for non-english single-language documents.
318 \renewcommand{\listoflistingscaption}{_(List of Listings)}
320 FixedWidthPreambleEncoding false
324 margin: 0em 0em 0em 1em;
331 InsetLayout Include:Listings
333 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
335 # The command does not need to be defined in LangPreamble, since
336 # listings.sty does that already. However it needs to be redefined
337 # in order to be used for non-english single-language documents.
339 \renewcommand{\lstlistingname}{_(Listing)}
341 FixedWidthPreambleEncoding true
345 CopyStyle Include:Listings
346 LabelString Listings[[inset]]
348 Decoration minimalistic
360 ParbreakIsNewline true
368 border: 2px solid black;
372 div.listings-caption {
374 border: 2px solid black;
381 InsetLayout MintedListings
384 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
386 # The command does not need to be defined in LangPreamble, since
387 # minted.sty does that already. However it needs to be redefined
388 # in order to be used for non-english single-language documents.
390 \renewcommand{\listingscaption}{_(Listing)}
392 FixedWidthPreambleEncoding false
433 InsetLayout Box:Frameless
436 div.Frameless { margin: 1em; }
440 InsetLayout Box:Shaded
445 background-color: gray;
451 InsetLayout Box:Boxed
455 border: solid thick black;
461 InsetLayout Box:Framed
465 border: solid thick black;
471 InsetLayout Box:ovalbox
475 border: groove medium black;
481 InsetLayout Box:Ovalbox
485 border: ridge thick black;
491 InsetLayout Box:Shadowbox
494 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
498 InsetLayout Box:Doublebox
502 border: double thick black;
516 border: 2px solid black;
522 #InsetWrap requires these, independently of whether stdfloats.inc is included
523 OutlinerName table "Tables" #no AddToToc (built-in)
524 OutlinerName figure "Figures" #no AddToToc (built-in)
536 border: 2px solid black;
543 InsetLayout "Flex:URL"
577 ForceLocalFontSwitch 1
581 Decoration conglomerate
583 span.info { font-family: sans-serif; }
589 InsetLayout Info:menu
594 \providecommand{\menuitem}[1]{\textsf{#1}}
596 Decoration conglomerate
600 HTMLAttr "class='info menu'"
602 span.menu { font-family: sans-serif; }
606 InsetLayout Info:shortcut
611 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
613 Decoration conglomerate
617 HTMLAttr "class='info shortcut'"
619 span.shortcut { font-family: sans-serif; }
623 InsetLayout Info:shortcuts
628 \providecommand{\shortcut}[1]{\textsf{#1}}
630 Decoration conglomerate
634 HTMLAttr "class='info shortcut'"
636 span.shortcuts { font-family: sans-serif; }
640 InsetLayout Caption:Standard
647 LabelString "Short Title|S"
648 Tooltip "The caption as it appears in the list of figures/tables"
654 border: 2px solid black;
659 HTMLAttr "class='float-caption float-caption-standard'"
663 InsetLayout Caption:Unnumbered
664 CopyStyle Caption:Standard
665 LabelString unlabelled
673 Decoration minimalistic
688 InsetLayout Script:superscript
690 LaTeXName textsuperscript
695 InsetLayout Script:subscript
698 LaTeXName textsubscript
703 InsetLayout PrintNomencl
705 \addto\captions$$lang{%
706 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
707 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
708 \def\nomname{_(Nomenclature[[output]])}%
711 # The command is defined for several languages in nomencl.sty. However, we need to define
712 # it anyway for the other, non suppported languages.
714 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
715 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
716 \def\nomname{_(Nomenclature[[output]])}
724 border-collapse: collapse;
725 display: inline-block;
728 border: 1px solid black;