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
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"
575 ForceLocalFontSwitch 1
579 Decoration conglomerate
581 span.info { font-family: sans-serif; }
587 InsetLayout Info:menu
592 \providecommand{\menuitem}[1]{\textsf{#1}}
594 Decoration conglomerate
598 HTMLAttr "class='info menu'"
600 span.menu { font-family: sans-serif; }
604 InsetLayout Info:shortcut
609 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
611 Decoration conglomerate
615 HTMLAttr "class='info shortcut'"
617 span.shortcut { font-family: sans-serif; }
621 InsetLayout Info:shortcuts
626 \providecommand{\shortcut}[1]{\textsf{#1}}
628 Decoration conglomerate
632 HTMLAttr "class='info shortcut'"
634 span.shortcuts { font-family: sans-serif; }
638 InsetLayout Caption:Standard
645 LabelString "Short Title|S"
646 Tooltip "The caption as it appears in the list of figures/tables"
652 border: 2px solid black;
657 HTMLAttr "class='float-caption float-caption-standard'"
661 InsetLayout Caption:Unnumbered
662 CopyStyle Caption:Standard
663 LabelString unlabelled
671 Decoration minimalistic
686 InsetLayout Script:superscript
688 LaTeXName textsuperscript
693 InsetLayout Script:subscript
696 LaTeXName textsubscript
701 InsetLayout PrintNomencl
703 \addto\captions$$lang{%
704 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
705 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
706 \def\nomname{_(Nomenclature[[output]])}%
709 # The command is defined for several languages in nomencl.sty. However, we need to define
710 # it anyway for the other, non suppported languages.
712 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
713 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
714 \def\nomname{_(Nomenclature[[output]])}
722 border-collapse: collapse;
723 display: inline-block;
726 border: 1px solid black;