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
375 border: 2px solid black;
379 div.listings-caption {
381 border: 2px solid black;
386 DocBookTag programlisting
389 InsetLayout MintedListings
392 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
394 # The command does not need to be defined in LangPreamble, since
395 # minted.sty does that already. However it needs to be redefined
396 # in order to be used for non-english single-language documents.
398 \renewcommand{\listingscaption}{_(Listing)}
400 FixedWidthPreambleEncoding false
439 DocBookWrapperTag sidebar
443 InsetLayout Box:Frameless
446 div.Frameless { margin: 1em; }
448 DocBookWrapperTag sidebar
450 DocBookWrapperAttr role='frameless'
453 InsetLayout Box:Shaded
458 background-color: gray;
462 DocBookWrapperTag sidebar
464 DocBookWrapperAttr role='shaded'
467 InsetLayout Box:Boxed
471 border: solid thick black;
475 DocBookWrapperTag sidebar
477 DocBookWrapperAttr role='boxed'
480 InsetLayout Box:Framed
484 border: solid thick black;
488 DocBookWrapperTag sidebar
490 DocBookWrapperAttr role='framed'
493 InsetLayout Box:ovalbox
497 border: groove medium black;
501 DocBookWrapperTag sidebar
503 DocBookWrapperAttr role='ovalbox'
506 InsetLayout Box:Ovalbox
510 border: ridge thick black;
514 DocBookWrapperTag sidebar
516 DocBookWrapperAttr role='ovalbox-var'
519 InsetLayout Box:Shadowbox
522 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
524 DocBookWrapperTag sidebar
526 DocBookWrapperAttr role='shadowbox'
529 InsetLayout Box:Doublebox
533 border: double thick black;
537 DocBookWrapperTag sidebar
539 DocBookWrapperAttr role='doublebox'
543 LaTeXType environment
551 border: 2px solid black;
557 #InsetWrap requires these, independently of whether stdfloats.inc is included
558 OutlinerName table "Tables" #no AddToToc (built-in)
559 OutlinerName figure "Figures" #no AddToToc (built-in)
571 border: 2px solid black;
578 InsetLayout "Flex:URL"
604 DocBookTagType inline
614 ForceLocalFontSwitch 1
618 Decoration conglomerate
620 span.info { font-family: sans-serif; }
626 InsetLayout Info:menu
631 \providecommand{\menuitem}[1]{\textsf{#1}}
633 Decoration conglomerate
637 HTMLAttr "class='info menu'"
639 span.menu { font-family: sans-serif; }
642 DocBookTagType inline
645 InsetLayout Info:shortcut
650 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
652 Decoration conglomerate
656 HTMLAttr "class='info shortcut'"
658 span.shortcut { font-family: sans-serif; }
660 DocBookWrapperTag keycombo
661 DocBookWrapperTagType inline
663 DocBookTagType inline
666 InsetLayout Info:shortcuts
671 \providecommand{\shortcut}[1]{\textsf{#1}}
673 Decoration conglomerate
677 HTMLAttr "class='info shortcut'"
679 span.shortcuts { font-family: sans-serif; }
681 DocBookWrapperTag keycombo
682 DocBookWrapperTagType inline
684 DocBookTagType inline
687 InsetLayout Caption:Standard
694 LabelString "Short Title|S"
695 Tooltip "The caption as it appears in the list of figures/tables"
701 border: 2px solid black;
706 HTMLAttr "class='float-caption float-caption-standard'"
710 InsetLayout Caption:Unnumbered
711 CopyStyle Caption:Standard
712 LabelString unlabelled
720 Decoration minimalistic
735 InsetLayout Script:superscript
737 LaTeXName textsuperscript
742 InsetLayout Script:subscript
745 LaTeXName textsubscript
750 InsetLayout PrintNomencl
752 \addto\captions$$lang{%
753 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
754 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
755 \def\nomname{_(Nomenclature[[output]])}%
758 # The command is defined for several languages in nomencl.sty. However, we need to define
759 # it anyway for the other, non suppported languages.
761 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
762 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
763 \def\nomname{_(Nomenclature[[output]])}
771 border-collapse: collapse;
772 display: inline-block;
775 border: 1px solid black;