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; }
628 InsetLayout Info:menu
633 \providecommand{\menuitem}[1]{\textsf{#1}}
635 Decoration conglomerate
639 HTMLAttr "class='info menu'"
641 span.menu { font-family: sans-serif; }
644 DocBookTagType inline
647 InsetLayout Info:shortcut
652 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
654 Decoration conglomerate
658 HTMLAttr "class='info shortcut'"
660 span.shortcut { font-family: sans-serif; }
662 DocBookWrapperTag keycombo
663 DocBookWrapperTagType inline
665 DocBookTagType inline
668 InsetLayout Info:shortcuts
673 \providecommand{\shortcut}[1]{\textsf{#1}}
675 Decoration conglomerate
679 HTMLAttr "class='info shortcut'"
681 span.shortcuts { font-family: sans-serif; }
683 DocBookWrapperTag keycombo
684 DocBookWrapperTagType inline
686 DocBookTagType inline
689 InsetLayout Caption:Standard
696 LabelString "Short Title|S"
697 Tooltip "The caption as it appears in the list of figures/tables"
699 DocBookTag titleabbrev
700 DocBookArgumentAfterMainTag true
705 border: 2px solid black;
710 HTMLAttr "class='float-caption float-caption-standard'"
714 InsetLayout Caption:Unnumbered
715 CopyStyle Caption:Standard
716 LabelString unlabelled
724 Decoration minimalistic
739 InsetLayout Script:superscript
741 LaTeXName textsuperscript
746 InsetLayout Script:subscript
749 LaTeXName textsubscript
754 InsetLayout PrintNomencl
756 \addto\captions$$lang{%
757 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
758 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
759 \def\nomname{_(Nomenclature[[output]])}%
762 # The command is defined for several languages in nomencl.sty. However, we need to define
763 # it anyway for the other, non suppported languages.
765 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
766 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
767 \def\nomname{_(Nomenclature[[output]])}
775 border-collapse: collapse;
776 display: inline-block;