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)
34 border: 2px solid black;
37 background-color: #F0F0F0;
66 HTMLLabel \arabic{footnote}
70 vertical-align: super;
73 text-decoration: underline;
83 div.foot_inner { display: none; }
84 div.foot:hover div.foot_inner {
86 border: 1px double black;
97 InsetLayout Foot:InTitle
103 HTMLLabel \fnsymbol{thanks}
106 span.foot_intitle_label {
107 vertical-align: super;
110 text-decoration: underline;
117 font-variant: normal;
120 span.foot_intitle_inner { display: none; }
121 span.foot_intitle:hover span.foot_intitle_inner {
123 border: 1px double black;
130 InsetLayout Foot:InFloatTable
132 LatexName tablefootnote
133 Requires tablefootnote
137 InsetLayout Note:Comment
139 LatexType environment
163 InsetLayout Note:Note
173 # Not output for XHTML
179 InsetLayout Note:Greyedout
180 LabelString Greyedout
181 LatexType environment
182 LatexName lyxgreyedout
183 Requires color,lyxgreyedout
214 Decoration minimalistic
227 ParbreakIsNewline true
235 Decoration minimalistic
245 Decoration minimalistic
260 border-width: 2px 0px;
263 h2.tochead { font-size: x-large; font-weight: bold; }
265 margin: 2em 0em 0em 0em;
270 margin: 1em 0em 0em 0em;
275 margin: 0.5em 0.1em 0em 1em;
279 div.lyxtoc-3 { margin: 0.2em 0.1em 0em 0.5em; font-size: medium; }
280 div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
281 div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
282 div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
284 text-decoration: none;
287 a.tocentry:visited { color: black; }
291 InsetLayout TOC:Listings
292 # We need the [[List of Listings]] context, since "Listings" is also
293 # the name of the inset and translated differently.
294 # "Listings[[List of Listings]]" is the name of the "List of listings"
295 # ("Listings" is the predefined english name) in listings.sty, so it
296 # must be used here as well.
298 \addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
300 # The command does not need to be defined in LangPreamble, since
301 # listings.sty does that already. However it needs to be redefined
302 # in order to be used for non-english single-language documents.
304 \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
306 FixedWidthPreambleEncoding true
310 margin: 0em 0em 0em 1em;
317 InsetLayout TOC:MintedListings
318 # "List of Listings" is the name of the "List of listings"
319 # in minted.sty so it must be used here as well.
321 \addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
323 # The command does not need to be defined in LangPreamble, since
324 # minted.sty does that already. However it needs to be redefined
325 # in order to be used for non-english single-language documents.
327 \renewcommand{\listoflistingscaption}{_(List of Listings)}
329 FixedWidthPreambleEncoding false
333 margin: 0em 0em 0em 1em;
340 InsetLayout Include:Listings
342 \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
344 # The command does not need to be defined in LangPreamble, since
345 # listings.sty does that already. However it needs to be redefined
346 # in order to be used for non-english single-language documents.
348 \renewcommand{\lstlistingname}{_(Listing)}
350 FixedWidthPreambleEncoding true
354 CopyStyle Include:Listings
355 LabelString Listings[[inset]]
357 Decoration minimalistic
370 ParbreakIsNewline true
379 DocBookTag programlisting
382 InsetLayout MintedListings
385 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
387 # The command does not need to be defined in LangPreamble, since
388 # minted.sty does that already. However it needs to be redefined
389 # in order to be used for non-english single-language documents.
391 \renewcommand{\listingscaption}{_(Listing)}
393 FixedWidthPreambleEncoding false
426 InsetLayout IndexMacro:see
441 InsetLayout IndexMacro:seealso
442 CopyStyle IndexMacro:see
443 LabelString "See also"
446 InsetLayout IndexMacro:sortkey
447 CopyStyle IndexMacro:see
448 LabelString "Sort as"
451 InsetLayout IndexMacro:subentry
452 CopyStyle IndexMacro:see
453 LabelString "Subentry"
463 DocBookWrapperTag sidebar
467 InsetLayout Box:Frameless
470 div.Frameless { margin: 1em; }
472 DocBookWrapperTag sidebar
474 DocBookWrapperAttr role='frameless'
477 InsetLayout Box:Shaded
482 background-color: gray;
486 DocBookWrapperTag sidebar
488 DocBookWrapperAttr role='shaded'
491 InsetLayout Box:Boxed
495 border: solid thick black;
499 DocBookWrapperTag sidebar
501 DocBookWrapperAttr role='boxed'
504 InsetLayout Box:Framed
508 border: solid thick black;
512 DocBookWrapperTag sidebar
514 DocBookWrapperAttr role='framed'
517 InsetLayout Box:ovalbox
521 border: groove medium black;
525 DocBookWrapperTag sidebar
527 DocBookWrapperAttr role='ovalbox'
530 InsetLayout Box:Ovalbox
534 border: ridge thick black;
538 DocBookWrapperTag sidebar
540 DocBookWrapperAttr role='ovalbox-var'
543 InsetLayout Box:Shadowbox
546 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
548 DocBookWrapperTag sidebar
550 DocBookWrapperAttr role='shadowbox'
553 InsetLayout Box:Doublebox
557 border: double thick black;
561 DocBookWrapperTag sidebar
563 DocBookWrapperAttr role='doublebox'
567 LaTeXType environment
576 border: 2px solid black;
582 #InsetWrap requires these, independently of whether stdfloats.inc is included
583 OutlinerName table "Tables" #no AddToToc (built-in)
584 OutlinerName figure "Figures" #no AddToToc (built-in)
596 border: 2px solid black;
603 InsetLayout "Flex:URL"
629 DocBookTagType inline
639 ForceLocalFontSwitch 1
643 Decoration conglomerate
645 span.info { font-family: sans-serif; }
652 InsetLayout Info:menu
657 \providecommand{\menuitem}[1]{\textsf{#1}}
659 Decoration conglomerate
663 HTMLClass "info menu"
665 span.menu { font-family: sans-serif; }
668 DocBookTagType inline
671 InsetLayout Info:shortcut
676 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
678 Decoration conglomerate
682 HTMLClass "info shortcut"
684 span.shortcut { font-family: sans-serif; }
686 DocBookWrapperTag keycombo
687 DocBookWrapperTagType inline
689 DocBookTagType inline
692 InsetLayout Info:shortcuts
697 \providecommand{\shortcut}[1]{\textsf{#1}}
699 Decoration conglomerate
703 HTMLClass "info shortcut"
705 span.shortcuts { font-family: sans-serif; }
707 DocBookWrapperTag keycombo
708 DocBookWrapperTagType inline
710 DocBookTagType inline
713 InsetLayout Caption:Standard
720 LabelString "Short Title|S"
721 Tooltip "The caption as it appears in the list of figures/tables"
723 DocBookTag titleabbrev
724 DocBookArgumentAfterMainTag true
729 border: 2px solid black;
734 HTMLClass "float-caption float-caption-standard"
738 InsetLayout Caption:Unnumbered
739 CopyStyle Caption:Standard
740 LabelString unlabelled
748 Decoration minimalistic
763 InsetLayout Script:superscript
765 LaTeXName textsuperscript
770 InsetLayout Script:subscript
773 LaTeXName textsubscript
778 InsetLayout PrintNomencl
780 \addto\captions$$lang{%
781 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
782 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
783 \def\nomname{_(Nomenclature[[output]])}%
786 # The command is defined for several languages in nomencl.sty. However, we need to define
787 # it anyway for the other, non suppported languages.
789 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
790 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
791 \def\nomname{_(Nomenclature[[output]])}
800 border-collapse: collapse;
801 display: inline-block;