mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
some more uses of Requires.
The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ac5a40e5a3
commit
a5d5a633d9
@ -231,6 +231,7 @@
|
||||
\TestPackage{endnotes}
|
||||
\TestPackage{enumitem}
|
||||
\TestPackage{esint}
|
||||
\TestPackage{ifthen}
|
||||
\TestPackage{fancybox}
|
||||
\TestPackage{fancyhdr}
|
||||
\TestPackage{framed}
|
||||
|
@ -17,8 +17,10 @@ Input amsart.layout
|
||||
|
||||
# Use a simpler preamble.
|
||||
Preamble
|
||||
\usepackage{amsmath,amsthm}
|
||||
\usepackage{amsthm}
|
||||
\usepackage{amsfonts}
|
||||
EndPreamble
|
||||
|
||||
Requires amsmath
|
||||
|
||||
Input amsmaths-plain.inc
|
||||
|
@ -11,8 +11,10 @@ ClassOptions
|
||||
FontSize 11
|
||||
End
|
||||
|
||||
Requires ifthen
|
||||
|
||||
Preamble
|
||||
\usepackage{entcsmacro,ifthen}
|
||||
\usepackage{entcsmacro}
|
||||
\newcommand{\theTitle}[1]{}
|
||||
\newcommand{\theAuthor}[1]{}
|
||||
\newcommand{\theAddress}[1]{}
|
||||
|
@ -95,9 +95,7 @@ Style TickList
|
||||
AlignPossible Block, Left
|
||||
LabelType Static
|
||||
LabelString "_/"
|
||||
Preamble
|
||||
\usepackage{pifont}
|
||||
EndPreamble
|
||||
Requires pifont
|
||||
End
|
||||
|
||||
Style CrossList
|
||||
@ -116,9 +114,7 @@ Style CrossList
|
||||
AlignPossible Block, Left
|
||||
LabelType Static
|
||||
LabelString "><"
|
||||
Preamble
|
||||
\usepackage{pifont}
|
||||
EndPreamble
|
||||
Requires pifont
|
||||
End
|
||||
|
||||
|
||||
|
@ -15,8 +15,8 @@ Style Hanging
|
||||
Margin Static
|
||||
LeftMargin "MMMM"
|
||||
ParIndent "-MMMM"
|
||||
Requires ifthen
|
||||
Preamble
|
||||
\usepackage{ifthen}
|
||||
\newlength{\lyxhang}
|
||||
\IfFileExists{hanging.sty}{
|
||||
\usepackage{hanging}
|
||||
|
@ -43,6 +43,8 @@
|
||||
# FreeSpacing Preserve multiple spaces etc.
|
||||
# ForceLTR Force the "latex" language, leading to Left-to-Right
|
||||
# (latin) output, e.g., in ERT or URL. A kludge.
|
||||
# Requires Require a given (supported) feature. Multiple features must
|
||||
# be comma-separated.
|
||||
#End
|
||||
|
||||
Format 6
|
||||
@ -247,9 +249,7 @@ InsetLayout URL
|
||||
Color Blue
|
||||
Size Small
|
||||
EndFont
|
||||
Preamble
|
||||
\usepackage{url}
|
||||
EndPreamble
|
||||
Requires url
|
||||
End
|
||||
|
||||
InsetLayout OptArg
|
||||
|
@ -533,7 +533,8 @@ char const * simplefeatures[] = {
|
||||
"covington",
|
||||
"csquotes",
|
||||
"enumitem",
|
||||
"endnotes"
|
||||
"endnotes",
|
||||
"ifthen"
|
||||
};
|
||||
|
||||
int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
|
||||
|
Loading…
Reference in New Issue
Block a user