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
369 border: 2px solid black;
373 div.listings-caption {
375 border: 2px solid black;
382 InsetLayout MintedListings
385 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
387 # The command does not need to be defined in LangPreamble, since
388 # minted.sty does that already. However it needs to be redefined
389 # in order to be used for non-english single-language documents.
391 \renewcommand{\listingscaption}{_(Listing)}
393 FixedWidthPreambleEncoding false
434 InsetLayout Box:Frameless
437 div.Frameless { margin: 1em; }
441 InsetLayout Box:Shaded
446 background-color: gray;
452 InsetLayout Box:Boxed
456 border: solid thick black;
462 InsetLayout Box:Framed
466 border: solid thick black;
472 InsetLayout Box:ovalbox
476 border: groove medium black;
482 InsetLayout Box:Ovalbox
486 border: ridge thick black;
492 InsetLayout Box:Shadowbox
495 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
499 InsetLayout Box:Doublebox
503 border: double thick black;
517 border: 2px solid black;
523 #InsetWrap requires these, independently of whether stdfloats.inc is included
524 OutlinerName table "Tables" #no AddToToc (built-in)
525 OutlinerName figure "Figures" #no AddToToc (built-in)
537 border: 2px solid black;
544 InsetLayout "Flex:URL"
578 ForceLocalFontSwitch 1
582 Decoration conglomerate
584 span.info { font-family: sans-serif; }
590 InsetLayout Info:menu
595 \providecommand{\menuitem}[1]{\textsf{#1}}
597 Decoration conglomerate
601 HTMLAttr "class='info menu'"
603 span.menu { font-family: sans-serif; }
607 InsetLayout Info:shortcut
612 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
614 Decoration conglomerate
618 HTMLAttr "class='info shortcut'"
620 span.shortcut { font-family: sans-serif; }
624 InsetLayout Info:shortcuts
629 \providecommand{\shortcut}[1]{\textsf{#1}}
631 Decoration conglomerate
635 HTMLAttr "class='info shortcut'"
637 span.shortcuts { font-family: sans-serif; }
641 InsetLayout Caption:Standard
648 LabelString "Short Title|S"
649 Tooltip "The caption as it appears in the list of figures/tables"
655 border: 2px solid black;
660 HTMLAttr "class='float-caption float-caption-standard'"
664 InsetLayout Caption:Unnumbered
665 CopyStyle Caption:Standard
666 LabelString unlabelled
674 Decoration minimalistic
689 InsetLayout Script:superscript
691 LaTeXName textsuperscript
696 InsetLayout Script:subscript
699 LaTeXName textsubscript
704 InsetLayout PrintNomencl
706 \addto\captions$$lang{%
707 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
708 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
709 \def\nomname{_(Nomenclature[[output]])}%
712 # The command is defined for several languages in nomencl.sty. However, we need to define
713 # it anyway for the other, non suppported languages.
715 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
716 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
717 \def\nomname{_(Nomenclature[[output]])}
725 border-collapse: collapse;
726 display: inline-block;
729 border: 1px solid black;