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;
511 LaTeXType environment
519 border: 2px solid black;
525 #InsetWrap requires these, independently of whether stdfloats.inc is included
526 OutlinerName table "Tables" #no AddToToc (built-in)
527 OutlinerName figure "Figures" #no AddToToc (built-in)
539 border: 2px solid black;
546 InsetLayout "Flex:URL"
580 ForceLocalFontSwitch 1
584 Decoration conglomerate
586 span.info { font-family: sans-serif; }
592 InsetLayout Info:menu
597 \providecommand{\menuitem}[1]{\textsf{#1}}
599 Decoration conglomerate
603 HTMLAttr "class='info menu'"
605 span.menu { font-family: sans-serif; }
609 InsetLayout Info:shortcut
614 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
616 Decoration conglomerate
620 HTMLAttr "class='info shortcut'"
622 span.shortcut { font-family: sans-serif; }
626 InsetLayout Info:shortcuts
631 \providecommand{\shortcut}[1]{\textsf{#1}}
633 Decoration conglomerate
637 HTMLAttr "class='info shortcut'"
639 span.shortcuts { font-family: sans-serif; }
643 InsetLayout Caption:Standard
650 LabelString "Short Title|S"
651 Tooltip "The caption as it appears in the list of figures/tables"
657 border: 2px solid black;
662 HTMLAttr "class='float-caption float-caption-standard'"
666 InsetLayout Caption:Unnumbered
667 CopyStyle Caption:Standard
668 LabelString unlabelled
676 Decoration minimalistic
691 InsetLayout Script:superscript
693 LaTeXName textsuperscript
698 InsetLayout Script:subscript
701 LaTeXName textsubscript
706 InsetLayout PrintNomencl
708 \addto\captions$$lang{%
709 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
710 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
711 \def\nomname{_(Nomenclature[[output]])}%
714 # The command is defined for several languages in nomencl.sty. However, we need to define
715 # it anyway for the other, non suppported languages.
717 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
718 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
719 \def\nomname{_(Nomenclature[[output]])}
727 border-collapse: collapse;
728 display: inline-block;
731 border: 1px solid black;