These reference options specified to the package at loading time. For optional arguments to macros or environments, use {optional-arguments} instead.

learn more… | top users | synonyms

3
votes
2answers
439 views

How to pass the draft option for pdfpages to \includegraphics?

If I use \usepackage[draft]{pdfpages} and include \includepdf[...]{...} everything works fine, i.e. instead of the included pages I get empty boxes. But if I use \includegraphics[...]{...} ...
0
votes
1answer
1k views

How to resolve option clash for package xcolor? [duplicate]

Possible Duplicate: Option clash with xcolor and TikZ The following is my MWE: \documentclass{article} \usepackage{tikz} \usepackage[table]{xcolor} \begin{document} Hi! \end{document} ...
3
votes
1answer
416 views

beamerposter custom style with keyval definition

I'm creating a beamerposter style accordingly to my department specification. I would like to create a theme where the definitions of the blocks can vary accordingly to a keyword in the calling of the ...
3
votes
2answers
450 views

How to outsource \hypersetup to an external file?

I use the hyperref package and defined custom settings as follows: \usepackage{color} \usepackage[dvipsnames]{xcolor} \usepackage{url} \usepackage{hyperref} \hypersetup{ bookmarks=true, ...
2
votes
3answers
3k views

Set natbib options after loading natbib package

Is it possible to set (or change) the natbib package options after its loading (i.e. after the line \usepackage{natbib})? The reason I need it is that I'm using a LaTeX style from a journal and it ...
2
votes
1answer
586 views

beamerposter passing portrait options to custom theme

Hi I'm preparing a custom theme for beamerposter to align with the theme of my institution. I have to include a figure banner on the headline plus the possibility to include 2 different logos. So far ...
14
votes
2answers
961 views

Package options and \RequirePackage: order of commands and option conflicts?

How do the options of a \RequirePackage command interact with options specified for that same package elsewhere? Here is an example: The pdfx package, if loaded with the a-1b-option, executes the ...
1
vote
1answer
301 views

Different animated pictures but only one control panel

I have a beamer frame made up of different animated pictures which share the same time. Is that a way to use the controls option in the animate package so that I can control all the animations at the ...
11
votes
3answers
2k views

a4paper, where should I declare it? In document class or geometry?

I currently have an article document class and I previously changed it to include printing on A4 paper: \documentclass[12pt, a4paper]{article} However, I had to change my margins to meet my ...
7
votes
2answers
465 views

Different types of Blackboard Bold in the same document

I am using mtpro2 package and it has 7 (!) different options for the Blackboard Bold (BB) to choose from. However only 2 of them provide BB version of Greek letters. And in both cases the result is ...
2
votes
2answers
1k views

How to circumvent ‘Option clash for package …’ error?

I use a package foo that requires a package bar with some options. Now, assume that I need bar to be loaded with a different set of options. Unfortunately, when I try to load bar myself I usually end ...
6
votes
2answers
574 views

“Double use” of a4paper (geometry/KOMA)?

In my preamble, should I give the a4paper option just once or twice, i. e. once for the KOMA-script document class (scrartcl) and once for geometry? Is this redundant or does scrartcl need the option ...
8
votes
2answers
439 views

Loading package twice with \RequirePackage causes “option clash”

I thought that loading a package twice with the same options cannot lead to option clash, still I get a clash in the following simple example: \documentclass{article} ...
4
votes
1answer
109 views

How do I add an option that sets a flag to a document class?

I want to add an option that sets a flag to a document class. That is, I want to be able to type \documentclass[foo]{class} and get one type of behavior, and type \documentclass{class} to get a ...
4
votes
1answer
78 views

Spaces in pfgopts options

Is there a simple way to allow spaces in the options of a package using pgfopts to process them, which is local to that package i.e. I don't have to include some package in the main document before ...
6
votes
1answer
133 views

Where to get help for the package options?

OS: Windows 7 + SP1 TeX: MiKTeX 2.9 IDE: Kile 2.1 For getting help on usage of package options, I usually Google "foo options latex", where foo is the name of the package. I wanted to know whether ...
33
votes
3answers
549 views

Will LaTeX3 improve freedom of package ordering and reduce “options clash”?

A prefatory afterthought: you may think this question better asked on the LaTeX3 mailing list, but I believe there may be a more general interest in the rather Byzantine rules for package load order. ...
8
votes
2answers
223 views

Key Value option in package

I trying to write a package, and I'd like to specify whether there should be colour or not. I'd like to do: \usepackage[color=false]{foo} and have this set \RequirePackage[color=false]{hyperref} ...
17
votes
2answers
4k views

Option clash with xcolor and TikZ

I want to draw some coloured circles, so I loaded tikz in my preamble. However, now xcolor is telling me that it has an "option clash". How should I fix this? \documentclass{article} ...
0
votes
1answer
338 views

longtable package is not spanning table across multiple pages

I have a table which spans into multiple pages. but, I could not get the table spanning into multiple pages. here is my MWE. \documentclass[a4paper,10pt]{book} \usepackage{multirow} ...
3
votes
1answer
458 views

How can I repair a Minion Pro font installation that lacks certain features?

I was overzealous in my installation of Minion Pro and accidentally installed metrics that I do not have. Specifically (it seems), I unzipped metrics-opticals.zip, when I shouldn't have. As a ...
12
votes
2answers
451 views

Did I misunderstand \RequirePackage? I don’t understand an option clash

Have a look at the following example, please. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{my.sty} \RequirePackage{xcolor} \end{filecontents} \RequirePackage{my} ...
6
votes
1answer
142 views

Nested parameters lost when generating new macros from package options

I've created a package which I would like to take in options and turn these into new macros (one new macro for each option). I also want these new macros to produce new macros in turn. For example, ...
13
votes
1answer
472 views

Where can I find out what various hyperref options do?

Where can I find a description of hyperref options, deeper than the one of the manual? I do not understand the meaning of several options. For instance, what is "redefines LaTeX internals" (option ...
2
votes
1answer
1k views

How can I customize 'headsep' attribute in the geometry package so that I can set it for individual pages?

I use the \geometry package for formatting my CV, and I know (from How to remove vertical space between header and body of text?) that I can use the headsep attribute to customize the spacing between ...
3
votes
1answer
941 views

\RequirePackage without option clashes because of the package loading order?

I am writing a package which requires the xcolor package with table option. It is loaded in the package with \PassOptionsToPackage{table}{xcolor} \RequirePackage{xcolor} which works if my package ...
2
votes
1answer
189 views

Package options mtplusscr and mtpluscal don't work in MTPro2 complete

If I use them I don't get the MTMS and MTMSB fonts as described in the guide just the old times new roman. Anyone seen this before? EDIT: Minimal Example: \documentclass[12pt]{article} ...
2
votes
1answer
521 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 ...
7
votes
1answer
368 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
226 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
510 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 ...
6
votes
2answers
660 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
115 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
371 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
2k 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: ...
12
votes
3answers
5k 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 ...
9
votes
3answers
425 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
1k 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 ...
11
votes
1answer
357 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 ...
13
votes
3answers
2k 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: ... ...
14
votes
1answer
866 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
92 views

How to use commands or multiline values for package options/parameters?

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