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
205 Decoration minimalistic
218 ParbreakIsNewline true
225 Decoration minimalistic
235 Decoration minimalistic
250 border-width: 2px 0px;
253 h2.tochead { font-size: x-large; font-weight: bold; }
255 margin: 2em 0em 0em 0em;
260 margin: 1em 0em 0em 0em;
265 margin: 0em 0.1em 0em 1em;
269 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
270 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
271 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
272 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
274 text-decoration: none;
277 a.tocentry:visited { color: black; }
281 InsetLayout TOC:Listings
282 # We need the [[List of Listings]] context, since "Listings" is also
283 # the name of the inset and translated differently.
284 # "Listings[[List of Listings]]" is the name of the "List of listings"
285 # ("Listings" is the predefined english name) in listings.sty, so it
286 # must be used here as well.
288 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
290 # The command does not need to be defined in LangPreamble, since
291 # listings.sty does that already. However it needs to be redefined
292 # in order to be used for non-english single-language documents.
294 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
296 FixedWidthPreambleEncoding true
300 margin: 0em 0em 0em 1em;
307 InsetLayout TOC:MintedListings
308 # "List of Listings" is the name of the "List of listings"
309 # in minted.sty so it must be used here as well.
311 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
313 # The command does not need to be defined in LangPreamble, since
314 # minted.sty does that already. However it needs to be redefined
315 # in order to be used for non-english single-language documents.
317 \renewcommand{\listoflistingscaption}{_(List of Listings)}
319 FixedWidthPreambleEncoding false
323 margin: 0em 0em 0em 1em;
330 InsetLayout Include:Listings
332 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
334 # The command does not need to be defined in LangPreamble, since
335 # listings.sty does that already. However it needs to be redefined
336 # in order to be used for non-english single-language documents.
338 \renewcommand{\lstlistingname}{_(Listing)}
340 FixedWidthPreambleEncoding true
344 CopyStyle Include:Listings
345 LabelString Listings[[inset]]
347 Decoration minimalistic
359 ParbreakIsNewline true
367 border: 2px solid black;
371 div.listings-caption {
373 border: 2px solid black;
380 InsetLayout MintedListings
383 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
385 # The command does not need to be defined in LangPreamble, since
386 # minted.sty does that already. However it needs to be redefined
387 # in order to be used for non-english single-language documents.
389 \renewcommand{\listingscaption}{_(Listing)}
391 FixedWidthPreambleEncoding false
432 InsetLayout Box:Frameless
435 div.Frameless { margin: 1em; }
439 InsetLayout Box:Shaded
444 background-color: gray;
450 InsetLayout Box:Boxed
454 border: solid thick black;
460 InsetLayout Box:Framed
464 border: solid thick black;
470 InsetLayout Box:ovalbox
474 border: groove medium black;
480 InsetLayout Box:Ovalbox
484 border: ridge thick black;
490 InsetLayout Box:Shadowbox
493 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
497 InsetLayout Box:Doublebox
501 border: double thick black;
515 border: 2px solid black;
521 #InsetWrap requires these, independently of whether stdfloats.inc is included
522 OutlinerName table "Tables" #no AddToToc (built-in)
523 OutlinerName figure "Figures" #no AddToToc (built-in)
535 border: 2px solid black;
542 InsetLayout "Flex:URL"
576 ForceLocalFontSwitch 1
580 Decoration conglomerate
582 span.info { font-family: sans-serif; }
588 InsetLayout Info:menu
593 \providecommand{\menuitem}[1]{\textsf{#1}}
595 Decoration conglomerate
599 HTMLAttr "class='info menu'"
601 span.menu { font-family: sans-serif; }
605 InsetLayout Info:shortcut
610 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
612 Decoration conglomerate
616 HTMLAttr "class='info shortcut'"
618 span.shortcut { font-family: sans-serif; }
622 InsetLayout Info:shortcuts
627 \providecommand{\shortcut}[1]{\textsf{#1}}
629 Decoration conglomerate
633 HTMLAttr "class='info shortcut'"
635 span.shortcuts { font-family: sans-serif; }
639 InsetLayout Caption:Standard
646 LabelString "Short Title|S"
647 Tooltip "The caption as it appears in the list of figures/tables"
653 border: 2px solid black;
658 HTMLAttr "class='float-caption float-caption-standard'"
662 InsetLayout Caption:Unnumbered
663 CopyStyle Caption:Standard
664 LabelString unlabelled
672 Decoration minimalistic
687 InsetLayout Script:superscript
689 LaTeXName textsuperscript
694 InsetLayout Script:subscript
697 LaTeXName textsubscript
702 InsetLayout PrintNomencl
704 \addto\captions$$lang{%
705 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
706 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
707 \def\nomname{_(Nomenclature[[output]])}%
710 # The command is defined for several languages in nomencl.sty. However, we need to define
711 # it anyway for the other, non suppported languages.
713 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
714 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
715 \def\nomname{_(Nomenclature[[output]])}
723 border-collapse: collapse;
724 display: inline-block;
727 border: 1px solid black;