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
374 border: 2px solid black;
378 div.listings-caption {
380 border: 2px solid black;
385 DocBookTag programlisting
388 InsetLayout MintedListings
391 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
393 # The command does not need to be defined in LangPreamble, since
394 # minted.sty does that already. However it needs to be redefined
395 # in order to be used for non-english single-language documents.
397 \renewcommand{\listingscaption}{_(Listing)}
399 FixedWidthPreambleEncoding false
438 DocBookWrapperTag sidebar
442 InsetLayout Box:Frameless
445 div.Frameless { margin: 1em; }
447 DocBookWrapperTag sidebar
449 DocBookWrapperAttr role='frameless'
452 InsetLayout Box:Shaded
457 background-color: gray;
461 DocBookWrapperTag sidebar
463 DocBookWrapperAttr role='shaded'
466 InsetLayout Box:Boxed
470 border: solid thick black;
474 DocBookWrapperTag sidebar
476 DocBookWrapperAttr role='boxed'
479 InsetLayout Box:Framed
483 border: solid thick black;
487 DocBookWrapperTag sidebar
489 DocBookWrapperAttr role='framed'
492 InsetLayout Box:ovalbox
496 border: groove medium black;
500 DocBookWrapperTag sidebar
502 DocBookWrapperAttr role='ovalbox'
505 InsetLayout Box:Ovalbox
509 border: ridge thick black;
513 DocBookWrapperTag sidebar
515 DocBookWrapperAttr role='ovalbox-var'
518 InsetLayout Box:Shadowbox
521 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
523 DocBookWrapperTag sidebar
525 DocBookWrapperAttr role='shadowbox'
528 InsetLayout Box:Doublebox
532 border: double thick black;
536 DocBookWrapperTag sidebar
538 DocBookWrapperAttr role='doublebox'
542 LaTeXType environment
550 border: 2px solid black;
556 #InsetWrap requires these, independently of whether stdfloats.inc is included
557 OutlinerName table "Tables" #no AddToToc (built-in)
558 OutlinerName figure "Figures" #no AddToToc (built-in)
570 border: 2px solid black;
577 InsetLayout "Flex:URL"
612 ForceLocalFontSwitch 1
616 Decoration conglomerate
618 span.info { font-family: sans-serif; }
624 InsetLayout Info:menu
629 \providecommand{\menuitem}[1]{\textsf{#1}}
631 Decoration conglomerate
635 HTMLAttr "class='info menu'"
637 span.menu { font-family: sans-serif; }
640 DocBookTagType inline
643 InsetLayout Info:shortcut
648 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
650 Decoration conglomerate
654 HTMLAttr "class='info shortcut'"
656 span.shortcut { font-family: sans-serif; }
658 DocBookWrapperTag keycombo
659 DocBookWrapperTagType inline
661 DocBookTagType inline
664 InsetLayout Info:shortcuts
669 \providecommand{\shortcut}[1]{\textsf{#1}}
671 Decoration conglomerate
675 HTMLAttr "class='info shortcut'"
677 span.shortcuts { font-family: sans-serif; }
679 DocBookWrapperTag keycombo
680 DocBookWrapperTagType inline
682 DocBookTagType inline
685 InsetLayout Caption:Standard
692 LabelString "Short Title|S"
693 Tooltip "The caption as it appears in the list of figures/tables"
699 border: 2px solid black;
704 HTMLAttr "class='float-caption float-caption-standard'"
708 InsetLayout Caption:Unnumbered
709 CopyStyle Caption:Standard
710 LabelString unlabelled
718 Decoration minimalistic
733 InsetLayout Script:superscript
735 LaTeXName textsuperscript
740 InsetLayout Script:subscript
743 LaTeXName textsubscript
748 InsetLayout PrintNomencl
750 \addto\captions$$lang{%
751 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
752 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
753 \def\nomname{_(Nomenclature[[output]])}%
756 # The command is defined for several languages in nomencl.sty. However, we need to define
757 # it anyway for the other, non suppported languages.
759 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
760 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
761 \def\nomname{_(Nomenclature[[output]])}
769 border-collapse: collapse;
770 display: inline-block;
773 border: 1px solid black;