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
381 border: 2px solid black;
385 div.listings-caption {
387 border: 2px solid black;
392 DocBookTag programlisting
395 InsetLayout MintedListings
398 \addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
400 # The command does not need to be defined in LangPreamble, since
401 # minted.sty does that already. However it needs to be redefined
402 # in order to be used for non-english single-language documents.
404 \renewcommand{\listingscaption}{_(Listing)}
406 FixedWidthPreambleEncoding false
439 InsetLayout IndexMacro:see
454 InsetLayout IndexMacro:seealso
455 CopyStyle IndexMacro:see
456 LabelString "See also"
459 InsetLayout IndexMacro:sortkey
460 CopyStyle IndexMacro:see
461 LabelString "Sort as"
464 InsetLayout IndexMacro:subentry
465 CopyStyle IndexMacro:see
466 LabelString "Subentry"
476 DocBookWrapperTag sidebar
480 InsetLayout Box:Frameless
483 div.Frameless { margin: 1em; }
485 DocBookWrapperTag sidebar
487 DocBookWrapperAttr role='frameless'
490 InsetLayout Box:Shaded
495 background-color: gray;
499 DocBookWrapperTag sidebar
501 DocBookWrapperAttr role='shaded'
504 InsetLayout Box:Boxed
508 border: solid thick black;
512 DocBookWrapperTag sidebar
514 DocBookWrapperAttr role='boxed'
517 InsetLayout Box:Framed
521 border: solid thick black;
525 DocBookWrapperTag sidebar
527 DocBookWrapperAttr role='framed'
530 InsetLayout Box:ovalbox
534 border: groove medium black;
538 DocBookWrapperTag sidebar
540 DocBookWrapperAttr role='ovalbox'
543 InsetLayout Box:Ovalbox
547 border: ridge thick black;
551 DocBookWrapperTag sidebar
553 DocBookWrapperAttr role='ovalbox-var'
556 InsetLayout Box:Shadowbox
559 div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
561 DocBookWrapperTag sidebar
563 DocBookWrapperAttr role='shadowbox'
566 InsetLayout Box:Doublebox
570 border: double thick black;
574 DocBookWrapperTag sidebar
576 DocBookWrapperAttr role='doublebox'
580 LaTeXType environment
589 border: 2px solid black;
595 #InsetWrap requires these, independently of whether stdfloats.inc is included
596 OutlinerName table "Tables" #no AddToToc (built-in)
597 OutlinerName figure "Figures" #no AddToToc (built-in)
609 border: 2px solid black;
616 InsetLayout "Flex:URL"
642 DocBookTagType inline
652 ForceLocalFontSwitch 1
656 Decoration conglomerate
658 span.info { font-family: sans-serif; }
665 InsetLayout Info:menu
670 \providecommand{\menuitem}[1]{\textsf{#1}}
672 Decoration conglomerate
676 HTMLClass "info menu"
678 span.menu { font-family: sans-serif; }
681 DocBookTagType inline
684 InsetLayout Info:shortcut
689 \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
691 Decoration conglomerate
695 HTMLClass "info shortcut"
697 span.shortcut { font-family: sans-serif; }
699 DocBookWrapperTag keycombo
700 DocBookWrapperTagType inline
702 DocBookTagType inline
705 InsetLayout Info:shortcuts
710 \providecommand{\shortcut}[1]{\textsf{#1}}
712 Decoration conglomerate
716 HTMLClass "info shortcut"
718 span.shortcuts { font-family: sans-serif; }
720 DocBookWrapperTag keycombo
721 DocBookWrapperTagType inline
723 DocBookTagType inline
726 InsetLayout Caption:Standard
733 LabelString "Short Title|S"
734 Tooltip "The caption as it appears in the list of figures/tables"
736 DocBookTag titleabbrev
737 DocBookArgumentAfterMainTag true
742 border: 2px solid black;
747 HTMLClass "float-caption float-caption-standard"
751 InsetLayout Caption:Unnumbered
752 CopyStyle Caption:Standard
753 LabelString unlabelled
761 Decoration minimalistic
776 InsetLayout Script:superscript
778 LaTeXName textsuperscript
783 InsetLayout Script:subscript
786 LaTeXName textsubscript
791 InsetLayout PrintNomencl
793 \addto\captions$$lang{%
794 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}%
795 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}%
796 \def\nomname{_(Nomenclature[[output]])}%
799 # The command is defined for several languages in nomencl.sty. However, we need to define
800 # it anyway for the other, non suppported languages.
802 \def\eqdeclaration#1{, _(see equation[[nomencl]])\nobreakspace(#1)}
803 \def\pagedeclaration#1{, _(page[[nomencl]])\nobreakspace#1}
804 \def\nomname{_(Nomenclature[[output]])}
813 border-collapse: collapse;
814 display: inline-block;