2007-08-13 12:13:17 +00:00
|
|
|
# Textclass definition file for LaTeX.
|
2007-12-04 09:25:50 +00:00
|
|
|
# Author : Martin vermeer <martin.vermeer@hut.fi>
|
2007-08-13 12:13:17 +00:00
|
|
|
# Inset layouts definition
|
2007-12-06 07:56:39 +00:00
|
|
|
#
|
2011-12-07 22:33:19 +00:00
|
|
|
# Detailed format description is available in the customization manual
|
2007-08-13 12:13:17 +00:00
|
|
|
|
2017-10-16 08:30:04 +00:00
|
|
|
Format 65
|
2007-08-13 12:13:17 +00:00
|
|
|
|
2008-02-05 22:57:33 +00:00
|
|
|
Provides stdinsets 1
|
|
|
|
|
2017-01-09 12:28:48 +00:00
|
|
|
OutlinerName marginalnote "Marginal notes"
|
|
|
|
OutlinerName footnote "Footnotes"
|
|
|
|
OutlinerName note "Notes"
|
|
|
|
OutlinerName branch "Branches"
|
|
|
|
OutlinerName index "Index Entries" #no AddToToc (built-in)
|
|
|
|
OutlinerName listing "Listings" #no AddToToc (built-in)
|
|
|
|
|
2007-08-13 12:13:17 +00:00
|
|
|
InsetLayout Marginal
|
|
|
|
LabelString margin
|
|
|
|
LatexType command
|
|
|
|
LatexName marginpar
|
2007-11-01 06:25:47 +00:00
|
|
|
Font
|
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-08-13 12:13:17 +00:00
|
|
|
LabelFont
|
2008-02-15 23:38:16 +00:00
|
|
|
Color marginlabel
|
2007-08-13 12:13:17 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
2009-07-14 18:27:54 +00:00
|
|
|
NeedProtect true
|
2009-06-12 15:16:08 +00:00
|
|
|
HTMLStyle
|
2009-11-19 21:13:19 +00:00
|
|
|
div.marginal {
|
2011-04-17 18:52:49 +00:00
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
background-color: #F0F0F0;
|
2009-06-12 15:16:08 +00:00
|
|
|
float:right;
|
2009-12-03 22:30:29 +00:00
|
|
|
font-size: small;
|
|
|
|
font-weight: medium;
|
|
|
|
font-family: serif;
|
|
|
|
font-variant: normal;
|
|
|
|
font-style: normal;
|
2009-06-12 15:16:08 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc marginalnote
|
|
|
|
IsTocCaption true
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Foot
|
|
|
|
LabelString foot
|
2014-11-14 13:53:11 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName footnote
|
2009-06-06 03:02:43 +00:00
|
|
|
Counter footnote
|
2007-11-01 06:25:47 +00:00
|
|
|
Font
|
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-08-13 12:13:17 +00:00
|
|
|
LabelFont
|
2008-02-15 23:38:16 +00:00
|
|
|
Color footlabel
|
2007-08-13 12:13:17 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
2010-03-17 12:23:24 +00:00
|
|
|
RefPrefix fn
|
2009-10-27 19:17:52 +00:00
|
|
|
HTMLLabel \arabic{footnote}
|
2009-11-19 21:13:19 +00:00
|
|
|
HTMLInnerTag div
|
2009-06-05 19:25:49 +00:00
|
|
|
HTMLStyle
|
2009-10-27 19:17:52 +00:00
|
|
|
span.foot_label {
|
|
|
|
vertical-align: super;
|
|
|
|
font-size: smaller;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline;
|
2009-06-05 19:25:49 +00:00
|
|
|
}
|
2011-04-17 18:52:49 +00:00
|
|
|
div.foot {
|
|
|
|
display: inline;
|
2009-12-03 22:30:29 +00:00
|
|
|
font-size: small;
|
|
|
|
font-weight: medium;
|
|
|
|
font-family: serif;
|
|
|
|
font-variant: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2009-11-19 21:17:44 +00:00
|
|
|
div.foot_inner { display: none; }
|
2011-04-17 18:52:49 +00:00
|
|
|
div.foot:hover div.foot_inner {
|
|
|
|
display: block;
|
|
|
|
border: 1px double black;
|
2009-06-05 19:25:49 +00:00
|
|
|
margin: 0em 1em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc footnote
|
|
|
|
IsTocCaption true
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
2014-11-14 13:53:11 +00:00
|
|
|
InsetLayout Foot:InTitle
|
|
|
|
CopyStyle Foot
|
|
|
|
LatexName thanks
|
|
|
|
NeedProtect true
|
|
|
|
Counter thanks
|
|
|
|
MultiPar false
|
2014-12-02 16:03:26 +00:00
|
|
|
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
|
2014-11-14 13:53:11 +00:00
|
|
|
End
|
|
|
|
|
2017-11-19 11:56:40 +00:00
|
|
|
InsetLayout Foot:InFloatTable
|
|
|
|
CopyStyle Foot
|
|
|
|
LatexName tablefootnote
|
|
|
|
Requires tablefootnote
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-13 12:13:17 +00:00
|
|
|
InsetLayout Note:Comment
|
2010-12-14 23:16:19 +00:00
|
|
|
LabelString Comment
|
2007-08-13 12:13:17 +00:00
|
|
|
LatexType environment
|
|
|
|
LatexName comment
|
2016-09-21 14:11:53 +00:00
|
|
|
Requires verbatim
|
2007-08-26 20:32:58 +00:00
|
|
|
BgColor commentbg
|
2007-08-13 12:13:17 +00:00
|
|
|
LabelFont
|
2007-08-20 18:57:48 +00:00
|
|
|
Color comment
|
2007-08-13 12:13:17 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 02:41:13 +00:00
|
|
|
Display false
|
2011-12-06 20:44:37 +00:00
|
|
|
HTMLTag div
|
|
|
|
HTMLIsBlock true
|
2016-08-05 02:17:09 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.note_comment {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc note
|
|
|
|
IsTocCaption true
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
InsetLayout Note:Note
|
2010-12-14 23:16:19 +00:00
|
|
|
LabelString Note
|
2007-08-13 12:13:17 +00:00
|
|
|
LatexType command
|
|
|
|
LatexName note
|
2007-08-26 20:32:58 +00:00
|
|
|
BgColor notebg
|
2007-08-13 12:13:17 +00:00
|
|
|
LabelFont
|
2007-08-20 18:57:48 +00:00
|
|
|
Color note
|
2007-08-13 12:13:17 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
2016-08-05 02:17:09 +00:00
|
|
|
# Not output for XHTML
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc note
|
|
|
|
IsTocCaption true
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
2009-10-27 13:39:39 +00:00
|
|
|
|
2007-08-13 12:13:17 +00:00
|
|
|
InsetLayout Note:Greyedout
|
2010-12-14 23:16:19 +00:00
|
|
|
LabelString Greyedout
|
2007-08-20 14:22:39 +00:00
|
|
|
LatexType environment
|
|
|
|
LatexName lyxgreyedout
|
2016-09-21 14:11:53 +00:00
|
|
|
Requires color,lyxgreyedout
|
2007-08-26 20:32:58 +00:00
|
|
|
BgColor greyedoutbg
|
2010-03-31 00:46:50 +00:00
|
|
|
Font
|
|
|
|
Color greyedouttext
|
|
|
|
EndFont
|
2007-08-13 12:13:17 +00:00
|
|
|
LabelFont
|
2007-08-20 18:57:48 +00:00
|
|
|
Color greyedout
|
2007-08-13 12:13:17 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 02:41:13 +00:00
|
|
|
Display false
|
2011-12-06 20:44:37 +00:00
|
|
|
HTMLInnerTag div
|
2009-06-05 19:58:23 +00:00
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.note_greyedout {
|
2009-12-10 20:19:52 +00:00
|
|
|
display: inline;
|
2011-04-17 18:52:49 +00:00
|
|
|
color: #A0A0A0;
|
2009-12-14 17:20:52 +00:00
|
|
|
padding-left: 1ex;
|
|
|
|
padding-right: 1ex;
|
2009-10-27 19:17:52 +00:00
|
|
|
}
|
2009-06-05 19:58:23 +00:00
|
|
|
EndHTMLStyle
|
2009-10-26 20:53:46 +00:00
|
|
|
HTMLIsBlock false
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc note
|
|
|
|
IsTocCaption true
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
2007-08-21 21:29:13 +00:00
|
|
|
InsetLayout ERT
|
2010-11-12 09:31:55 +00:00
|
|
|
LabelString ERT
|
2007-10-22 18:01:21 +00:00
|
|
|
LatexType none
|
2007-09-01 11:40:09 +00:00
|
|
|
Decoration minimalistic
|
2007-08-21 21:29:13 +00:00
|
|
|
Font
|
|
|
|
Color latex
|
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Color latex
|
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
2008-10-05 19:46:19 +00:00
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
2007-10-25 09:19:26 +00:00
|
|
|
PassThru true
|
2010-08-09 21:20:29 +00:00
|
|
|
ParbreakIsNewline true
|
2007-10-25 09:19:26 +00:00
|
|
|
KeepEmpty true
|
|
|
|
FreeSpacing true
|
2007-10-30 12:30:46 +00:00
|
|
|
ForceLTR true
|
|
|
|
End
|
|
|
|
|
2009-02-03 10:38:13 +00:00
|
|
|
InsetLayout Phantom
|
|
|
|
Decoration minimalistic
|
2009-01-30 00:56:37 +00:00
|
|
|
Font
|
2009-02-03 10:38:13 +00:00
|
|
|
Color phantomtext
|
2009-01-30 00:56:37 +00:00
|
|
|
EndFont
|
2010-12-03 21:57:32 +00:00
|
|
|
MultiPar false
|
2009-02-03 21:12:59 +00:00
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
2009-01-30 00:56:37 +00:00
|
|
|
End
|
|
|
|
|
2012-08-23 15:42:53 +00:00
|
|
|
InsetLayout IPADeco
|
|
|
|
Decoration minimalistic
|
|
|
|
Font
|
|
|
|
Color foreground
|
|
|
|
EndFont
|
|
|
|
MultiPar false
|
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
|
|
|
End
|
|
|
|
|
2013-03-27 22:24:08 +00:00
|
|
|
InsetLayout TOC
|
2013-03-27 23:51:49 +00:00
|
|
|
HTMLTag h2
|
2013-03-27 22:24:08 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.toc {
|
|
|
|
margin: 2em 0em;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 2px 0px;
|
|
|
|
padding: 1em 0em;
|
|
|
|
}
|
2013-03-27 23:51:49 +00:00
|
|
|
h2.tochead { font-size: x-large; font-weight: bold; }
|
2013-03-27 22:24:08 +00:00
|
|
|
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 {
|
2013-03-27 23:30:30 +00:00
|
|
|
margin: 0em 0.1em 0em 1em;
|
2013-03-27 22:24:08 +00:00
|
|
|
font-size: large;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2013-03-27 23:30:30 +00:00
|
|
|
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; }
|
2013-03-27 22:24:08 +00:00
|
|
|
a.tocentry {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
a.tocentry:visited { color: black; }
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|
|
|
|
|
2012-04-17 20:44:04 +00:00
|
|
|
InsetLayout TOC:Listings
|
2012-04-10 18:21:01 +00:00
|
|
|
# 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"
|
2017-06-08 02:24:29 +00:00
|
|
|
# ("Listings" is the predefined english name) in listings.sty, so it
|
|
|
|
# must be used here as well.
|
2012-04-10 18:21:01 +00:00
|
|
|
BabelPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}}
|
2012-04-10 18:21:01 +00:00
|
|
|
EndBabelPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
# 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.
|
2012-04-10 18:21:01 +00:00
|
|
|
LangPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
\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 TOC:MintedListings
|
2017-06-11 08:38:44 +00:00
|
|
|
# "List of Listings" is the name of the "List of listings"
|
|
|
|
# in minted.sty so it must be used here as well.
|
2017-06-08 02:24:29 +00:00
|
|
|
BabelPreamble
|
2017-06-11 08:38:44 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\listoflistingscaption}{_(List of Listings)}}
|
2017-06-08 02:24:29 +00:00
|
|
|
EndBabelPreamble
|
|
|
|
# The command does not need to be defined in LangPreamble, since
|
|
|
|
# minted.sty does that already. However it needs to be redefined
|
|
|
|
# in order to be used for non-english single-language documents.
|
|
|
|
LangPreamble
|
2017-06-11 08:38:44 +00:00
|
|
|
\renewcommand{\listoflistingscaption}{_(List of Listings)}
|
2012-04-10 18:21:01 +00:00
|
|
|
EndLangPreamble
|
2017-06-11 08:38:44 +00:00
|
|
|
FixedWidthPreambleEncoding false
|
2013-03-27 23:51:49 +00:00
|
|
|
HTMLTag h2
|
2013-03-27 22:22:20 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.lyxtoc-flat {
|
|
|
|
margin: 0em 0em 0em 1em;
|
|
|
|
font-size: large;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2012-04-10 18:21:01 +00:00
|
|
|
End
|
|
|
|
|
2012-04-17 20:44:04 +00:00
|
|
|
InsetLayout Include:Listings
|
2012-04-16 19:40:59 +00:00
|
|
|
BabelPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
|
2012-04-16 19:40:59 +00:00
|
|
|
EndBabelPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
# 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.
|
2012-04-16 19:40:59 +00:00
|
|
|
LangPreamble
|
2017-06-08 02:24:29 +00:00
|
|
|
\renewcommand{\lstlistingname}{_(Listing)}
|
2012-04-16 19:40:59 +00:00
|
|
|
EndLangPreamble
|
2015-01-11 19:00:45 +00:00
|
|
|
FixedWidthPreambleEncoding true
|
2012-04-16 19:40:59 +00:00
|
|
|
End
|
|
|
|
|
2007-10-30 12:30:46 +00:00
|
|
|
InsetLayout Listings
|
2012-04-17 20:44:04 +00:00
|
|
|
CopyStyle Include:Listings
|
2012-04-10 18:21:01 +00:00
|
|
|
LabelString Listings[[inset]]
|
2007-10-30 12:30:46 +00:00
|
|
|
LatexType none
|
2008-02-14 22:44:42 +00:00
|
|
|
Decoration minimalistic
|
2007-10-30 12:30:46 +00:00
|
|
|
Font
|
2007-11-01 06:25:47 +00:00
|
|
|
Color foreground
|
2007-10-30 12:30:46 +00:00
|
|
|
Family typewriter
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
2007-11-01 06:25:47 +00:00
|
|
|
Color foreground
|
2007-10-30 12:30:46 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2008-09-08 21:38:01 +00:00
|
|
|
BgColor listingsbg
|
2007-10-30 12:30:46 +00:00
|
|
|
MultiPar true
|
|
|
|
PassThru true
|
2010-08-09 21:20:29 +00:00
|
|
|
ParbreakIsNewline true
|
2007-10-30 12:30:46 +00:00
|
|
|
KeepEmpty true
|
|
|
|
FreeSpacing true
|
2008-07-16 20:40:05 +00:00
|
|
|
ForceLTR true
|
2010-03-17 12:23:24 +00:00
|
|
|
RefPrefix lst
|
2012-07-15 19:06:29 +00:00
|
|
|
HTMLTag pre
|
2016-07-31 05:47:30 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.float-listings {
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
div.listings-caption {
|
|
|
|
text-align: center;
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2007-08-21 21:29:13 +00:00
|
|
|
End
|
2007-08-13 12:13:17 +00:00
|
|
|
|
2017-06-08 02:24:29 +00:00
|
|
|
InsetLayout MintedListings
|
|
|
|
CopyStyle Listings
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\listingscaption}{_(Listing)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
# The command does not need to be defined in LangPreamble, since
|
|
|
|
# minted.sty does that already. However it needs to be redefined
|
|
|
|
# in order to be used for non-english single-language documents.
|
|
|
|
LangPreamble
|
|
|
|
\renewcommand{\listingscaption}{_(Listing)}
|
|
|
|
EndLangPreamble
|
2017-06-11 08:38:44 +00:00
|
|
|
FixedWidthPreambleEncoding false
|
2017-06-08 02:24:29 +00:00
|
|
|
End
|
|
|
|
|
2007-09-01 11:40:09 +00:00
|
|
|
InsetLayout Branch
|
2008-02-10 17:20:59 +00:00
|
|
|
Decoration classic
|
2007-09-01 11:40:09 +00:00
|
|
|
LabelFont
|
2008-02-15 23:38:16 +00:00
|
|
|
Color branchlabel
|
2007-09-01 11:40:09 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
2009-02-06 17:54:33 +00:00
|
|
|
InToc true
|
2009-10-26 20:53:46 +00:00
|
|
|
HTMLIsBlock false
|
2017-01-09 12:28:48 +00:00
|
|
|
AddToToc branch
|
|
|
|
IsTocCaption true
|
2007-09-01 11:40:09 +00:00
|
|
|
End
|
|
|
|
|
2007-10-03 13:38:19 +00:00
|
|
|
InsetLayout Index
|
|
|
|
LabelString Idx
|
2008-02-10 17:20:59 +00:00
|
|
|
Decoration classic
|
2007-10-03 13:38:19 +00:00
|
|
|
Font
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
2008-02-15 23:38:16 +00:00
|
|
|
Color indexlabel
|
2007-10-03 13:38:19 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar false
|
2009-02-03 21:12:59 +00:00
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
2009-12-18 01:22:24 +00:00
|
|
|
ContentAsLabel true
|
2016-10-27 16:11:28 +00:00
|
|
|
PassThruChars @|!
|
2007-10-10 13:25:37 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box
|
2007-11-02 22:10:59 +00:00
|
|
|
LabelFont
|
|
|
|
Color foreground
|
|
|
|
Size Small
|
2007-12-04 09:25:50 +00:00
|
|
|
EndFont
|
|
|
|
MultiPar true
|
2011-04-03 13:15:03 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Frameless
|
|
|
|
CopyStyle Box
|
2009-12-03 22:30:29 +00:00
|
|
|
HTMLStyle
|
2011-04-03 13:15:03 +00:00
|
|
|
div.Frameless { margin: 1em; }
|
2009-12-03 22:30:29 +00:00
|
|
|
EndHTMLStyle
|
2007-12-04 09:25:50 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Shaded
|
2011-04-03 13:15:03 +00:00
|
|
|
CopyStyle Box
|
|
|
|
BgColor shaded
|
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.Shaded {
|
|
|
|
background-color: gray;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Boxed
|
|
|
|
CopyStyle Box
|
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.Boxed {
|
|
|
|
border: solid thick black;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Framed
|
|
|
|
CopyStyle Box
|
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.Framed {
|
|
|
|
border: solid thick black;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:ovalbox
|
|
|
|
CopyStyle Box
|
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.ovalbox {
|
|
|
|
border: groove medium black;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Ovalbox
|
|
|
|
CopyStyle Box
|
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.Ovalbox {
|
|
|
|
border: ridge thick black;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
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
|
2011-04-17 18:52:49 +00:00
|
|
|
div.Doublebox {
|
|
|
|
border: double thick black;
|
|
|
|
padding: 0.5ex;
|
2011-04-03 13:15:03 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2007-10-03 13:38:19 +00:00
|
|
|
End
|
2007-09-01 11:40:09 +00:00
|
|
|
|
2008-11-05 15:35:02 +00:00
|
|
|
InsetLayout Float
|
2008-02-15 17:03:07 +00:00
|
|
|
LabelFont
|
2017-10-16 08:30:04 +00:00
|
|
|
Color collapsible
|
2008-02-15 17:03:07 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar true
|
2009-12-14 17:16:16 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.float {
|
|
|
|
border: 2px solid black;
|
2009-12-14 17:16:55 +00:00
|
|
|
text-align: center;
|
2009-12-14 17:16:16 +00:00
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2008-02-15 17:03:07 +00:00
|
|
|
End
|
|
|
|
|
2017-03-19 23:12:30 +00:00
|
|
|
#InsetWrap requires these, independently of whether stdfloats.inc is included
|
|
|
|
OutlinerName table "Tables" #no AddToToc (built-in)
|
|
|
|
OutlinerName figure "Figures" #no AddToToc (built-in)
|
|
|
|
|
2008-12-16 15:34:32 +00:00
|
|
|
InsetLayout Wrap
|
|
|
|
LabelFont
|
2017-10-16 08:30:04 +00:00
|
|
|
Color collapsible
|
2008-12-16 15:34:32 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar true
|
2010-03-17 12:23:24 +00:00
|
|
|
RefPrefix wrap
|
2009-06-12 17:26:48 +00:00
|
|
|
HTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
div.wrap {
|
2009-06-12 17:26:48 +00:00
|
|
|
float: right;
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2008-12-16 15:34:32 +00:00
|
|
|
End
|
|
|
|
|
2011-04-15 02:51:32 +00:00
|
|
|
InsetLayout "Flex:URL"
|
2007-11-13 10:03:16 +00:00
|
|
|
LyXType standard
|
2008-02-10 17:20:59 +00:00
|
|
|
Decoration classic
|
2007-11-13 10:03:16 +00:00
|
|
|
LabelString URL
|
2009-12-18 00:29:22 +00:00
|
|
|
ContentAsLabel true
|
2009-07-14 18:27:54 +00:00
|
|
|
LatexName url
|
|
|
|
LatexType command
|
|
|
|
Requires url
|
|
|
|
MultiPar false
|
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
2007-11-13 10:03:16 +00:00
|
|
|
PassThru true
|
2009-07-14 18:27:54 +00:00
|
|
|
FreeSpacing true
|
2007-11-13 10:03:16 +00:00
|
|
|
ForceLTR true
|
|
|
|
Font
|
|
|
|
Family Typewriter
|
2008-02-15 23:38:16 +00:00
|
|
|
Color urltext
|
2007-11-13 10:03:16 +00:00
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Family Typewriter
|
2008-02-15 23:38:16 +00:00
|
|
|
Color urllabel
|
2007-11-13 10:03:16 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2009-10-27 19:46:47 +00:00
|
|
|
HTMLIsBlock false
|
2007-11-13 10:03:16 +00:00
|
|
|
End
|
|
|
|
|
2010-06-07 21:58:27 +00:00
|
|
|
InsetLayout Argument
|
2012-11-24 15:02:17 +00:00
|
|
|
LabelString Argument
|
2007-11-15 15:40:01 +00:00
|
|
|
LabelFont
|
2017-10-16 08:30:04 +00:00
|
|
|
Color collapsible
|
2007-11-15 15:40:01 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2009-02-03 21:12:59 +00:00
|
|
|
MultiPar false
|
2012-11-28 19:55:21 +00:00
|
|
|
ForceLocalFontSwitch 1
|
2007-11-15 15:40:01 +00:00
|
|
|
End
|
2008-09-30 14:11:40 +00:00
|
|
|
|
|
|
|
InsetLayout Info
|
|
|
|
Decoration conglomerate
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLStyle
|
|
|
|
span.info { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2011-04-17 18:52:49 +00:00
|
|
|
HTMLTag span
|
|
|
|
MultiPar false
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:menu
|
2009-11-19 22:31:52 +00:00
|
|
|
CopyStyle Info
|
2008-09-30 14:11:40 +00:00
|
|
|
LatexType command
|
|
|
|
LatexName menuitem
|
|
|
|
Preamble
|
|
|
|
\providecommand{\menuitem}[1]{\textsf{#1}}
|
|
|
|
EndPreamble
|
|
|
|
Decoration conglomerate
|
|
|
|
Font
|
|
|
|
Family sans
|
|
|
|
EndFont
|
2011-04-17 18:52:49 +00:00
|
|
|
HTMLAttr "class='info menu'"
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLStyle
|
|
|
|
span.menu { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:shortcut
|
2009-11-19 22:31:52 +00:00
|
|
|
CopyStyle Info
|
2008-09-30 14:11:40 +00:00
|
|
|
LatexType command
|
|
|
|
LatexName shortcut
|
|
|
|
Preamble
|
2008-10-11 11:33:11 +00:00
|
|
|
\providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
|
2008-09-30 14:11:40 +00:00
|
|
|
EndPreamble
|
|
|
|
Decoration conglomerate
|
|
|
|
Font
|
|
|
|
Family sans
|
|
|
|
EndFont
|
2011-04-17 18:52:49 +00:00
|
|
|
HTMLAttr "class='info shortcut'"
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLStyle
|
|
|
|
span.shortcut { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:shortcuts
|
2009-11-19 22:31:52 +00:00
|
|
|
CopyStyle Info
|
2008-09-30 14:11:40 +00:00
|
|
|
LatexType command
|
|
|
|
LatexName shortcut
|
|
|
|
Preamble
|
|
|
|
\providecommand{\shortcut}[1]{\textsf{#1}}
|
|
|
|
EndPreamble
|
|
|
|
Decoration conglomerate
|
|
|
|
Font
|
|
|
|
Family sans
|
|
|
|
EndFont
|
2011-04-17 18:52:49 +00:00
|
|
|
HTMLAttr "class='info shortcut'"
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLStyle
|
2009-11-19 23:40:20 +00:00
|
|
|
span.shortcuts { font-family: sans-serif; }
|
2009-06-12 15:27:29 +00:00
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
2009-12-14 17:16:16 +00:00
|
|
|
|
2012-12-30 17:29:02 +00:00
|
|
|
InsetLayout Caption:Standard
|
|
|
|
LabelString standard
|
2012-11-24 14:46:20 +00:00
|
|
|
LaTeXType command
|
|
|
|
LatexName caption
|
2016-07-30 05:42:08 +00:00
|
|
|
NeedProtect 1
|
2015-03-10 17:31:55 +00:00
|
|
|
MultiPar false
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The caption as it appears in the list of figures/tables"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2009-12-14 17:16:16 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.float-caption {
|
|
|
|
text-align: center;
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2012-07-10 21:44:21 +00:00
|
|
|
HTMLAttr "class='float-caption float-caption-standard'"
|
2009-12-14 17:16:16 +00:00
|
|
|
End
|
|
|
|
|
2010-03-28 13:47:50 +00:00
|
|
|
|
2016-04-01 08:08:39 +00:00
|
|
|
InsetLayout Caption:Unnumbered
|
2013-03-22 21:23:38 +00:00
|
|
|
CopyStyle Caption:Standard
|
2014-02-26 06:57:57 +00:00
|
|
|
LabelString unlabelled
|
2013-03-22 21:23:38 +00:00
|
|
|
LatexName caption*
|
2014-02-26 06:57:57 +00:00
|
|
|
ResetArgs 1
|
2013-03-22 21:23:38 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2010-03-28 13:47:50 +00:00
|
|
|
InsetLayout Preview
|
2010-04-02 23:47:18 +00:00
|
|
|
LabelString Preview
|
2010-03-28 13:47:50 +00:00
|
|
|
Decoration minimalistic
|
|
|
|
MultiPar true
|
2010-03-29 18:51:41 +00:00
|
|
|
End
|
2012-04-17 13:11:28 +00:00
|
|
|
|
2012-04-17 13:42:59 +00:00
|
|
|
|
|
|
|
InsetLayout Script
|
|
|
|
LatexType command
|
|
|
|
MultiPar false
|
|
|
|
ForcePlain 1
|
|
|
|
CustomPars 0
|
|
|
|
InToc 1
|
|
|
|
HTMLIsBlock 0
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2012-04-17 13:11:28 +00:00
|
|
|
InsetLayout Script:superscript
|
2012-04-17 13:42:59 +00:00
|
|
|
CopyStyle Script
|
|
|
|
LaTeXName textsuperscript
|
|
|
|
HTMLTag sup
|
2012-04-17 13:11:28 +00:00
|
|
|
End
|
|
|
|
|
2013-03-27 23:30:30 +00:00
|
|
|
|
2012-04-17 13:11:28 +00:00
|
|
|
InsetLayout Script:subscript
|
2012-04-17 13:42:59 +00:00
|
|
|
CopyStyle Script
|
|
|
|
Requires subscript
|
|
|
|
LaTeXName textsubscript
|
|
|
|
HTMLTag sub
|
2012-04-17 13:11:28 +00:00
|
|
|
End
|
2013-03-27 23:30:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
InsetLayout PrintNomencl
|
|
|
|
HTMLTag h2
|
|
|
|
End
|
2016-07-30 23:41:51 +00:00
|
|
|
|
|
|
|
InsetLayout Tabular
|
|
|
|
HTMLStyle
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: 1px solid black;
|
|
|
|
padding: 0.5ex;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|