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

1
vote
1answer
313 views

Set my own minted default options inside a class

Is there a way that I can set minted options inside a class? I want to set my own defaults format for minted inside a custom class that I have.
12
votes
2answers
325 views

Is there a way to limit the scope of \usepackage?

When I tried to use the breqn package suggested by an answer to the question How do I break a long equation over lines It managed to break a whole bunch of unrelated equations (equations that did ...
5
votes
2answers
184 views

Creating a dependency tree (\RequirePackage) for packages used in my document

Is there a way of creating a dependency tree for packages \RequirePackageing each other for those packages used in my document, ideally with the respective required options and version numbers? Are ...
2
votes
1answer
74 views

How do I pass the right option to select english?

OK I'm not a LaTeX developer but I'm using someone else's file to produce a document. I don't know LaTeX at all, How do I pass a command option to tell the package to use english and not french when ...
7
votes
2answers
345 views

How can I stop the “setspace” package from processing a “doublespacing” documentclass option?

LaTeX does not behave as I expected with the following files. First file: \documentclass[doublespacing]{article} \usepackage{lipsum} % for dummy text only \begin{document} \lipsum \end{document} ...
1
vote
1answer
389 views

How can I set the 'final' option for the graphicx package in XeTeX?

I'm using XeTeX and wondering how to set the final option of the graphicx package. I started my document with pdfTeX and the following lines: \documentclass[a4paper, 12pt, twoside, headsepline, ...
1
vote
1answer
332 views

How do I pass options to a package? [closed]

I apologize if this is a neophyte or duplicate question because I was unable to find it. A comment on the question Problem with \leq displaying as \leqslant, mentions that "you can include mathabx ...
3
votes
1answer
118 views

Convenient way to pass package options and \setup like commands

I want to be organized in my code. In order to pass options to packages, i developped my own macros : \makeatletter \newcommand*\Option{% \@ifstar{\@Option}{}} \newcommand*\@Option[3]{% ...
3
votes
1answer
145 views

LaTeX system-wide glossary database as custom package

I'm trying to make a system-wide glossary database (with acronyms and definitions) as a package. My file is: /usr/local/texlive/texmf-local/tex/latex/local/myglossary.sty One needs to run: sudo ...
9
votes
1answer
146 views

Compare \CurrentOption with a string

I encountered a problem that I want to compare the \CurrentOption with a string. In the .tex file I have a code below. \usepackage[en-ver]{cufestatletter} Then I want to use \ifx to determine ...
16
votes
1answer
4k views

Option clash for package xcolor

I'm writing a report, and have a rather large table in my appendix. I'd like to emphasize some specific values by coloring some single cells. I'm trying to do it with xcolor. But receiving the error: ...
13
votes
2answers
180 views

Load different options depending on package version

Is there any possibility to load a package with different options depending on the version of the package? The command \@ifpackagelater{package}{date}{true}{false} only works if the package is ...
6
votes
1answer
4k views

Option clash when using graphicx and tikz packages

The following code fails Option clash for package graphicx, it seems to be an incompatibility between the package graphicx (when the option pdftex is used) and the package tikz. ...
5
votes
1answer
240 views

pass xkeyval option to class

I have read about passing options to classes in this thread, but do not understand what I'm doing wrong. My class is defined like so, using xkeyval and based on memoir. \NeedsTeXFormat{LaTeX2e} ...
3
votes
2answers
699 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
2k 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
592 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
497 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
4k 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
777 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
1k 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
373 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 ...
14
votes
3answers
4k 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
569 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
2k 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
708 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
538 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
118 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 ...
5
votes
1answer
89 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
157 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
568 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. ...
9
votes
2answers
243 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} ...
21
votes
2answers
6k 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
352 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
504 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
481 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
155 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, ...
14
votes
1answer
510 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
2k 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
1k 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
204 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
698 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
434 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
239 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
563 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 ...
7
votes
2answers
803 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
125 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
478 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 ...
11
votes
3answers
3k 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: ...
14
votes
3answers
7k 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 ...