These reference options specified to the package at loading time. For optional arguments to macros or environments, use {optional-arguments} instead.
2
votes
1answer
375 views
ClassicThesis: override options of a previously loaded classicthesis package
I have recently upgraded from Ubuntu 11.04 to Ubuntu 11.10. I also installed "vanilla" TexLive 2011 (instead of the old TexLive 2009 from the repositories) and upgraded it with sudo tlmgr update ...
6
votes
1answer
261 views
Disabling the draft option in a package
Within a package I'm making, I want ignore the default draft behavior and write my own. I have tried:
\DeclareOption{draft}{
MYCOMMANDS
...
\OptionNotUsed
}
\ProcessOptions
If draft is used, my ...
2
votes
0answers
181 views
Using amspset package [closed]
I use the amspset package. I understand there are options to use the cm font (Computer Modern) and also an option called "unboxed" to remove boxes from the questions. What is the correct command to ...
3
votes
1answer
358 views
Best practice for setting package options through class options?
I want to process my class options so as to create a (potentially long) options list for package(s) I'm loading, e.g.
% set default package options here somehow
\DeclareOption{myvariant}{
% set a ...
0
votes
1answer
444 views
Error appliying hang figure caption [closed]
I use the report class, and the caption package to get the result:
\usepackage[hang,small,bf]{caption}
\setlength{\captionmargin}{20pt}
and I get the error message :
LaTeX Error : Option clash ...
4
votes
2answers
344 views
Pass keyval string option to babel
How to pass a keyval string option given to my package to babel?
I load my package with
\usepackage[languages={ngerman,english}]{mylang}
In package mylang I want to handle this optional languages ...
5
votes
1answer
99 views
Handle class options in the order they're given
How can I pass options of my package in a specific order to another loaded package?
\ProvidesPackage{L10n}
\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{babel}}
...
3
votes
2answers
266 views
Detect value of option given to documentclass
I would like to be able to detect if the standalone package was used with [preview=false] or [preview=true]. Not too concerned if this setting was a default or user defined.
Based on How can one ...
10
votes
3answers
1k views
Conflict between Options of Packages
I have these following packages defined in my preamble and once the file is ran, it creates an error of the following saying there is a clash within the package options. Packages are below:
...
10
votes
3answers
3k views
I cannot get a (properly) underlined hyperlink in blue
First I just ignored the hyperref package and just wanted something that 'looked' like a link:
\underline{\color{Blue} http://soundcloud.com}
but I end up getting an underline about 3mm below the ...
7
votes
3answers
305 views
Mutually exclusive options in packages
Is there a standard way to define mutually exclusive options in a package?
Could someone provide a simple example?
Currently I am mostly intrested in LaTeX2e but it would be nice to see a LaTeX3 ...
9
votes
1answer
854 views
The kerning option of microtype
I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
10
votes
1answer
315 views
LaTeX3: how to access package options
In my package I intend to write in expl3 syntax, how can I get access to the list of options passed to it on the document level via \usepackage[<option list>]{my-l3-pkg}?
I know more or less ...
11
votes
3answers
1k views
A package template using xkeyval?
I would like to write a package offering a number of commands. The package should accept options, and some of these options should be available as command options. Usage should be as follows:
...
...
13
votes
1answer
626 views
What does the hyperref option hypertexnames do?
The Manual of hyperref states that hypertexnames: use guessable names for links.
What does this mean? What are the consequences of using this option?
4
votes
2answers
73 views
How to use commands or multiline values for package options/parametes?
I would like to know if there's a way to use a command (including custom commands created with \newcommand) as parameter/option values). I would like to do something like this
...