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
226 Decoration minimalistic
236 Decoration minimalistic
251 border-width: 2px 0px;
254 h2.tochead { font-size: x-large; font-weight: bold; }
256 margin: 2em 0em 0em 0em;
261 margin: 1em 0em 0em 0em;
266 margin: 0em 0.1em 0em 1em;
270 div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
271 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
272 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
273 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
275 text-decoration: none;
278 a.tocentry:visited { color: black; }
282 InsetLayout TOC:Listings
283 # We need the [[List of Listings]] context, since "Listings" is also
284 # the name of the inset and translated differently.
285 # "Listings[[List of Listings]]" is the name of the "List of listings"
286 # ("Listings" is the predefined english name) in listings.sty, so it
287 # must be used here as well.
289 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
291 # The command does not need to be defined in LangPreamble, since
292 # listings.sty does that already. However it needs to be redefined
293 # in order to be used for non-english single-language documents.
295 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
297 FixedWidthPreambleEncoding true
301 margin: 0em 0em 0em 1em;
308 InsetLayout TOC:MintedListings
309 # "List of Listings" is the name of the "List of listings"
310 # in minted.sty so it must be used here as well.
312 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
314 # The command does not need to be defined in LangPreamble, since
315 # minted.sty does that already. However it needs to be redefined
316 # in order to be used for non-english single-language documents.
318 \renewcommand{\listoflistingscaption}{_(List of Listings)}
320 FixedWidthPreambleEncoding false
324 margin: 0em 0em 0em 1em;
331 InsetLayout Include:Listings
333 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
335 # The command does not need to be defined in LangPreamble, since
336 # listings.sty does that already. However it needs to be redefined
337 # in order to be used for non-english single-language documents.
339 \renewcommand{\lstlistingname}{_(Listing)}
341 FixedWidthPreambleEncoding true
345 CopyStyle Include:Listings
346 LabelString Listings[[inset]]
348 Decoration minimalistic
360 ParbreakIsNewline true
370 border: 2px solid black;
374 div.listings-caption {
376 border: 2px solid black;
383 InsetLayout MintedListings
386 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
388 # The command does not need to be defined in LangPreamble, since
389 # minted.sty does that already. However it needs to be redefined
390 # in order to be used for non-english single-language documents.
392 \renewcommand{\listingscaption}{_(Listing)}
394 FixedWidthPreambleEncoding false
435 InsetLayout Box:Frameless
438 div.Frameless { margin: 1em; }
442 InsetLayout Box:Shaded
447 background-color: gray;
453 InsetLayout Box:Boxed
457 border: solid thick black;
463 InsetLayout Box:Framed
467 border: solid thick black;
473 InsetLayout Box:ovalbox
477 border: groove medium black;
483 InsetLayout Box:Ovalbox
487 border: ridge thick black;
493 InsetLayout Box:Shadowbox
496 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
500 InsetLayout Box:Doublebox
504 border: double thick black;
518 border: 2px solid black;
524 #InsetWrap requires these, independently of whether stdfloats.inc is included
525 OutlinerName table "Tables" #no AddToToc (built-in)
526 OutlinerName figure "Figures" #no AddToToc (built-in)
538 border: 2px solid black;
545 InsetLayout "Flex:URL"
579 ForceLocalFontSwitch 1
583 Decoration conglomerate
585 span.info { font-family: sans-serif; }
591 InsetLayout Info:menu
596 \providecommand{\menuitem}[1]{\textsf{#1}}
598 Decoration conglomerate
602 HTMLAttr "class='info menu'"
604 span.menu { font-family: sans-serif; }
608 InsetLayout Info:shortcut
613 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
615 Decoration conglomerate
619 HTMLAttr "class='info shortcut'"
621 span.shortcut { font-family: sans-serif; }
625 InsetLayout Info:shortcuts
630 \providecommand{\shortcut}[1]{\textsf{#1}}
632 Decoration conglomerate
636 HTMLAttr "class='info shortcut'"
638 span.shortcuts { font-family: sans-serif; }
642 InsetLayout Caption:Standard
649 LabelString "Short Title|S"
650 Tooltip "The caption as it appears in the list of figures/tables"
656 border: 2px solid black;
661 HTMLAttr "class='float-caption float-caption-standard'"
665 InsetLayout Caption:Unnumbered
666 CopyStyle Caption:Standard
667 LabelString unlabelled
675 Decoration minimalistic
690 InsetLayout Script:superscript
692 LaTeXName textsuperscript
697 InsetLayout Script:subscript
700 LaTeXName textsubscript
705 InsetLayout PrintNomencl
707 \addto\captions$$lang{%
708 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
709 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
710 \def\nomname{_(Nomenclature[[output]])}%
713 # The command is defined for several languages in nomencl.sty. However, we need to define
714 # it anyway for the other, non suppported languages.
716 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
717 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
718 \def\nomname{_(Nomenclature[[output]])}
726 border-collapse: collapse;
727 display: inline-block;
730 border: 1px solid black;