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
434 InsetLayout IndexMacro:see
449 InsetLayout IndexMacro:seealso
450 CopyStyle IndexMacro:see
451 LabelString "See also"
454 InsetLayout IndexMacro:sortkey
455 CopyStyle IndexMacro:see
456 LabelString "Sort as"
459 InsetLayout IndexMacro:subentry
460 CopyStyle IndexMacro:see
461 LabelString "Subentry"
470 DocBookWrapperTag sidebar
474 InsetLayout Box:Frameless
477 div.Frameless { margin: 1em; }
479 DocBookWrapperTag sidebar
481 DocBookWrapperAttr role='frameless'
484 InsetLayout Box:Shaded
489 background-color: gray;
493 DocBookWrapperTag sidebar
495 DocBookWrapperAttr role='shaded'
498 InsetLayout Box:Boxed
502 border: solid thick black;
506 DocBookWrapperTag sidebar
508 DocBookWrapperAttr role='boxed'
511 InsetLayout Box:Framed
515 border: solid thick black;
519 DocBookWrapperTag sidebar
521 DocBookWrapperAttr role='framed'
524 InsetLayout Box:ovalbox
528 border: groove medium black;
532 DocBookWrapperTag sidebar
534 DocBookWrapperAttr role='ovalbox'
537 InsetLayout Box:Ovalbox
541 border: ridge thick black;
545 DocBookWrapperTag sidebar
547 DocBookWrapperAttr role='ovalbox-var'
550 InsetLayout Box:Shadowbox
553 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
555 DocBookWrapperTag sidebar
557 DocBookWrapperAttr role='shadowbox'
560 InsetLayout Box:Doublebox
564 border: double thick black;
568 DocBookWrapperTag sidebar
570 DocBookWrapperAttr role='doublebox'
574 LaTeXType environment
582 border: 2px solid black;
588 #InsetWrap requires these, independently of whether stdfloats.inc is included
589 OutlinerName table "Tables" #no AddToToc (built-in)
590 OutlinerName figure "Figures" #no AddToToc (built-in)
602 border: 2px solid black;
609 InsetLayout "Flex:URL"
635 DocBookTagType inline
645 ForceLocalFontSwitch 1
649 Decoration conglomerate
651 span.info { font-family: sans-serif; }
658 InsetLayout Info:menu
663 \providecommand{\menuitem}[1]{\textsf{#1}}
665 Decoration conglomerate
669 HTMLAttr "class='info menu'"
671 span.menu { font-family: sans-serif; }
674 DocBookTagType inline
677 InsetLayout Info:shortcut
682 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
684 Decoration conglomerate
688 HTMLAttr "class='info shortcut'"
690 span.shortcut { font-family: sans-serif; }
692 DocBookWrapperTag keycombo
693 DocBookWrapperTagType inline
695 DocBookTagType inline
698 InsetLayout Info:shortcuts
703 \providecommand{\shortcut}[1]{\textsf{#1}}
705 Decoration conglomerate
709 HTMLAttr "class='info shortcut'"
711 span.shortcuts { font-family: sans-serif; }
713 DocBookWrapperTag keycombo
714 DocBookWrapperTagType inline
716 DocBookTagType inline
719 InsetLayout Caption:Standard
726 LabelString "Short Title|S"
727 Tooltip "The caption as it appears in the list of figures/tables"
729 DocBookTag titleabbrev
730 DocBookArgumentAfterMainTag true
735 border: 2px solid black;
740 HTMLAttr "class='float-caption float-caption-standard'"
744 InsetLayout Caption:Unnumbered
745 CopyStyle Caption:Standard
746 LabelString unlabelled
754 Decoration minimalistic
769 InsetLayout Script:superscript
771 LaTeXName textsuperscript
776 InsetLayout Script:subscript
779 LaTeXName textsubscript
784 InsetLayout PrintNomencl
786 \addto\captions$$lang{%
787 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
788 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
789 \def\nomname{_(Nomenclature[[output]])}%
792 # The command is defined for several languages in nomencl.sty. However, we need to define
793 # it anyway for the other, non suppported languages.
795 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
796 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
797 \def\nomname{_(Nomenclature[[output]])}
805 border-collapse: collapse;
806 display: inline-block;