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
|
|
|
#
|
|
|
|
# More detailled format description is available in the customization manual
|
|
|
|
# FIXME: create the contents in the manual and put the link here.
|
|
|
|
#
|
2007-12-03 15:24:53 +00:00
|
|
|
#InsetLayout <string identifier used by LyX>
|
|
|
|
# LabelString used for the inset decoration (either the inset button
|
|
|
|
# or the text underneath the inset).
|
2007-12-06 07:56:39 +00:00
|
|
|
# LatexType associated LateX type: command, environment, or none.
|
2007-12-03 15:24:53 +00:00
|
|
|
# LatexName associated LateX command.
|
|
|
|
# BgColor Color of the inset background within LyX.
|
|
|
|
# FIXME: link to a doc file describing the different
|
|
|
|
# color codes as defined in 'ColorCode.h'
|
|
|
|
# Font Nothing to put here, below are descriptions of the different
|
|
|
|
# allowable adjustments for the font used to draw the text
|
|
|
|
# appearing within the inset text. All these items are optional.
|
2008-02-05 22:57:33 +00:00
|
|
|
# Color Color of text
|
2007-12-03 15:24:53 +00:00
|
|
|
# Size Font size of the textallowed value: Small, Smaller, ...
|
|
|
|
# FIXME defined in FontSize in FontEnums.h
|
|
|
|
# Family FIXME defined in FontFamily in FontEnums.h
|
2007-12-06 07:56:39 +00:00
|
|
|
# Shape FIXME defined in FontShape in FontEnums.h
|
|
|
|
# Series FIXME defined in FontSeries in FontEnums.h
|
|
|
|
# Misc FIXME defined in FontMisc in FontEnums.h
|
2007-12-03 15:24:53 +00:00
|
|
|
# EndFont Nothing to put here, it's just a markup to indicate that we are
|
|
|
|
# finished with the Font definition.
|
|
|
|
# LabelFont Nothing to put here, below are descriptions of the different
|
|
|
|
# allowable adjustments for the font used to draw the text
|
|
|
|
# appearing within the inset decoration. All these items are
|
|
|
|
# optional.
|
|
|
|
# Color see definition above (in the Font node).
|
|
|
|
# Size see definition above (in the Font node).
|
2008-02-05 22:57:33 +00:00
|
|
|
#
|
2007-12-03 15:24:53 +00:00
|
|
|
# EndFont Nothing to put here, it's just a markup to indicate that we are
|
|
|
|
# finished with the LabelFont definition.
|
|
|
|
# MultiPar Indicates that multiple paragraphs are allowed within the inset
|
2008-10-05 19:46:19 +00:00
|
|
|
# or not. Defaults to false. Sets CustomPars, as well, to the same
|
|
|
|
# value, and sets ForcePlain to the opposite value. If you want
|
|
|
|
# those to be different, then, you must set them after you set
|
|
|
|
# MultiPar.
|
|
|
|
# CustomPars Whether to allow the use of the Paragraph Settings dialog. Default is
|
|
|
|
# false.
|
|
|
|
# ForcePlain Whether to force the PlainLayout. Default is true.
|
2008-01-07 16:59:10 +00:00
|
|
|
# Decoration: Classic, Minimalistic, Conglomerate. Decoration styles
|
|
|
|
# PassThru Do not do various LaTeX conversions, like the phrases
|
2008-02-05 22:57:33 +00:00
|
|
|
# LaTeX, LyX, quote commands, etc.
|
2008-01-07 16:59:10 +00:00
|
|
|
# KeepEmpty Do not delete empty paragraphs (?)
|
|
|
|
# FreeSpacing Preserve multiple spaces etc.
|
|
|
|
# ForceLTR Force the "latex" language, leading to Left-to-Right
|
2008-02-05 22:57:33 +00:00
|
|
|
# (latin) output, e.g., in ERT or URL. A kludge.
|
2008-01-07 17:32:47 +00:00
|
|
|
# Requires Require a given (supported) feature. Multiple features must
|
2008-02-05 22:57:33 +00:00
|
|
|
# be comma-separated.
|
2007-12-03 15:24:53 +00:00
|
|
|
#End
|
2007-08-13 12:13:17 +00:00
|
|
|
|
2009-10-27 19:17:52 +00:00
|
|
|
Format 18
|
2007-08-13 12:13:17 +00:00
|
|
|
|
2008-02-05 22:57:33 +00:00
|
|
|
Provides stdinsets 1
|
|
|
|
|
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
|
|
|
|
Color foreground
|
|
|
|
Size Small
|
|
|
|
Family Roman
|
|
|
|
Shape Up
|
|
|
|
Series Medium
|
|
|
|
Misc No_Emph
|
|
|
|
Misc No_Noun
|
|
|
|
Misc No_Bar
|
|
|
|
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-11-19 21:13:19 +00:00
|
|
|
HTMLTag div
|
2009-06-12 15:16:08 +00:00
|
|
|
HTMLStyle
|
2009-11-19 21:13:19 +00:00
|
|
|
div.marginal {
|
2009-06-12 15:16:08 +00:00
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
background-color: #F0F0F0;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Foot
|
|
|
|
LabelString foot
|
2009-06-06 03:02:43 +00:00
|
|
|
Counter footnote
|
2007-11-01 06:25:47 +00:00
|
|
|
Font
|
|
|
|
Color foreground
|
|
|
|
Size Small
|
|
|
|
Family Roman
|
|
|
|
Shape Up
|
|
|
|
Series Medium
|
|
|
|
Misc No_Emph
|
|
|
|
Misc No_Noun
|
|
|
|
Misc No_Bar
|
|
|
|
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
|
2009-11-19 21:13:19 +00:00
|
|
|
HTMLTag div
|
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
|
|
|
}
|
2009-11-19 21:17:44 +00:00
|
|
|
div.foot { display: inline; }
|
|
|
|
div.foot_inner { display: none; }
|
2009-11-19 21:13:19 +00:00
|
|
|
div.foot:hover div.foot_inner {
|
2009-06-05 19:25:49 +00:00
|
|
|
display: block;
|
|
|
|
border: 1px double black;
|
|
|
|
margin: 0em 1em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Note:Comment
|
|
|
|
LabelString comment
|
|
|
|
LatexType environment
|
|
|
|
LatexName comment
|
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
|
2009-06-05 19:58:23 +00:00
|
|
|
HTMLTag !--
|
2009-10-26 20:53:46 +00:00
|
|
|
HTMLIsBlock false
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
InsetLayout Note:Note
|
|
|
|
LabelString note
|
|
|
|
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
|
2009-11-19 21:13:19 +00:00
|
|
|
HTMLTag div
|
2009-10-26 20:53:46 +00:00
|
|
|
HTMLIsBlock false
|
2009-10-27 13:39:39 +00:00
|
|
|
# FIXME HTML Need CSS
|
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
|
|
|
|
LabelString greyedout
|
2007-08-20 14:22:39 +00:00
|
|
|
LatexType environment
|
|
|
|
LatexName lyxgreyedout
|
2007-08-26 20:32:58 +00:00
|
|
|
BgColor greyedoutbg
|
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
|
2009-06-05 19:58:23 +00:00
|
|
|
HTMLStyle
|
2009-10-27 19:17:52 +00:00
|
|
|
span.note_greyedout {
|
|
|
|
background-color: #A0A0A0;
|
|
|
|
padding-left: 1ex;
|
|
|
|
padding-right: 1ex;
|
|
|
|
}
|
2009-06-05 19:58:23 +00:00
|
|
|
EndHTMLStyle
|
2009-11-19 21:13:19 +00:00
|
|
|
HTMLTag div
|
2009-10-26 20:53:46 +00:00
|
|
|
HTMLIsBlock false
|
2007-08-13 12:13:17 +00:00
|
|
|
End
|
|
|
|
|
2007-08-21 21:29:13 +00:00
|
|
|
InsetLayout ERT
|
|
|
|
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
|
|
|
|
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
|
2009-02-03 21:12:59 +00:00
|
|
|
CustomPars false
|
|
|
|
ForcePlain true
|
2009-01-30 00:56:37 +00:00
|
|
|
End
|
|
|
|
|
2007-10-30 12:30:46 +00:00
|
|
|
InsetLayout Listings
|
|
|
|
LabelString Listings
|
|
|
|
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
|
|
|
|
KeepEmpty true
|
|
|
|
FreeSpacing true
|
2008-07-16 20:40:05 +00:00
|
|
|
ForceLTR true
|
2007-08-21 21:29:13 +00:00
|
|
|
End
|
2007-08-13 12:13:17 +00:00
|
|
|
|
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
|
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
|
2008-03-05 00:06:34 +00:00
|
|
|
Color foreground
|
2007-10-03 13:38:19 +00:00
|
|
|
Size Small
|
2007-11-01 06:25:47 +00:00
|
|
|
Family Roman
|
|
|
|
Shape Up
|
|
|
|
Series Medium
|
|
|
|
Misc No_Emph
|
|
|
|
Misc No_Noun
|
|
|
|
Misc No_Bar
|
2007-10-03 13:38:19 +00:00
|
|
|
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
|
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
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Box:Shaded
|
|
|
|
BgColor shaded
|
|
|
|
LabelFont
|
|
|
|
Color foreground
|
|
|
|
Size Small
|
2007-11-02 22:10:59 +00:00
|
|
|
EndFont
|
2007-10-10 13:25:37 +00:00
|
|
|
MultiPar true
|
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
|
|
|
|
Color collapsable
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar true
|
|
|
|
End
|
|
|
|
|
2008-12-16 15:34:32 +00:00
|
|
|
InsetLayout Wrap
|
|
|
|
LabelFont
|
|
|
|
Color collapsable
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar true
|
2009-06-12 17:26:48 +00:00
|
|
|
HTMLStyle
|
|
|
|
span.wrap {
|
|
|
|
float: right;
|
|
|
|
width: 40%;
|
|
|
|
border: 2px solid black;
|
|
|
|
padding: 1ex;
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2008-12-16 15:34:32 +00:00
|
|
|
End
|
|
|
|
|
2007-11-13 10:03:16 +00:00
|
|
|
InsetLayout URL
|
|
|
|
LyXType standard
|
2008-02-10 17:20:59 +00:00
|
|
|
Decoration classic
|
2007-11-13 10:03:16 +00:00
|
|
|
LabelString URL
|
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
|
|
|
|
|
2007-11-15 15:40:01 +00:00
|
|
|
InsetLayout OptArg
|
|
|
|
LabelString opt
|
|
|
|
LabelFont
|
|
|
|
Color collapsable
|
|
|
|
Size Small
|
|
|
|
EndFont
|
2009-02-03 21:12:59 +00:00
|
|
|
MultiPar false
|
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
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:menu
|
|
|
|
LatexType command
|
|
|
|
LatexName menuitem
|
|
|
|
Preamble
|
|
|
|
\providecommand{\menuitem}[1]{\textsf{#1}}
|
|
|
|
EndPreamble
|
|
|
|
Decoration conglomerate
|
|
|
|
Font
|
|
|
|
Family sans
|
|
|
|
EndFont
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLTag span
|
|
|
|
HTMLAttr "class='info menu'"
|
|
|
|
HTMLStyle
|
|
|
|
span.menu { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:shortcut
|
|
|
|
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
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLTag span
|
|
|
|
HTMLAttr "class='info shortcut'"
|
|
|
|
HTMLStyle
|
|
|
|
span.shortcut { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Info:shortcuts
|
|
|
|
LatexType command
|
|
|
|
LatexName shortcut
|
|
|
|
Preamble
|
|
|
|
\providecommand{\shortcut}[1]{\textsf{#1}}
|
|
|
|
EndPreamble
|
|
|
|
Decoration conglomerate
|
|
|
|
Font
|
|
|
|
Family sans
|
|
|
|
EndFont
|
2009-06-12 15:27:29 +00:00
|
|
|
HTMLTag span
|
|
|
|
HTMLAttr "class='info shortcut'"
|
|
|
|
HTMLStyle
|
|
|
|
span.shortcut { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
2008-09-30 14:11:40 +00:00
|
|
|
End
|
2009-06-05 17:51:03 +00:00
|
|
|
|
|
|
|
InsetLayout Box
|
|
|
|
HTMLStyle
|
|
|
|
span.Frameless { font-family: sans-serif; }
|
|
|
|
EndHTMLStyle
|
|
|
|
End
|