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;
48 DocBookAttr role="margin"
65 HTMLLabel \arabic{footnote}
69 vertical-align: super;
72 text-decoration: underline;
82 div.foot_inner { display: none; }
83 div.foot:hover div.foot_inner {
85 border: 1px double black;
95 InsetLayout Foot:InTitle
101 HTMLLabel \fnsymbol{thanks}
104 span.foot_intitle_label {
105 vertical-align: super;
108 text-decoration: underline;
115 font-variant: normal;
118 span.foot_intitle_inner { display: none; }
119 span.foot_intitle:hover span.foot_intitle_inner {
121 border: 1px double black;
128 InsetLayout Foot:InFloatTable
130 LatexName tablefootnote
131 Requires tablefootnote
135 InsetLayout Note:Comment
137 LatexType environment
160 InsetLayout Note:Note
170 # Not output for XHTML
176 InsetLayout Note:Greyedout
177 LabelString Greyedout
178 LatexType environment
179 LatexName lyxgreyedout
180 Requires color,lyxgreyedout
209 Decoration minimalistic
222 ParbreakIsNewline true
230 Decoration minimalistic
240 Decoration minimalistic
255 border-width: 2px 0px;
258 h2.tochead { font-size: x-large; font-weight: bold; }
260 margin: 2em 0em 0em 0em;
265 margin: 1em 0em 0em 0em;
270 margin: 0em 0.1em 0em 1em;
274 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
275 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
276 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
277 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
279 text-decoration: none;
282 a.tocentry:visited { color: black; }
286 InsetLayout TOC:Listings
287 # We need the [[List of Listings]] context, since "Listings" is also
288 # the name of the inset and translated differently.
289 # "Listings[[List of Listings]]" is the name of the "List of listings"
290 # ("Listings" is the predefined english name) in listings.sty, so it
291 # must be used here as well.
293 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
295 # The command does not need to be defined in LangPreamble, since
296 # listings.sty does that already. However it needs to be redefined
297 # in order to be used for non-english single-language documents.
299 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
301 FixedWidthPreambleEncoding true
305 margin: 0em 0em 0em 1em;
312 InsetLayout TOC:MintedListings
313 # "List of Listings" is the name of the "List of listings"
314 # in minted.sty so it must be used here as well.
316 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
318 # The command does not need to be defined in LangPreamble, since
319 # minted.sty does that already. However it needs to be redefined
320 # in order to be used for non-english single-language documents.
322 \renewcommand{\listoflistingscaption}{_(List of Listings)}
324 FixedWidthPreambleEncoding false
328 margin: 0em 0em 0em 1em;
335 InsetLayout Include:Listings
337 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
339 # The command does not need to be defined in LangPreamble, since
340 # listings.sty does that already. However it needs to be redefined
341 # in order to be used for non-english single-language documents.
343 \renewcommand{\lstlistingname}{_(Listing)}
345 FixedWidthPreambleEncoding true
349 CopyStyle Include:Listings
350 LabelString Listings[[inset]]
352 Decoration minimalistic
364 ParbreakIsNewline true
374 border: 2px solid black;
378 div.listings-caption {
380 border: 2px solid black;
385 DocBookTag programlisting
388 InsetLayout MintedListings
391 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
393 # The command does not need to be defined in LangPreamble, since
394 # minted.sty does that already. However it needs to be redefined
395 # in order to be used for non-english single-language documents.
397 \renewcommand{\listingscaption}{_(Listing)}
399 FixedWidthPreambleEncoding false
440 InsetLayout Box:Frameless
443 div.Frameless { margin: 1em; }
447 InsetLayout Box:Shaded
452 background-color: gray;
458 InsetLayout Box:Boxed
462 border: solid thick black;
468 InsetLayout Box:Framed
472 border: solid thick black;
478 InsetLayout Box:ovalbox
482 border: groove medium black;
488 InsetLayout Box:Ovalbox
492 border: ridge thick black;
498 InsetLayout Box:Shadowbox
501 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
505 InsetLayout Box:Doublebox
509 border: double thick black;
516 LaTeXType environment
524 border: 2px solid black;
530 #InsetWrap requires these, independently of whether stdfloats.inc is included
531 OutlinerName table "Tables" #no AddToToc (built-in)
532 OutlinerName figure "Figures" #no AddToToc (built-in)
544 border: 2px solid black;
551 InsetLayout "Flex:URL"
586 ForceLocalFontSwitch 1
590 Decoration conglomerate
592 span.info { font-family: sans-serif; }
598 InsetLayout Info:menu
603 \providecommand{\menuitem}[1]{\textsf{#1}}
605 Decoration conglomerate
609 HTMLAttr "class='info menu'"
611 span.menu { font-family: sans-serif; }
615 InsetLayout Info:shortcut
620 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
622 Decoration conglomerate
626 HTMLAttr "class='info shortcut'"
628 span.shortcut { font-family: sans-serif; }
632 InsetLayout Info:shortcuts
637 \providecommand{\shortcut}[1]{\textsf{#1}}
639 Decoration conglomerate
643 HTMLAttr "class='info shortcut'"
645 span.shortcuts { font-family: sans-serif; }
649 InsetLayout Caption:Standard
656 LabelString "Short Title|S"
657 Tooltip "The caption as it appears in the list of figures/tables"
663 border: 2px solid black;
668 HTMLAttr "class='float-caption float-caption-standard'"
672 InsetLayout Caption:Unnumbered
673 CopyStyle Caption:Standard
674 LabelString unlabelled
682 Decoration minimalistic
697 InsetLayout Script:superscript
699 LaTeXName textsuperscript
704 InsetLayout Script:subscript
707 LaTeXName textsubscript
712 InsetLayout PrintNomencl
714 \addto\captions$$lang{%
715 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
716 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
717 \def\nomname{_(Nomenclature[[output]])}%
720 # The command is defined for several languages in nomencl.sty. However, we need to define
721 # it anyway for the other, non suppported languages.
723 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
724 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
725 \def\nomname{_(Nomenclature[[output]])}
733 border-collapse: collapse;
734 display: inline-block;
737 border: 1px solid black;