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
56 views

Biblatex using polyglossia language setting

I noticed biblatex uses the language option passed to polyglossia first, before acknowledging the option passed to it via the language = <language> option. Here is the MWE that illustrates the ...
6
votes
2answers
67 views

Giving numerical value to a package

I am playing around with making a package for some of my LaTeX commands and environments. The problem I am encountering is that the package will need to take a numerical value, which have a default ...
3
votes
1answer
48 views

Why does using a lstset option in usepackage command make pdflatex not terminate?

Question Why does passing a wrong (as in non-existing) option to listings upon package loading result in a non-terminating pdflatex run, instead of - say - a simple error message? Background ...
0
votes
0answers
38 views

“Package Options” for a beginner

I have a custom package based on titlesecpackage: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{blackenedtitles}[2015/04/03 Custom Titles Package] \RequirePackage{titlesec} \DeclareOption{...
1
vote
1answer
437 views

MikTeX: Package installation repair

I was compiling a TeX file with marvosym package - which was not installed in my computer. When it was automatically attempting to install the marvosym package, I force closed the program thinking ...
5
votes
1answer
96 views

Help with Options in MIT Poker Package?

I'm trying to write a paper for university and it involves using poker cards in latex. I'm using the Poker MIT Package: http://web.mit.edu/foley/games/Arcadia/sr/poker/poker.sty provides the poker....
1
vote
2answers
50 views

SVG filename argument to \includesvg - damned if you do, damned if you don't

I'm trying to use the svg package, for some svg files I have in a graphics/ subdirectory. My includegraphics command used to be: \includegraphics{graphics/foo.png} Now, if I write: \includesvg{...
3
votes
1answer
42 views

“Extra \fi” error when defining mutually exclusive package options with conditionals

I have been trying to create a package, which loads the babel package and sets the language with an option. I've been getting strange errors when trying to define mutually exclusive package options, ...
0
votes
2answers
255 views

Package xcolor Error: Undefined color `ForestGreen'

I am using the following packages in my files Latex sources: \usepackage{color} \usepackage[table,xcdraw]{xcolor} \usepackage[usenames, dvipsnames]{color} \newcommand{\ricardo}[1]{\colorbox{...
18
votes
1answer
288 views

Is there a reason for \usepackage with options in a separate line?

I understand that these two commands do the same thing: \usepackage[letterpaper, landscape, margin=2in]{geometry} and \usepackage{geometry} \geometry{legalpaper, landscape, margin=2in} Is there ...
1
vote
1answer
57 views

\@ifpackagewith doesn't behave as I expected with global options

When I compile the following code, I expect a "Yes" but I get a "No" instead. Is there something subtle going on or is my method for checking wrong? If so, how can I see which options have been passed ...
10
votes
3answers
221 views

When/How should a class load biblatex

I would like to write a custom class that loads the biblatex package, but I am having trouble with option clashes. For example, the following MWE gives me an error % arara: pdflatex % arara: biber % ...
2
votes
0answers
48 views

Using the dvi2tty package

I want to convert a .dvi file using dvi2tty but I don't know how. I downloaded the dvi2tty package, which contains only some .tex files and other extensions, and I can't see from where to start. Could ...
3
votes
1answer
115 views

algorithm2e - override defaults

I'm using using algorithm2e package with the following settings: \usepackage[ruled,vlined,linesnumbered,noresetcount]{algorithm2e} But for some subset of algorithms in the same document, I want to ...
4
votes
1answer
49 views

Can't pass \ in option to package processed with xkeyval - TeX capacity exceeded

I have a test package that uses the xkeyval package to process options. The package works when I pass an option value that does not have \ in it but when I pass yy=\tiny I get ! TeX capacity ...
2
votes
1answer
135 views

Updating from an old enumitem package - Lubuntu

I've installed Texmaker on my netbook running LXLE (built on Lubuntu 12.04) and when I tried to compile a file I'd been working on with Texmaker on Windows, I get an error saying: Unknown option ...
2
votes
2answers
122 views

Set biblatex options after loading

I use biblatex with the following call: \usepackage[style=authoryear, mergedate=false, maxcitenames=1, mincitenames=1, maxbibnames=999, minbibnames=999, uniquename=false, uniquelist=...
4
votes
1answer
181 views

Option clash for package adjustbox [duplicate]

Problem: I am getting the error message Option clash for package adjustbox. and am wondering what could be wrong? Any advice how to figure out which of the other packages are generating this error? ...
2
votes
1answer
154 views

Assign citation style after the \usepackage{biblatex} in preamble

Is it possible to assign the citation style with a command? (such as \ExecuteBibliographyOptions{...}) I'm getting all \usepackage{...} in one file and settings in another. But I can not do: \...
4
votes
1answer
83 views

How does the LaTeX `ABC` music typesetting package configure spacing with `width`

How does the ABC music typesetting package configure spacing with the value passed to width. The documentation says width is the dimension best expressed as a fraction of \abcwidth As width is one ...
6
votes
1answer
198 views

\ExecuteOptions error \CurrentOption \@nil

I try to follow this scheme : If not DeclareOption but have an error of this type : I get an error when using `\ExecuteOptions` together with `\usepackage{geometry}` but I don't understand how to ...
1
vote
1answer
396 views

PassOptionsToPackage: natbib via svjour3

In this MWE, I am unable to pass options to natbib via svjour3, which requires natbib. The commented alternative works fine, but has some drawbacks (e.g., the code in svjour3 after \RequirePackage{...
1
vote
2answers
80 views

How to test whether report has been called with “draft” option

How can I test within a document, whether or not the initial \documentclass[a4paper,11pt,twoside,fleqn,draft]{report} includes the "draft" option? My naive attempt \newif\ifmydraft \mydraftfalse \...
6
votes
1answer
125 views

How to make menukeys support both of win and mac?

menukeys is a very fancy package. We can use it by: \usepackage[os=win]{menukeys} % Show keys in Windows style or by: \usepackage[os=mac]{menukeys} % Show keys in Mac style However, in my ...
1
vote
1answer
117 views

option for title page in custom package

I have made my own package which loads some packages and setup a custom title page using the following % Title and author \makeatletter \def\@maketitle{% \newpage %\vspace{-\topskip} % ...
1
vote
1answer
4k views

! LaTeX Error: Option clash for package geometry (but I haven't loaded package twice)

I am currently trying to create a landscape document using r markdown. Since I also want the header to be in landscape, I have the following mystyles.sty document: \usepackage[landscape]{geometry} \...
0
votes
0answers
33 views

How to \DeclareOption with a variable? [duplicate]

I know \DeclareOption{option name}{option content} but how is this used to pass a variable number into the package? for example, \usepackage[margin=1in]{geometry} passes 1in to the margin option of ...
0
votes
1answer
82 views

PDF as a data container

Inserting data about article to the PDF It is possible to pass title and author of the article to the appropriate hyperref package options? I want to be the values of \title - Title of the article ...
5
votes
1answer
633 views

PassOptionsToClass vs global options

I'm currently using \PassOptionsToClass, as suggested in Conditional Compiling and \documentclass to compile a document in several languages. However, if I use language-options in \PassOptionsToClass, ...
3
votes
1answer
779 views

error '\clipbox already defined' when use package adjustbox

I am trying draw table. I use adjustbox package. I loaded this package in separate file. That separate file contains the packages I use. \usepackage{inputenc} \usepackage{graphicx,color} \usepackage{...
2
votes
1answer
473 views

Using Babel inside my own package produces option-clash error

I want to write my own package which provides an \affidavit command which produces some standard text in two languages (ngerman and english). Minimal working example of this package: \def\...
1
vote
0answers
120 views

Play one video immediately after another one with `\usepackage{multimedia}`

If I use autostart only video4 plays, but the idea is to play all videos in order, i.e., first video1, then second video2 immediately after video1 finishes and so forth. Is that possible? I haven't ...
2
votes
1answer
63 views

Navigating latex packages for their options

I'm trying to find all the different font options available in the package devanagari for typesetting hindi. I found a template online, whose reduced working form is \documentclass{article} \...
0
votes
1answer
1k views

How to change Figure Label? (Fig.: n instead Figure: n) [duplicate]

This question seems to be asked a lot. I tried some different solutions and any of them did not work. My figure caption is displayed as Figure 1: Caption Here But I want to display: Fig. 1: ...
0
votes
0answers
174 views

Problems with mutated vowels and Option Clash

My Problem is that i have wrong packages for Mac, i think. I obviously cannot write ö,ü,ä and somehow the package "\usepackage[applemac]{inputenc}" does not help. My packages are as follows: %%%%%%%%...
0
votes
0answers
31 views

Cannot find amsmath amstools package even though the doc used to compile [duplicate]

This is from a document that used to compile. I want to use it as a template as it was a really good template. However when I press compile it says that it cannot find the amsmath or amstools ...
6
votes
1answer
1k views

Declare package options and loading packages leads to “options section” error

I'm trying to create a package with some options. However, whenever I declare options and load other packages, I receive the following error: LaTeX Error: \RequirePackage or \LoadClass in Options ...
2
votes
0answers
157 views

I am trying to send options to a style file using boolean declare option [closed]

$Ok trying minimal examples: here is doofus.tex \documentclass[english]{letter} \usepackage[T1]{fontenc} \usepackage{color} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands....
5
votes
1answer
96 views

Having multiple contradictory options, how to handle them?

Lets say you are writing a package, which has the usual pair of draft and final-mode. But how should I handle, if this package gets the global option final and the local draft? Consider the ...
3
votes
1answer
154 views

“Author et al., submitted”, is that possible with \citep?

Is it possible to have "Author et al., submitted" using the package natbib? e.g.: @article{papersubmitted, title = {{I love LaTeX, and you?}}, author = {Author1, Name and Author2, Name and ...
3
votes
1answer
5k views

When using Caption Package, I receive: “Undefined control sequence \captionsetup ”

I introduce a figure as follows: \begin{figure} \centering \includegraphics[scale=0.300]{Figure.eps} \caption{Caption for the figure} \label{a} \end{figure} In the preamble I have written: \...
6
votes
2answers
272 views

Creating a custom character that automatically adjusts size in math mode? [duplicate]

After a lot of searching, I finally found the .pdf's for the elusive Griffiths script r character used in his ubiquitous undergraduate electrodynamics book. I made a simple package that allows me to ...
9
votes
1answer
567 views

xkvltxp gives keyval error in case of biblatex's options on multiple lines

A keyval error arises if both: xkvltxp is loaded biblatex is loaded with options on multiple lines. The following MWE shows this strange behavior: \documentclass{article} % \usepackage{xkvltxp} \...
7
votes
1answer
1k views

'Unknown option' for my own package

I create a package: one common file that includes others. In common package file (russian_post.sty) I define options: \DeclareOption{times}{\@seriffalse} \DeclareOption{landscape}{\@lscapetrue} \...
4
votes
1answer
140 views

How to make a package to ignore parameters it doesn't know when loading in a class?

I'm defining a class that extends article that loads a package inside (automultiplechoice). I'm trying to configure the package and the class using the parameters of the \documentclass command. When ...
4
votes
1answer
76 views

Package option won't do what it has to

I'm writing a package but I'm having a little trouble. Right now, the package goes: %!TEX encoding = UTF-8 Unicode \def\fileversion{0.2} \def\filedate{% Mon 2014-04-01 } \def\Copyright{***************...
1
vote
0answers
558 views

emulateapj options not changing anything

simple question: how do you change an option with emulateapj? I'm using \documentclass[12pt, apj]{emulateapj} but it appears to have no effect and comes up with these messages: [Compiling C:\Users\...
2
votes
1answer
1k views

outline package, how to change enumeration style?

I'm working with the outlines package. I want to change the 2nd level enumeration style from small letters ( a b c ) to small roman letters ( i),ii),iii)... ). In other words, I want to exchange the ...
1
vote
0answers
196 views

How to use the Parallel package with proper environment options? [duplicate]

If I use: \begin{Parallel}[c]{0.47\textwidth}{0.47\textwidth} \ParallelLText{paragraph 1 left} \ParallelRText{paragraph 1 right} \ParallelPar \ParallelLText{paragraph 2 left} \ParallelRText{paragraph ...
1
vote
1answer
232 views

Help to change svg package to include a 600dpi pdf instead of creating huge pdf with vector graphic. (Downgrade PDF)

I am using the svg package to include an svg file with transparent 3D graphic and latex code to be set at the right label positions. I tried many different methods to do that (matlab->eps+tex file) ...