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
209 Decoration minimalistic
222 ParbreakIsNewline true
230 Decoration minimalistic
240 Decoration minimalistic
255 border-width: 2px 0px;
258 h2.tochead { font-size: x-large; font-weight: bold; }
260 margin: 2em 0em 0em 0em;
265 margin: 1em 0em 0em 0em;
270 margin: 0em 0.1em 0em 1em;
274 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
275 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
276 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
277 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
279 text-decoration: none;
282 a.tocentry:visited { color: black; }
286 InsetLayout TOC:Listings
287 # We need the [[List of Listings]] context, since "Listings" is also
288 # the name of the inset and translated differently.
289 # "Listings[[List of Listings]]" is the name of the "List of listings"
290 # ("Listings" is the predefined english name) in listings.sty, so it
291 # must be used here as well.
293 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
295 # The command does not need to be defined in LangPreamble, since
296 # listings.sty does that already. However it needs to be redefined
297 # in order to be used for non-english single-language documents.
299 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
301 FixedWidthPreambleEncoding true
305 margin: 0em 0em 0em 1em;
312 InsetLayout TOC:MintedListings
313 # "List of Listings" is the name of the "List of listings"
314 # in minted.sty so it must be used here as well.
316 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
318 # The command does not need to be defined in LangPreamble, since
319 # minted.sty does that already. However it needs to be redefined
320 # in order to be used for non-english single-language documents.
322 \renewcommand{\listoflistingscaption}{_(List of Listings)}
324 FixedWidthPreambleEncoding false
328 margin: 0em 0em 0em 1em;
335 InsetLayout Include:Listings
337 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
339 # The command does not need to be defined in LangPreamble, since
340 # listings.sty does that already. However it needs to be redefined
341 # in order to be used for non-english single-language documents.
343 \renewcommand{\lstlistingname}{_(Listing)}
345 FixedWidthPreambleEncoding true
349 CopyStyle Include:Listings
350 LabelString Listings[[inset]]
352 Decoration minimalistic
364 ParbreakIsNewline true
374 border: 2px solid black;
378 div.listings-caption {
380 border: 2px solid black;
385 DocBookTag programlisting
388 InsetLayout MintedListings
391 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
393 # The command does not need to be defined in LangPreamble, since
394 # minted.sty does that already. However it needs to be redefined
395 # in order to be used for non-english single-language documents.
397 \renewcommand{\listingscaption}{_(Listing)}
399 FixedWidthPreambleEncoding false
438 DocBookWrapperTag sidebar
442 InsetLayout Box:Frameless
445 div.Frameless { margin: 1em; }
447 DocBookWrapperTag sidebar
449 DocBookWrapperAttr role='frameless'
452 InsetLayout Box:Shaded
457 background-color: gray;
461 DocBookWrapperTag sidebar
463 DocBookWrapperAttr role='shaded'
466 InsetLayout Box:Boxed
470 border: solid thick black;
474 DocBookWrapperTag sidebar
476 DocBookWrapperAttr role='boxed'
479 InsetLayout Box:Framed
483 border: solid thick black;
487 DocBookWrapperTag sidebar
489 DocBookWrapperAttr role='framed'
492 InsetLayout Box:ovalbox
496 border: groove medium black;
500 DocBookWrapperTag sidebar
502 DocBookWrapperAttr role='ovalbox'
505 InsetLayout Box:Ovalbox
509 border: ridge thick black;
513 DocBookWrapperTag sidebar
515 DocBookWrapperAttr role='ovalbox-var'
518 InsetLayout Box:Shadowbox
521 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
523 DocBookWrapperTag sidebar
525 DocBookWrapperAttr role='shadowbox'
528 InsetLayout Box:Doublebox
532 border: double thick black;
536 DocBookWrapperTag sidebar
538 DocBookWrapperAttr role='doublebox'
542 LaTeXType environment
550 border: 2px solid black;
556 #InsetWrap requires these, independently of whether stdfloats.inc is included
557 OutlinerName table "Tables" #no AddToToc (built-in)
558 OutlinerName figure "Figures" #no AddToToc (built-in)
570 border: 2px solid black;
577 InsetLayout "Flex:URL"
603 DocBookTagType inline
613 ForceLocalFontSwitch 1
617 Decoration conglomerate
619 span.info { font-family: sans-serif; }
625 InsetLayout Info:menu
630 \providecommand{\menuitem}[1]{\textsf{#1}}
632 Decoration conglomerate
636 HTMLAttr "class='info menu'"
638 span.menu { font-family: sans-serif; }
641 DocBookTagType inline
644 InsetLayout Info:shortcut
649 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
651 Decoration conglomerate
655 HTMLAttr "class='info shortcut'"
657 span.shortcut { font-family: sans-serif; }
659 DocBookWrapperTag keycombo
660 DocBookWrapperTagType inline
662 DocBookTagType inline
665 InsetLayout Info:shortcuts
670 \providecommand{\shortcut}[1]{\textsf{#1}}
672 Decoration conglomerate
676 HTMLAttr "class='info shortcut'"
678 span.shortcuts { font-family: sans-serif; }
680 DocBookWrapperTag keycombo
681 DocBookWrapperTagType inline
683 DocBookTagType inline
686 InsetLayout Caption:Standard
693 LabelString "Short Title|S"
694 Tooltip "The caption as it appears in the list of figures/tables"
700 border: 2px solid black;
705 HTMLAttr "class='float-caption float-caption-standard'"
709 InsetLayout Caption:Unnumbered
710 CopyStyle Caption:Standard
711 LabelString unlabelled
719 Decoration minimalistic
734 InsetLayout Script:superscript
736 LaTeXName textsuperscript
741 InsetLayout Script:subscript
744 LaTeXName textsubscript
749 InsetLayout PrintNomencl
751 \addto\captions$$lang{%
752 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
753 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
754 \def\nomname{_(Nomenclature[[output]])}%
757 # The command is defined for several languages in nomencl.sty. However, we need to define
758 # it anyway for the other, non suppported languages.
760 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
761 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
762 \def\nomname{_(Nomenclature[[output]])}
770 border-collapse: collapse;
771 display: inline-block;
774 border: 1px solid black;