Questions tagged [options]

Options can be specified in order to influence the behavior of packages and classes, e.g. allowing for features or disabling others.

Options can be specified in order to influence the behavior of packages and classes, e.g. allowing for features or disabling others.

\usepackage[svgnames]{xcolor}

or

\documentclass[twoside,titlepage]{article}

Usually, they are specified in [], separated with commas. Packages dealing with option handling for packages and classes are keyval, xkeyval, l3keys2e and kvoptions.

123 questions
1
vote
0 answers

DocumentClass option not running

Sorry in advance for maybe noonish question. I have the following template files provided by my University. In the document class, there should be an option oneref that allows for all of the references to be compiled on a single file at the end of…
Doe
  • 11
1
vote
1 answer

Using style packages expkv-def.sty and expkv-opt.sty

I have expkv-def.sty and expkv-opt.sty stored in directory expkv. How can I use the two packages from another sty file. Currently I have the following ephram.sty \ProvidesPackage{ephram}[2022/04/25 Ephram Document Style] …
Veak
  • 1
0
votes
2 answers

Option to use colour names without calling xcolor package twice

I have seen that I cannot require a package twice. How can I have an option that activates the availability of colour names \RequirePackage[dvipsnames*,svgnames,x11names]{xcolor} But if the option is missing the style file uses this instead …
Veak
  • 1
0
votes
0 answers

How to know if certain parameter is passed to a (standard) class

I'd like to type some text in english or other language depending on an option passed to \documentclass. The idea is to implement a very crude "localization" macro (called \localize, for instance) like: \documentclass[11pt,catalan]{article} %…