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
439 InsetLayout Box:Frameless
442 div.Frameless { margin: 1em; }
446 InsetLayout Box:Shaded
451 background-color: gray;
457 InsetLayout Box:Boxed
461 border: solid thick black;
467 InsetLayout Box:Framed
471 border: solid thick black;
477 InsetLayout Box:ovalbox
481 border: groove medium black;
487 InsetLayout Box:Ovalbox
491 border: ridge thick black;
497 InsetLayout Box:Shadowbox
500 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
504 InsetLayout Box:Doublebox
508 border: double thick black;
515 LaTeXType environment
523 border: 2px solid black;
529 #InsetWrap requires these, independently of whether stdfloats.inc is included
530 OutlinerName table "Tables" #no AddToToc (built-in)
531 OutlinerName figure "Figures" #no AddToToc (built-in)
543 border: 2px solid black;
550 InsetLayout "Flex:URL"
585 ForceLocalFontSwitch 1
589 Decoration conglomerate
591 span.info { font-family: sans-serif; }
597 InsetLayout Info:menu
602 \providecommand{\menuitem}[1]{\textsf{#1}}
604 Decoration conglomerate
608 HTMLAttr "class='info menu'"
610 span.menu { font-family: sans-serif; }
614 InsetLayout Info:shortcut
619 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
621 Decoration conglomerate
625 HTMLAttr "class='info shortcut'"
627 span.shortcut { font-family: sans-serif; }
631 InsetLayout Info:shortcuts
636 \providecommand{\shortcut}[1]{\textsf{#1}}
638 Decoration conglomerate
642 HTMLAttr "class='info shortcut'"
644 span.shortcuts { font-family: sans-serif; }
648 InsetLayout Caption:Standard
655 LabelString "Short Title|S"
656 Tooltip "The caption as it appears in the list of figures/tables"
662 border: 2px solid black;
667 HTMLAttr "class='float-caption float-caption-standard'"
671 InsetLayout Caption:Unnumbered
672 CopyStyle Caption:Standard
673 LabelString unlabelled
681 Decoration minimalistic
696 InsetLayout Script:superscript
698 LaTeXName textsuperscript
703 InsetLayout Script:subscript
706 LaTeXName textsubscript
711 InsetLayout PrintNomencl
713 \addto\captions$$lang{%
714 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
715 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
716 \def\nomname{_(Nomenclature[[output]])}%
719 # The command is defined for several languages in nomencl.sty. However, we need to define
720 # it anyway for the other, non suppported languages.
722 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
723 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
724 \def\nomname{_(Nomenclature[[output]])}
732 border-collapse: collapse;
733 display: inline-block;
736 border: 1px solid black;