Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
3answers
144 views

Multiple options for Pseudonyms

I'm looking for something fairly similar to this problem, of defining macros to print pseudonyms for people, but I'm not sure how to modify it (or if it is actually the right approach for what I'm ...
2
votes
1answer
24 views

Problem with stored values, macro options, and interaction with other package

Apologies for the rather general title, while trying to sort out a very specific problem: I'm trying to enhance the framework that Alan Munn provided here to represent naturally occurring discourse (...
0
votes
2answers
21 views

How to detect whether the option citecounter was enabled on biblatex?

I think this is the definition of the citecounter option on the biblatex package: \DeclareBibliographyOption[boolean]{citecounter}[true]{% \ifcsdef{blx@opt@citecounter@#1} {\csuse{blx@opt@...
1
vote
1answer
20 views

How to detect whether \PassOptionsToPackage was already called?

If I call: \PassOptionsToPackage{backend=biber,style=numeric,backref=false}{biblatex} % And later someone else call again \PassOptionsToPackage{style=abnt,backend=biber}{biblatex} What will happen? ...
0
votes
0answers
47 views

Commands vs keys/values for setting up a document: what an own document class should provide?

This question somehow extends the question "Package option vs setup command". I'm currently writing a class dedicated to students reports for both academic projects and internships. This class ...
1
vote
1answer
58 views

Lyx: Choose option from .cls file

I would like to use the sigconf style from acmart.cls. I have already downloaded the acmart.cls file into the latex folder, run texhash and copied a minimal .layout file: #% Do not delete the line ...
2
votes
1answer
55 views

Incompatibility between kvoptions and babel

I'm using kvoptions in my document class and it's worked nicely so far, but after a major rewrite I started getting strange errors that I was able to trace back to the babel package. MWE: %% myclass....
1
vote
1answer
25 views

Query beamer document class option aspectratio in a .sty file

I am writing my own latex beamer style. I want to use different background graphics depending on the aspect ratio chosen in the documentclass in the main file, like \documentclass[12pt, aspectratio=...
1
vote
1answer
61 views

help: looking for a generic (and elegant) array (variable) map syntax to keep stuff

My apologies if this has been discussed elsewhere, but if it was I couldn't find it. I am the author of a template for academic thesis for my university, but I'm definitely not a TeX expert. In this ...
2
votes
1answer
33 views

The option header=false does not work to consider first row containing symbolic name in data text file with pgfplots

I want to do something simple. I have the following data in a text file called example.txt: a 1.254 b 0.995 c 2.782 d 5.722 I want to plot all the data with a, b, c and on X axis but pgfplots ...
1
vote
1answer
101 views

xwatermark causing issues with \includegraphics options

I'm currently having issues using xwatermark and the clip and trim={} options of \includegraphics for graphics that are completely unrelated to the watermark produced by xwatermark. Here's a MWE that ...
0
votes
0answers
29 views

Texstudio How to switch back to previously compiled pdf preview [duplicate]

I use TeXstudio 2.12.10 (git 2.12.10) Say I have two tex files A and B. I compile A and I see its preview pdf on right side pane. Then I compile B and see B's pdf on right hand side. Now I want to ...
0
votes
1answer
95 views

More Formats & Options in LyX

In the “File > Export in” there is a paragraph More Formats & Opnions. Show me please how to enter the option. There, where “Send exported file to command” for example, you can enter? Where in the ...
0
votes
0answers
34 views

Prevent specific `\documentclass` options being sent to packages

Edit 2: I should have said, as @egreg says in the comments, that there is no good reason to do this, as the purpose of the options to \documentclass is precisely of being dispatched to every ...
1
vote
0answers
98 views

How to set global options / parameters in Circuitikz?

I use Circuitikz quite often with modified sizing as styles as follows: \begin{circuitikz}[line width=0.7pt, line join=round] \draw (0,0) ... to [/tikz/circuitikz/bipoles/length=22pt, L] (1,0) \end{...
2
votes
3answers
58 views

Custom command with addressable arguments

I know about \newcommand[<arg_num>]{#1 ... #n} to define a simple macro with up to nine arguments. (More if you link multiple newcommands together) I recently started to look at xparse for ...
1
vote
1answer
331 views

Why do I have green vertical bars in the left margin of TeXstudio?

I've come to using TeXstudio having written most of my chapters in WinEDT. I'm now adding more writing in the document. I'm using the MacOS version of TeXstudio, coming from using WinEDT in the ...
6
votes
1answer
308 views

Unused global option(s): [language=english]

This is a follow up question to Options in custom class. It seems that I still did not understand how global options work. Consider the following code: \RequirePackage{filecontents} \begin{...
1
vote
0answers
47 views

How to make a yes/no option to control the shown text, using beamer, latex [duplicate]

I am making template for presentation slides using beamer class. I want to let the user choose if this file is confidential or not. If yes, then shown it is yes; if not, then show it is no. The ...
2
votes
0answers
53 views

Can pgfkeys be used to create nested key hierarchies

I currently have the following following setup (but with many more keys), which works, but isn't as clean as I'd like it. \pgfkeys { /title/.is family, /title, first/.estore in = \title@first,...
1
vote
1answer
22 views

Disabling changes and todonotes packages: Text is still being coloured

The problem arose after the solution of : Colouring text doen't work in newcommand definition I am trying to define a new \note command based on todonotes and changes packages but I'm having ...
1
vote
1answer
39 views

New .bib-field fullauthor to be used instead of author

In an extremely long bibliography it can be quite annoying to have the same author with a somewhat different name in each entry, especially if the publications appear as a list under the name of the ...
1
vote
2answers
579 views

How(where) to change the default directory where WinEdt save new files?

How (where) to change the default directory where WinEdt save new files?
1
vote
1answer
233 views

The TikZ pipeline: A path's 'draw' option has no effect on a 'behind path' node

Still trying to figure out the TikZ pipeline (i.e. the sequence of low-level actions that a TikZ path is converted to as it is being "executed") by analysing the source code, specifically <tex ...
3
votes
1answer
434 views

Compiling thesis returns non-specific “Unused Global Option(s)” Error

I'm compiling my thesis, and the same error is constantly returned: It's frustrating as in all the other forum posts I have found, the error has referred to a specific thing (such as: Unused global ...
1
vote
1answer
288 views

How to cause TikZ's 'sharp/rounded corners' options to apply immediately?

Consider the following LaTeX manuscript (the TikZ code is copied from the first example on p. 146 of the TikZ & PGF Manual for Version 3.0.1a): \documentclass[tikz]{standalone} \begin{document} \...
1
vote
4answers
302 views

How can I auto-equalize the width of columns whose contents are similar?

Assume that we have a table and we want LaTeX to automatically determine its columns' width provided that column widths are equal. Such a problem can be solved by defining a new column type as follows:...
1
vote
1answer
85 views

Discussion on several options for the document

I have the boon and bane of the freedom on choosing between several options, sometimes just for the printed version of my generated document. As I already googled around, there are many opposed ...
4
votes
1answer
284 views

How to unset option to Verbatim environment

I am using the fancyvrb package to be able to have formatting (e.g., bold, color, etc.) in my verbatim environments. This is easy enough to do by giving the commandchars option as seen in this MWE: ...
6
votes
1answer
78 views

Allow for leading space in use of pgfkeys

pgfkeys seems to have no problem with leading spaces. For instance, adapting the solution from How to create a command with key values?, I can define a key text= as follows: \pgfkeys{ % <-- NOTE: ...
1
vote
1answer
838 views

How to set the options for the endfloat package, when you have to put several packages together in one usepackage{…}?

I tried something like this: Move tables to appendix to move tables and figures to the appendix. However, longtables remain before the appendix. I solved this, following the manual ftp://ftp.rrzn....
1
vote
1answer
68 views

Why are tags missing in alignment sublevels?

I would like to have integer tags all the way on the right hand side of each equation line. I also need multiple alignment(horizontal) levels. Attempt 01: Michelle Krummel's Lists tutorial \begin{...
2
votes
1answer
168 views

csvsimple - import only certain columns

\begin{figure} \csvautobooktabular[]{csvs/some-ttests.csv} \end{figure} This produces way too large a table (cut off on the left side), so I want to split it up into multiple tabulars, one for ...
1
vote
1answer
28 views

Including different sections of text based on different configuration

I'm writing a document in which will eventually be broken into different versions of different length. Most of the differences will just be which material is included in different versions. Is there ...
0
votes
0answers
28 views

Not inserting missing $ [duplicate]

Quite often, when making simple mistakes (like using underscore outside of math mode), LaTeX (or rather tex?) attempts to insert missing math mode delimiters. e.g. in \documentclass{standalone} \...
2
votes
1answer
207 views

Declare bibliography option ending on biblatex

Greetings from the Swiss Alps, I would like to submit the following problem: My intention is to create a new bibliography option which I can toggle at wish while loading the package biblatex-swiss-...
4
votes
1answer
652 views

How to set options for specific packages in LyX? Or, what does \geometry{} mean?

There have been a few questions here on how to pass options to packages in LyX, especially those loaded automagically. Lyx: How to add option to package automatically load Can I change options of ...
9
votes
1answer
306 views

Declare option other than documentclass

I I have a usrdefn.tex file in which I defined some commends/environments used a lot, also there are two version of theorem environments based on the language (english/chinese). Then I want to pass an ...
3
votes
2answers
267 views

Multiple Environment Options

How does the tikzpicture environment support multiple options, e.g. \begin{tikzpicture}[red, thick] ... \end{tikzpicture}? According to some LaTeX documentation, multiple options are not permissible ...
1
vote
0answers
84 views

Is it necessary to use nonstopmode in ConTeXt? [closed]

Is it necessary to use --nonstopmode in ConTeXt or using --once is enough ?
1
vote
0answers
431 views

TeXMaker - automatically show structure fully opened in PDF

When i use the "PDFLaTeX"-tool and click "show PDF", TeXMaker always shows me the structure where i only see the chapters. Is there a way of setting a preference to open all chapters, sections and ...
4
votes
1answer
168 views

Changing biblatex's sorting within the document

I am using multiple refsections in my document and I need to sort the respective bibliographies differently. E.g., let's say I want one refsection to be as \usepackage[backend=biber,bibencoding=utf8,...
10
votes
4answers
3k views

\newcommand with options

My question is about declaring a "newcommand" with an option. I have defined \newcommand{\bforall}[2]{\forall #1\, (#2)} so that $\bforall{x}{x \in A}$ writes $\forall x (x \in A)$. I would like ...
0
votes
2answers
436 views

TexCount: Error using envir in an external options file

I am struggling with adding parsing rules to TexCount in an external options file. I am running TexCount as follows: texcount -sub -html -stat -inc -v3 -opt=tcrules master.tex > count.html The ...
0
votes
0answers
109 views

Global option to turn on/off section numbering [duplicate]

Suppose I want to change from numbering my \sections, \subsections, and so on to not numbering them. As far as I know, the only way is to manually change (e.g.) \section{Foo} to \section*{Foo} and so ...
2
votes
1answer
560 views

gnuplottex not recognizing options

I want to use gnuplottex to draw graphs in a LaTeX document. The problem is, gnuplottex doesn't accept any options. A mwe would be like \documentclass[a4paper,11pt,titlepage,twoside,openright,toc=...
3
votes
1answer
619 views

Label in \frame options, disable allowframebreaks in beamer

The \includeonlyframe{...} does not work, when allowframebreaks is used together with label in \frame options. When removing label, it works fine. See MWE: \documentclass{beamer} \includeonlyframes{...
1
vote
0answers
62 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 ...
3
votes
0answers
405 views

feynmp-auto and --output-directory=build not possible?

I really like the automisation by feynmp-auto, but I also want to keep my working directory clean, especially in git repos. So I always use --output-directory=build when compiling documents. However ...
6
votes
1answer
331 views

Remember an class option with newcommand and CurrentOption

I'm trying to make a class but it needs to remember its arguments I'm using the file \documentclass[x]{test} \begin{document} \end{document} With the class \NeedsTeXFormat{LaTeX2e} \ProvidesClass{...