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;
94 InsetLayout Foot:InTitle
100 HTMLLabel \fnsymbol{thanks}
103 span.foot_intitle_label {
104 vertical-align: super;
107 text-decoration: underline;
114 font-variant: normal;
117 span.foot_intitle_inner { display: none; }
118 span.foot_intitle:hover span.foot_intitle_inner {
120 border: 1px double black;
127 InsetLayout Foot:InFloatTable
129 LatexName tablefootnote
130 Requires tablefootnote
134 InsetLayout Note:Comment
136 LatexType environment
159 InsetLayout Note:Note
169 # Not output for XHTML
175 InsetLayout Note:Greyedout
176 LabelString Greyedout
177 LatexType environment
178 LatexName lyxgreyedout
179 Requires color,lyxgreyedout
208 Decoration minimalistic
221 ParbreakIsNewline true
229 Decoration minimalistic
239 Decoration minimalistic
254 border-width: 2px 0px;
257 h2.tochead { font-size: x-large; font-weight: bold; }
259 margin: 2em 0em 0em 0em;
264 margin: 1em 0em 0em 0em;
269 margin: 0em 0.1em 0em 1em;
273 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
274 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
275 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
276 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
278 text-decoration: none;
281 a.tocentry:visited { color: black; }
285 InsetLayout TOC:Listings
286 # We need the [[List of Listings]] context, since "Listings" is also
287 # the name of the inset and translated differently.
288 # "Listings[[List of Listings]]" is the name of the "List of listings"
289 # ("Listings" is the predefined english name) in listings.sty, so it
290 # must be used here as well.
292 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
294 # The command does not need to be defined in LangPreamble, since
295 # listings.sty does that already. However it needs to be redefined
296 # in order to be used for non-english single-language documents.
298 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
300 FixedWidthPreambleEncoding true
304 margin: 0em 0em 0em 1em;
311 InsetLayout TOC:MintedListings
312 # "List of Listings" is the name of the "List of listings"
313 # in minted.sty so it must be used here as well.
315 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
317 # The command does not need to be defined in LangPreamble, since
318 # minted.sty does that already. However it needs to be redefined
319 # in order to be used for non-english single-language documents.
321 \renewcommand{\listoflistingscaption}{_(List of Listings)}
323 FixedWidthPreambleEncoding false
327 margin: 0em 0em 0em 1em;
334 InsetLayout Include:Listings
336 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
338 # The command does not need to be defined in LangPreamble, since
339 # listings.sty does that already. However it needs to be redefined
340 # in order to be used for non-english single-language documents.
342 \renewcommand{\lstlistingname}{_(Listing)}
344 FixedWidthPreambleEncoding true
348 CopyStyle Include:Listings
349 LabelString Listings[[inset]]
351 Decoration minimalistic
363 ParbreakIsNewline true
373 border: 2px solid black;
377 div.listings-caption {
379 border: 2px solid black;
384 DocBookTag programlisting
387 InsetLayout MintedListings
390 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
392 # The command does not need to be defined in LangPreamble, since
393 # minted.sty does that already. However it needs to be redefined
394 # in order to be used for non-english single-language documents.
396 \renewcommand{\listingscaption}{_(Listing)}
398 FixedWidthPreambleEncoding false
437 DocBookWrapperTag sidebar
441 InsetLayout Box:Frameless
444 div.Frameless { margin: 1em; }
446 DocBookWrapperTag sidebar
448 DocBookWrapperAttr role='frameless'
451 InsetLayout Box:Shaded
456 background-color: gray;
460 DocBookWrapperTag sidebar
462 DocBookWrapperAttr role='shaded'
465 InsetLayout Box:Boxed
469 border: solid thick black;
473 DocBookWrapperTag sidebar
475 DocBookWrapperAttr role='boxed'
478 InsetLayout Box:Framed
482 border: solid thick black;
486 DocBookWrapperTag sidebar
488 DocBookWrapperAttr role='framed'
491 InsetLayout Box:ovalbox
495 border: groove medium black;
499 DocBookWrapperTag sidebar
501 DocBookWrapperAttr role='ovalbox'
504 InsetLayout Box:Ovalbox
508 border: ridge thick black;
512 DocBookWrapperTag sidebar
514 DocBookWrapperAttr role='ovalbox-var'
517 InsetLayout Box:Shadowbox
520 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
522 DocBookWrapperTag sidebar
524 DocBookWrapperAttr role='shadowbox'
527 InsetLayout Box:Doublebox
531 border: double thick black;
535 DocBookWrapperTag sidebar
537 DocBookWrapperAttr role='doublebox'
541 LaTeXType environment
549 border: 2px solid black;
555 #InsetWrap requires these, independently of whether stdfloats.inc is included
556 OutlinerName table "Tables" #no AddToToc (built-in)
557 OutlinerName figure "Figures" #no AddToToc (built-in)
569 border: 2px solid black;
576 InsetLayout "Flex:URL"
611 ForceLocalFontSwitch 1
615 Decoration conglomerate
617 span.info { font-family: sans-serif; }
623 InsetLayout Info:menu
628 \providecommand{\menuitem}[1]{\textsf{#1}}
630 Decoration conglomerate
634 HTMLAttr "class='info menu'"
636 span.menu { font-family: sans-serif; }
639 DocBookTagType inline
642 InsetLayout Info:shortcut
647 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
649 Decoration conglomerate
653 HTMLAttr "class='info shortcut'"
655 span.shortcut { font-family: sans-serif; }
657 DocBookWrapperTag keycombo
658 DocBookWrapperTagType inline
660 DocBookTagType inline
663 InsetLayout Info:shortcuts
668 \providecommand{\shortcut}[1]{\textsf{#1}}
670 Decoration conglomerate
674 HTMLAttr "class='info shortcut'"
676 span.shortcuts { font-family: sans-serif; }
678 DocBookWrapperTag keycombo
679 DocBookWrapperTagType inline
681 DocBookTagType inline
684 InsetLayout Caption:Standard
691 LabelString "Short Title|S"
692 Tooltip "The caption as it appears in the list of figures/tables"
698 border: 2px solid black;
703 HTMLAttr "class='float-caption float-caption-standard'"
707 InsetLayout Caption:Unnumbered
708 CopyStyle Caption:Standard
709 LabelString unlabelled
717 Decoration minimalistic
732 InsetLayout Script:superscript
734 LaTeXName textsuperscript
739 InsetLayout Script:subscript
742 LaTeXName textsubscript
747 InsetLayout PrintNomencl
749 \addto\captions$$lang{%
750 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
751 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
752 \def\nomname{_(Nomenclature[[output]])}%
755 # The command is defined for several languages in nomencl.sty. However, we need to define
756 # it anyway for the other, non suppported languages.
758 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
759 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
760 \def\nomname{_(Nomenclature[[output]])}
768 border-collapse: collapse;
769 display: inline-block;
772 border: 1px solid black;