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;
64 HTMLLabel \arabic{footnote}
68 vertical-align: super;
71 text-decoration: underline;
81 div.foot_inner { display: none; }
82 div.foot:hover div.foot_inner {
84 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
210 Decoration minimalistic
223 ParbreakIsNewline true
231 Decoration minimalistic
241 Decoration minimalistic
256 border-width: 2px 0px;
259 h2.tochead { font-size: x-large; font-weight: bold; }
261 margin: 2em 0em 0em 0em;
266 margin: 1em 0em 0em 0em;
271 margin: 0.5em 0.1em 0em 1em;
275 div.lyxtoc-3 { margin: 0.2em 0.1em 0em 0.5em; font-size: medium; }
276 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
277 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
278 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
280 text-decoration: none;
283 a.tocentry:visited { color: black; }
287 InsetLayout TOC:Listings
288 # We need the [[List of Listings]] context, since "Listings" is also
289 # the name of the inset and translated differently.
290 # "Listings[[List of Listings]]" is the name of the "List of listings"
291 # ("Listings" is the predefined english name) in listings.sty, so it
292 # must be used here as well.
294 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
296 # The command does not need to be defined in LangPreamble, since
297 # listings.sty does that already. However it needs to be redefined
298 # in order to be used for non-english single-language documents.
300 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
302 FixedWidthPreambleEncoding true
306 margin: 0em 0em 0em 1em;
313 InsetLayout TOC:MintedListings
314 # "List of Listings" is the name of the "List of listings"
315 # in minted.sty so it must be used here as well.
317 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
319 # The command does not need to be defined in LangPreamble, since
320 # minted.sty does that already. However it needs to be redefined
321 # in order to be used for non-english single-language documents.
323 \renewcommand{\listoflistingscaption}{_(List of Listings)}
325 FixedWidthPreambleEncoding false
329 margin: 0em 0em 0em 1em;
336 InsetLayout Include:Listings
338 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
340 # The command does not need to be defined in LangPreamble, since
341 # listings.sty does that already. However it needs to be redefined
342 # in order to be used for non-english single-language documents.
344 \renewcommand{\lstlistingname}{_(Listing)}
346 FixedWidthPreambleEncoding true
350 CopyStyle Include:Listings
351 LabelString Listings[[inset]]
353 Decoration minimalistic
365 ParbreakIsNewline true
376 border: 2px solid black;
380 div.listings-caption {
382 border: 2px solid black;
387 DocBookTag programlisting
390 InsetLayout MintedListings
393 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
395 # The command does not need to be defined in LangPreamble, since
396 # minted.sty does that already. However it needs to be redefined
397 # in order to be used for non-english single-language documents.
399 \renewcommand{\listingscaption}{_(Listing)}
401 FixedWidthPreambleEncoding false
440 DocBookWrapperTag sidebar
444 InsetLayout Box:Frameless
447 div.Frameless { margin: 1em; }
449 DocBookWrapperTag sidebar
451 DocBookWrapperAttr role='frameless'
454 InsetLayout Box:Shaded
459 background-color: gray;
463 DocBookWrapperTag sidebar
465 DocBookWrapperAttr role='shaded'
468 InsetLayout Box:Boxed
472 border: solid thick black;
476 DocBookWrapperTag sidebar
478 DocBookWrapperAttr role='boxed'
481 InsetLayout Box:Framed
485 border: solid thick black;
489 DocBookWrapperTag sidebar
491 DocBookWrapperAttr role='framed'
494 InsetLayout Box:ovalbox
498 border: groove medium black;
502 DocBookWrapperTag sidebar
504 DocBookWrapperAttr role='ovalbox'
507 InsetLayout Box:Ovalbox
511 border: ridge thick black;
515 DocBookWrapperTag sidebar
517 DocBookWrapperAttr role='ovalbox-var'
520 InsetLayout Box:Shadowbox
523 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
525 DocBookWrapperTag sidebar
527 DocBookWrapperAttr role='shadowbox'
530 InsetLayout Box:Doublebox
534 border: double thick black;
538 DocBookWrapperTag sidebar
540 DocBookWrapperAttr role='doublebox'
544 LaTeXType environment
552 border: 2px solid black;
558 #InsetWrap requires these, independently of whether stdfloats.inc is included
559 OutlinerName table "Tables" #no AddToToc (built-in)
560 OutlinerName figure "Figures" #no AddToToc (built-in)
572 border: 2px solid black;
579 InsetLayout "Flex:URL"
605 DocBookTagType inline
615 ForceLocalFontSwitch 1
619 Decoration conglomerate
621 span.info { font-family: sans-serif; }
627 InsetLayout Info:menu
632 \providecommand{\menuitem}[1]{\textsf{#1}}
634 Decoration conglomerate
638 HTMLAttr "class='info menu'"
640 span.menu { font-family: sans-serif; }
643 DocBookTagType inline
646 InsetLayout Info:shortcut
651 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
653 Decoration conglomerate
657 HTMLAttr "class='info shortcut'"
659 span.shortcut { font-family: sans-serif; }
661 DocBookWrapperTag keycombo
662 DocBookWrapperTagType inline
664 DocBookTagType inline
667 InsetLayout Info:shortcuts
672 \providecommand{\shortcut}[1]{\textsf{#1}}
674 Decoration conglomerate
678 HTMLAttr "class='info shortcut'"
680 span.shortcuts { font-family: sans-serif; }
682 DocBookWrapperTag keycombo
683 DocBookWrapperTagType inline
685 DocBookTagType inline
688 InsetLayout Caption:Standard
695 LabelString "Short Title|S"
696 Tooltip "The caption as it appears in the list of figures/tables"
698 DocBookTag titleabbrev
699 DocBookArgumentAfterMainTag true
704 border: 2px solid black;
709 HTMLAttr "class='float-caption float-caption-standard'"
713 InsetLayout Caption:Unnumbered
714 CopyStyle Caption:Standard
715 LabelString unlabelled
723 Decoration minimalistic
738 InsetLayout Script:superscript
740 LaTeXName textsuperscript
745 InsetLayout Script:subscript
748 LaTeXName textsubscript
753 InsetLayout PrintNomencl
755 \addto\captions$$lang{%
756 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
757 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
758 \def\nomname{_(Nomenclature[[output]])}%
761 # The command is defined for several languages in nomencl.sty. However, we need to define
762 # it anyway for the other, non suppported languages.
764 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
765 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
766 \def\nomname{_(Nomenclature[[output]])}
774 border-collapse: collapse;
775 display: inline-block;
778 border: 1px solid black;