lyx-layout-espdx/espdinsets.inc

700 lines
14 KiB
PHP
Raw Normal View History

2016-10-20 17:23:01 +00:00
# Textclass definition file for LaTeX.
# Author : Martin vermeer <martin.vermeer@hut.fi>
# Inset layouts definition
#
2016-12-14 08:19:56 +00:00
# Detailed format description is available in the customization manual
2019-06-05 20:00:42 +00:00
Format 66
2016-10-20 17:23:01 +00:00
Provides stdinsets 1
InsetLayout Marginal
LabelString margin
LatexType command
LatexName marginpar
Font
Size Small
EndFont
LabelFont
Color marginlabel
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
NeedProtect true
HTMLStyle
div.marginal {
border: 2px solid black;
padding: 1ex;
margin: 1ex;
background-color: #F0F0F0;
float:right;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Foot
LabelString foot
2016-12-14 08:19:56 +00:00
LatexType Command
2016-10-20 17:23:01 +00:00
LatexName footnote
2016-12-14 08:19:56 +00:00
Counter footnote
2016-10-20 17:23:01 +00:00
Font
Size Small
EndFont
LabelFont
Color footlabel
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
RefPrefix fn
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLStyle
span.foot_label {
vertical-align: super;
font-size: smaller;
font-weight: bold;
text-decoration: underline;
}
div.foot {
display: inline;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
div.foot_inner { display: none; }
div.foot:hover div.foot_inner {
display: block;
border: 1px double black;
margin: 0em 1em;
padding: 1em;
}
EndHTMLStyle
End
InsetLayout Foot:InTitle
CopyStyle Foot
LatexName thanks
NeedProtect true
Counter thanks
MultiPar false
HTMLLabel \fnsymbol{thanks}
HTMLInnerTag span
HTMLStyle
span.foot_intitle_label {
vertical-align: super;
font-size: smaller;
font-weight: bold;
text-decoration: underline;
}
span.foot_intitle {
display: inline;
font-size: small;
font-weight: medium;
font-family: serif;
font-variant: normal;
font-style: normal;
}
span.foot_intitle_inner { display: none; }
span.foot_intitle:hover span.foot_intitle_inner {
display: block;
border: 1px double black;
margin: 0em 1em;
padding: 1em;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Note:Comment
2016-12-14 08:19:56 +00:00
LabelString Comment
2016-10-20 17:23:01 +00:00
LatexType environment
LatexName comment
BgColor commentbg
LabelFont
Color comment
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
Display false
HTMLTag div
HTMLIsBlock true
HTMLStyle
div.note_comment {
display: none;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Note:Note
2016-12-14 08:19:56 +00:00
LabelString Note
2016-10-20 17:23:01 +00:00
LatexType command
LatexName note
BgColor notebg
LabelFont
Color note
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
HTMLIsBlock false
# FIXME HTML Need CSS
2016-10-20 17:23:01 +00:00
End
2016-12-14 08:19:56 +00:00
2016-10-20 17:23:01 +00:00
InsetLayout Note:Greyedout
2016-12-14 08:19:56 +00:00
LabelString Greyedout
2016-10-20 17:23:01 +00:00
LatexType environment
LatexName lyxgreyedout
BgColor greyedoutbg
2016-12-14 08:19:56 +00:00
Font
Color greyedouttext
EndFont
2016-10-20 17:23:01 +00:00
LabelFont
Color greyedout
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
Display false
HTMLInnerTag div
HTMLStyle
div.note_greyedout {
display: inline;
color: #A0A0A0;
padding-left: 1ex;
padding-right: 1ex;
}
EndHTMLStyle
HTMLIsBlock false
2016-10-20 17:23:01 +00:00
End
InsetLayout ERT
LabelString ERT
LatexType none
Decoration minimalistic
Font
Color latex
Family typewriter
EndFont
LabelFont
Color latex
Size Small
EndFont
MultiPar true
CustomPars false
ForcePlain true
PassThru true
2016-12-14 08:19:56 +00:00
ParbreakIsNewline true
2016-10-20 17:23:01 +00:00
KeepEmpty true
FreeSpacing true
ForceLTR true
End
2016-12-14 08:19:56 +00:00
InsetLayout Phantom
Decoration minimalistic
Font
Color phantomtext
EndFont
MultiPar false
CustomPars false
ForcePlain true
End
InsetLayout IPADeco
Decoration minimalistic
Font
Color foreground
EndFont
MultiPar false
CustomPars false
ForcePlain true
End
InsetLayout TOC
HTMLTag h2
HTMLStyle
div.toc {
margin: 2em 0em;
border-style: solid;
border-width: 2px 0px;
padding: 1em 0em;
}
h2.tochead { font-size: x-large; font-weight: bold; }
div.lyxtoc-0 {
margin: 2em 0em 0em 0em;
font-size: xx-large;
font-weight: bold;
}
div.lyxtoc-1 {
margin: 1em 0em 0em 0em;
font-size: x-large;
font-weight: bold;
}
div.lyxtoc-2 {
margin: 0em 0.1em 0em 1em;
font-size: large;
font-weight: normal;
}
div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
a.tocentry {
text-decoration: none;
color: black;
}
a.tocentry:visited { color: black; }
EndHTMLStyle
End
InsetLayout TOC:Listings
# We need the [[List of Listings]] context, since "Listings" is also
# the name of the inset and translated differently.
# "Listings[[List of Listings]]" is the name of the "List of listings"
# ("Listings" is the predefined english name) in listings.sty, so it
# must be used here as well.
BabelPreamble
\addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
EndBabelPreamble
# The command does not need to be defined in LangPreamble, since
# listings.sty does that already. However it needs to be redefined
# in order to be used for non-english single-language documents.
LangPreamble
\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
EndLangPreamble
FixedWidthPreambleEncoding true
HTMLTag h2
HTMLStyle
div.lyxtoc-flat {
margin: 0em 0em 0em 1em;
font-size: large;
font-weight: normal;
}
EndHTMLStyle
End
InsetLayout Include:Listings
BabelPreamble
\addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
EndBabelPreamble
# The command does not need to be defined in LangPreamble, since
# listings.sty does that already. However it needs to be redefined
# in order to be used for non-english single-language documents.
LangPreamble
\renewcommand{\lstlistingname}{_(Listing)}
EndLangPreamble
FixedWidthPreambleEncoding true
End
2016-10-20 17:23:01 +00:00
InsetLayout Listings
2016-12-14 08:19:56 +00:00
CopyStyle Include:Listings
LabelString Listings[[inset]]
2016-10-20 17:23:01 +00:00
LatexType none
Decoration minimalistic
Font
Color foreground
Family typewriter
EndFont
LabelFont
Color foreground
Size Small
EndFont
BgColor listingsbg
MultiPar true
PassThru true
2016-12-14 08:19:56 +00:00
ParbreakIsNewline true
2016-10-20 17:23:01 +00:00
KeepEmpty true
FreeSpacing true
ForceLTR true
2016-12-14 08:19:56 +00:00
RefPrefix lst
HTMLTag pre
2016-10-20 17:23:01 +00:00
End
InsetLayout Branch
Decoration classic
LabelFont
Color branchlabel
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
InToc true
HTMLIsBlock false
2016-10-20 17:23:01 +00:00
End
InsetLayout Index
LabelString Idx
Decoration classic
Font
Size Small
EndFont
LabelFont
Color indexlabel
Size Small
EndFont
MultiPar false
CustomPars false
ForcePlain true
2016-12-14 08:19:56 +00:00
ContentAsLabel true
2016-10-20 17:23:01 +00:00
End
InsetLayout Box
LabelFont
Color foreground
Size Small
EndFont
MultiPar true
End
2016-12-14 08:19:56 +00:00
InsetLayout Box:Frameless
CopyStyle Box
HTMLStyle
div.Frameless { margin: 1em; }
EndHTMLStyle
End
2016-10-20 17:23:01 +00:00
InsetLayout Box:Shaded
2016-12-14 08:19:56 +00:00
CopyStyle Box
BgColor shaded
HTMLStyle
div.Shaded {
background-color: gray;
padding: 0.5ex;
}
EndHTMLStyle
End
InsetLayout Box:Boxed
CopyStyle Box
HTMLStyle
div.Boxed {
border: solid thick black;
padding: 0.5ex;
}
EndHTMLStyle
End
InsetLayout Box:Framed
CopyStyle Box
HTMLStyle
div.Framed {
border: solid thick black;
padding: 0.5ex;
}
EndHTMLStyle
End
InsetLayout Box:ovalbox
CopyStyle Box
HTMLStyle
div.ovalbox {
border: groove medium black;
padding: 0.5ex;
}
EndHTMLStyle
End
InsetLayout Box:Ovalbox
CopyStyle Box
HTMLStyle
div.Ovalbox {
border: ridge thick black;
padding: 0.5ex;
}
EndHTMLStyle
End
InsetLayout Box:Shadowbox
CopyStyle Box
HTMLStyle
div.Shadowbox { border: solid gray medium; border-bottom: solid black 1ex; border-right: solid black 1ex; padding: 0.5ex; }
EndHTMLStyle
End
InsetLayout Box:Doublebox
CopyStyle Box
HTMLStyle
div.Doublebox {
border: double thick black;
padding: 0.5ex;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Float
LabelFont
2019-06-05 20:00:42 +00:00
Color collapsible
2016-10-20 17:23:01 +00:00
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
HTMLStyle
div.float {
border: 2px solid black;
text-align: center;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Wrap
LabelFont
2019-06-05 20:00:42 +00:00
Color collapsible
2016-10-20 17:23:01 +00:00
Size Small
EndFont
MultiPar true
2016-12-14 08:19:56 +00:00
RefPrefix wrap
HTMLStyle
div.wrap {
float: right;
border: 2px solid black;
padding: 1ex;
margin: 1ex;
}
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
2016-12-14 08:19:56 +00:00
InsetLayout "Flex:URL"
2016-10-20 17:23:01 +00:00
LyXType standard
Decoration classic
LabelString URL
2016-12-14 08:19:56 +00:00
ContentAsLabel true
LatexName url
LatexType command
Requires url
MultiPar false
CustomPars false
ForcePlain true
2016-10-20 17:23:01 +00:00
PassThru true
2016-12-14 08:19:56 +00:00
FreeSpacing true
2016-10-20 17:23:01 +00:00
ForceLTR true
Font
Family Typewriter
Color urltext
EndFont
LabelFont
Family Typewriter
Color urllabel
Size Small
EndFont
2016-12-14 08:19:56 +00:00
HTMLIsBlock false
2016-10-20 17:23:01 +00:00
End
2016-12-14 08:19:56 +00:00
InsetLayout Argument
LabelString Argument
2016-10-20 17:23:01 +00:00
LabelFont
2019-06-05 20:00:42 +00:00
Color collapsible
2016-10-20 17:23:01 +00:00
Size Small
EndFont
MultiPar false
2016-12-14 08:19:56 +00:00
ForceLocalFontSwitch 1
2016-10-20 17:23:01 +00:00
End
InsetLayout Info
Decoration conglomerate
2016-12-14 08:19:56 +00:00
HTMLStyle
span.info { font-family: sans-serif; }
EndHTMLStyle
HTMLTag span
MultiPar false
2016-10-20 17:23:01 +00:00
End
InsetLayout Info:menu
2016-12-14 08:19:56 +00:00
CopyStyle Info
2016-10-20 17:23:01 +00:00
LatexType command
LatexName menuitem
Preamble
\providecommand{\menuitem}[1]{\textsf{#1}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
2016-12-14 08:19:56 +00:00
HTMLAttr "class='info menu'"
HTMLStyle
span.menu { font-family: sans-serif; }
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Info:shortcut
2016-12-14 08:19:56 +00:00
CopyStyle Info
2016-10-20 17:23:01 +00:00
LatexType command
LatexName shortcut
Preamble
\providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
2016-12-14 08:19:56 +00:00
HTMLAttr "class='info shortcut'"
HTMLStyle
span.shortcut { font-family: sans-serif; }
EndHTMLStyle
2016-10-20 17:23:01 +00:00
End
InsetLayout Info:shortcuts
2016-12-14 08:19:56 +00:00
CopyStyle Info
2016-10-20 17:23:01 +00:00
LatexType command
LatexName shortcut
Preamble
\providecommand{\shortcut}[1]{\textsf{#1}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
2016-12-14 08:19:56 +00:00
HTMLAttr "class='info shortcut'"
HTMLStyle
span.shortcuts { font-family: sans-serif; }
EndHTMLStyle
End
InsetLayout Caption:Standard
LabelString standard
LaTeXType command
LatexName caption
NeedProtect 1
MultiPar false
Argument 1
LabelString "Short Title|S"
Tooltip "The caption as it appears in the list of figures/tables"
InsertCotext 1
EndArgument
HTMLStyle
div.float-caption {
text-align: center;
border: 2px solid black;
padding: 1ex;
margin: 1ex;
}
EndHTMLStyle
HTMLAttr "class='float-caption float-caption-standard'"
End
InsetLayout Caption:Unnumbered
CopyStyle Caption:Standard
LabelString unlabelled
LatexName caption*
ResetArgs 1
End
InsetLayout Preview
LabelString Preview
Decoration minimalistic
MultiPar true
End
InsetLayout Script
LatexType command
MultiPar false
ForcePlain 1
CustomPars 0
InToc 1
HTMLIsBlock 0
End
InsetLayout Script:superscript
CopyStyle Script
LaTeXName textsuperscript
HTMLTag sup
End
InsetLayout Script:subscript
CopyStyle Script
Requires subscript
LaTeXName textsubscript
HTMLTag sub
End
InsetLayout PrintNomencl
HTMLTag h2
End
InsetLayout Flex:TightCentered
2018-08-23 13:36:44 +00:00
LyXType custom
LabelString TightCentered
LatexType environment
2016-12-14 08:19:56 +00:00
LatexName tightcentered
Preamble
\newenvironment{tightcentered}{
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}
}{
\end{center}
}
EndPreamble
LabelFont
2018-08-23 13:36:44 +00:00
Color latex
Size Tiny
EndFont
End
InsetLayout Flex:TightLeft
LyXType custom
LabelString TightLeft
LatexType environment
LatexName tightleft
Preamble
\newenvironment{tightleft}{
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{flushleft}
}{
\end{flushleft}
}
EndPreamble
LabelFont
Color latex
Size Tiny
2016-12-14 08:19:56 +00:00
EndFont
End
2016-10-24 05:18:29 +00:00
InsetLayout Flex:Code
2018-08-23 13:36:44 +00:00
LyxType charstyle
LabelString code
LatexType command
LatexName code
Font
Family Typewriter
Size Small
Series Normal
EndFont
Preamble
\newcommand{\code}[1]{\texttt{\small{#1}}}
EndPreamble
InToc true
HTMLTag code
2016-10-24 05:18:29 +00:00
ResetsFont true
End
2016-12-14 08:19:56 +00:00
2016-10-24 05:18:29 +00:00
InsetLayout Flex:Code-Bold
2018-08-23 13:36:44 +00:00
LyxType charstyle
LabelString code-bold
LatexType command
LatexName codebold
Font
Family Typewriter
Size Small
Series Bold
EndFont
Preamble
\newcommand{\codebold}[1]{\texttt{\textbf{\small{}{#1}}}}
EndPreamble
InToc true
HTMLTag code
2016-10-24 05:18:29 +00:00
ResetsFont true
2016-10-20 17:23:01 +00:00
End