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:
Jürgen Spitzmüller 2008-01-07 17:32:47 +00:00
parent ac5a40e5a3
commit a5d5a633d9
7 changed files with 15 additions and 13 deletions

View File

@ -231,6 +231,7 @@
\TestPackage{endnotes}
\TestPackage{enumitem}
\TestPackage{esint}
\TestPackage{ifthen}
\TestPackage{fancybox}
\TestPackage{fancyhdr}
\TestPackage{framed}

View File

@ -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

View File

@ -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]{}

View File

@ -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

View File

@ -15,8 +15,8 @@ Style Hanging
Margin Static
LeftMargin "MMMM"
ParIndent "-MMMM"
Requires ifthen
Preamble
\usepackage{ifthen}
\newlength{\lyxhang}
\IfFileExists{hanging.sty}{
\usepackage{hanging}

View File

@ -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

View File

@ -533,7 +533,8 @@ char const * simplefeatures[] = {
"covington",
"csquotes",
"enumitem",
"endnotes"
"endnotes",
"ifthen"
};
int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);