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;
63 HTMLLabel \arabic{footnote}
67 vertical-align: super;
70 text-decoration: underline;
80 div.foot_inner { display: none; }
81 div.foot:hover div.foot_inner {
83 border: 1px double black;
92 InsetLayout Foot:InTitle
98 HTMLLabel \fnsymbol{thanks}
101 span.foot_intitle_label {
102 vertical-align: super;
105 text-decoration: underline;
112 font-variant: normal;
115 span.foot_intitle_inner { display: none; }
116 span.foot_intitle:hover span.foot_intitle_inner {
118 border: 1px double black;
125 InsetLayout Foot:InFloatTable
127 LatexName tablefootnote
128 Requires tablefootnote
132 InsetLayout Note:Comment
134 LatexType environment
157 InsetLayout Note:Note
167 # Not output for XHTML
173 InsetLayout Note:Greyedout
174 LabelString Greyedout
175 LatexType environment
176 LatexName lyxgreyedout
177 Requires color,lyxgreyedout
206 Decoration minimalistic
219 ParbreakIsNewline true
227 Decoration minimalistic
237 Decoration minimalistic
252 border-width: 2px 0px;
255 h2.tochead { font-size: x-large; font-weight: bold; }
257 margin: 2em 0em 0em 0em;
262 margin: 1em 0em 0em 0em;
267 margin: 0em 0.1em 0em 1em;
271 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
272 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
273 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
274 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
276 text-decoration: none;
279 a.tocentry:visited { color: black; }
283 InsetLayout TOC:Listings
284 # We need the [[List of Listings]] context, since "Listings" is also
285 # the name of the inset and translated differently.
286 # "Listings[[List of Listings]]" is the name of the "List of listings"
287 # ("Listings" is the predefined english name) in listings.sty, so it
288 # must be used here as well.
290 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
292 # The command does not need to be defined in LangPreamble, since
293 # listings.sty does that already. However it needs to be redefined
294 # in order to be used for non-english single-language documents.
296 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
298 FixedWidthPreambleEncoding true
302 margin: 0em 0em 0em 1em;
309 InsetLayout TOC:MintedListings
310 # "List of Listings" is the name of the "List of listings"
311 # in minted.sty so it must be used here as well.
313 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
315 # The command does not need to be defined in LangPreamble, since
316 # minted.sty does that already. However it needs to be redefined
317 # in order to be used for non-english single-language documents.
319 \renewcommand{\listoflistingscaption}{_(List of Listings)}
321 FixedWidthPreambleEncoding false
325 margin: 0em 0em 0em 1em;
332 InsetLayout Include:Listings
334 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
336 # The command does not need to be defined in LangPreamble, since
337 # listings.sty does that already. However it needs to be redefined
338 # in order to be used for non-english single-language documents.
340 \renewcommand{\lstlistingname}{_(Listing)}
342 FixedWidthPreambleEncoding true
346 CopyStyle Include:Listings
347 LabelString Listings[[inset]]
349 Decoration minimalistic
361 ParbreakIsNewline true
371 border: 2px solid black;
375 div.listings-caption {
377 border: 2px solid black;
384 InsetLayout MintedListings
387 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
389 # The command does not need to be defined in LangPreamble, since
390 # minted.sty does that already. However it needs to be redefined
391 # in order to be used for non-english single-language documents.
393 \renewcommand{\listingscaption}{_(Listing)}
395 FixedWidthPreambleEncoding false
436 InsetLayout Box:Frameless
439 div.Frameless { margin: 1em; }
443 InsetLayout Box:Shaded
448 background-color: gray;
454 InsetLayout Box:Boxed
458 border: solid thick black;
464 InsetLayout Box:Framed
468 border: solid thick black;
474 InsetLayout Box:ovalbox
478 border: groove medium black;
484 InsetLayout Box:Ovalbox
488 border: ridge thick black;
494 InsetLayout Box:Shadowbox
497 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
501 InsetLayout Box:Doublebox
505 border: double thick black;
512 LaTeXType environment
520 border: 2px solid black;
526 #InsetWrap requires these, independently of whether stdfloats.inc is included
527 OutlinerName table "Tables" #no AddToToc (built-in)
528 OutlinerName figure "Figures" #no AddToToc (built-in)
540 border: 2px solid black;
547 InsetLayout "Flex:URL"
581 ForceLocalFontSwitch 1
585 Decoration conglomerate
587 span.info { font-family: sans-serif; }
593 InsetLayout Info:menu
598 \providecommand{\menuitem}[1]{\textsf{#1}}
600 Decoration conglomerate
604 HTMLAttr "class='info menu'"
606 span.menu { font-family: sans-serif; }
610 InsetLayout Info:shortcut
615 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
617 Decoration conglomerate
621 HTMLAttr "class='info shortcut'"
623 span.shortcut { font-family: sans-serif; }
627 InsetLayout Info:shortcuts
632 \providecommand{\shortcut}[1]{\textsf{#1}}
634 Decoration conglomerate
638 HTMLAttr "class='info shortcut'"
640 span.shortcuts { font-family: sans-serif; }
644 InsetLayout Caption:Standard
651 LabelString "Short Title|S"
652 Tooltip "The caption as it appears in the list of figures/tables"
658 border: 2px solid black;
663 HTMLAttr "class='float-caption float-caption-standard'"
667 InsetLayout Caption:Unnumbered
668 CopyStyle Caption:Standard
669 LabelString unlabelled
677 Decoration minimalistic
692 InsetLayout Script:superscript
694 LaTeXName textsuperscript
699 InsetLayout Script:subscript
702 LaTeXName textsubscript
707 InsetLayout PrintNomencl
709 \addto\captions$$lang{%
710 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
711 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
712 \def\nomname{_(Nomenclature[[output]])}%
715 # The command is defined for several languages in nomencl.sty. However, we need to define
716 # it anyway for the other, non suppported languages.
718 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
719 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
720 \def\nomname{_(Nomenclature[[output]])}
728 border-collapse: collapse;
729 display: inline-block;
732 border: 1px solid black;