The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
33 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} ...
0
votes
0answers
26 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
0answers
42 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 ...
7
votes
1answer
70 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} ...
5
votes
1answer
163 views

Conditional compilation of documents using command line options for pdflatex

Is it possible to compile two different pdf outputs from the same .tex file? For example, let's say I have a document main.tex which contains questions for students, and answers only for teachers, ...
0
votes
0answers
33 views

Animate Options label,nomouse,step

it seems that i have some problems with the animate-package. Some of the options from the manual like nomouse, step or label=* are producing errors: Package keyval Error: nomouse undefined I am ...
1
vote
1answer
66 views

Texstudio quick start wizard options managing

My aim was to add some language packages to the quick start wizard. Thus I cliqued the plus symbol of the 'other options' option. Then I was asked to type in this new option: Thinking that it was ...
3
votes
2answers
50 views

Inserting macros mixed with static options

I've been trying on and off for a few days to wrap my head around the following. I want to insert options defined in a macro alongside options statically defined into the option list of another macro. ...
1
vote
2answers
267 views

The text in pdf is not smooth [duplicate]

I am using TeXstudio to edit Latex and create pdf files. The text is not smooth in the pdf files created by TeXstudio in my computer. When I zoom in, it will be But if I use my friend's computer to ...
2
votes
2answers
49 views

Can I configure bibtex.exe to insert the command \interlinepenalty=10000 in the .bbl file?

The following question-answers show a method of avoiding page-breaks in between references: How can I prevent page break between lines of a paragraph or bibliography entry? ...
3
votes
0answers
39 views

Using a switch to pass an option

I created a switch which is defined iff a new geometry should be twosided. Currently, my code looks like this: \ifdefined\@TwosideSwitch% \typeout{SwitchGiven!}% \newgeometry{twoside=true, ...}% ...
2
votes
0answers
39 views

Filtering key-value options

I want to define a new environment whose implementation depends on another environment. The first environment should accept a list of key-value options. Some of these options are for use only on this ...
0
votes
0answers
81 views

What is the kvoptions-patch's equivalent of \@classoptionslist?

For a class I'm working on, I'd like some (babel's) languages to be automatically loaded. This can be achieved thanks to \@classoptionslist: \begin{filecontents*}{myclass.cls} ...
9
votes
2answers
322 views

Question on the syntax of the options of pdflatex, latex, etc.: difference between -shell-escape and --shell-escape?

What is the difference between pdflatex -shell-escape myFile.tex and pdflatex --shell-escape myFile.tex ?
1
vote
0answers
267 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 ...
2
votes
1answer
103 views

Compile with option

On an exact example. Here is the CV template: https://github.com/afriggeri/cv. It says that: there is an print option which renders in black and white And in .cls file there is indeed ...
6
votes
1answer
136 views

Option seemingly ignored

I'm trying to give my custom class file two options for font size, 11pt and 12pt. I want 12pt to be the default. I create the options like this: \DeclareOption{11pt}{ ...
3
votes
1answer
138 views

How do I prevent the beamer class from removing my global options

I'm currently writing a latex package (or actually a beamer theme, but apparently that makes no difference) and I want to be able to specify a few things using key-value pairs in the global options. ...
4
votes
2answers
1k views

Line break (continuation) for commands (options, arguments)

How to do proper line breaking (continuation) for commands, i.e. their options and/or their arguments? For example, in order to transform this: \usepackage[top=1.0cm, bottom=1.0cm, left=1.0cm, ...
5
votes
2answers
636 views

How to hide grid labels without redefining the grid style?

I want to hide the grid labels without redefining the grid style, is it possible? Note: Redefining the grid style only for hiding the grid labels seems to be an overkill solution. ...
4
votes
1answer
6k views

How to run TeX from the command line interface in Linux

Even though I can find this command hiding somewhere on the internet, I though it might be useful to have it up here for the LaTeX community in general. How does one run TeX from the command line ...
2
votes
3answers
916 views

ifpackageloaded question

why when i comment \usepackage{geometry} i get error? \documentclass{book} \usepackage{geometry} \makeatletter \@ifpackageloaded{geometry} { % i the package was ...
2
votes
2answers
2k views

ProcessOptions and ProcessKeyvalOptions

\ProcessOptions and \ProcessKeyvalOptions Which comes first? Does it matter? \ProcessOptions\relax or \ProcessOptions* What's the difference? Apparently for keyval there is only the starred ...
6
votes
1answer
1k views

Styling an “article” document

I'm writing a document using the class article. There are some things I'd like to change, for example: Always center \section and \subsection titles without doing it manually each time using ...
13
votes
1answer
161 views

Does tex know its own command line arguments?

Is it possible to test within the document what commandline arguments were passed to tex? The particular case that prompts this is the question Tabs in output file written by xelatex and pdflatex are ...
2
votes
1answer
2k views

Beamer option definition

Hi I'm building from scratch a new beamer theme. I would like to define an option in the theme where I can define the conference name which can be used afterwards for the footline. Up to now I've done ...
14
votes
1answer
5k views

What is the opposite to “only marks” option in PGFPlots?

For some application I generate a bunch of plots automatically from a script, that means that sometimes I issue contradictory options to pgfplots objects because one is the default (within the ...
11
votes
3answers
419 views

Difference between - and -​- in compiling options

In running MiKTeX What is the difference between -shell=escape and --shell-escape What is the difference between -synctex=1, --synctex=1, and --synctex=-1
14
votes
4answers
2k views

Use MiKTeX option through latexmk

When I use MiKTeX normally, I call this: pdflatex --aux-directory="C:\Users\doncherry\Documents\LaTeX\AUXI_global" foo.tex For latexmk outputting pdf (via pdfLaTeX) with continuous previewing, my ...
7
votes
2answers
883 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
135 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}} ...
1
vote
2answers
137 views

What are the advantages and disadvantages between these coding styles?

Some people use the following style setting { a=1 ,b=2 ,c=3 } and the other ones use the style below setting { a=1, b=2, c=3 } I use the latter style but I wonder ...
7
votes
3answers
1k views

[minimal] option for CV

I've been thinking of implementing an option for my CV where it extracts a set of predefined sections (in a minimal form) and typesets that instead of the entire list of everything I've done in my ...
3
votes
1answer
609 views

Use fleqn with acm_proc?

I would like to use the fleqn option to amsmath package. However, my document class gets in the way: Writing \documentclass[fleqn]{acm_proc_article-sp} I am warned that the global option is ...
9
votes
3answers
2k views

Texify and `--output-directory`

I'd like to tell texify to place compiled output (i.e., .pdf in my case) in the parent directory (I'm using MikTeX 2.8 on Vista32). I run the following: texify --pdf --clean ...
2
votes
1answer
558 views

TikZ option for command or environment

I am learning TikZ. I am wondering where I can find information about options of command or environment. For example, for \draw, you can use \draw[step=0.5], but it also has ...
9
votes
2answers
833 views

How do I detect the options passed to the documentclass from my own style?

In the listings package, they note that "a global \documentclass-option draft is recognized, so you don’t need to repeat it as a package option" I tried looking into its source to see how it ...
4
votes
1answer
1k views

I get an error when using `\ExecuteOptions` together with `\usepackage{geometry}`

I'm writing a custom document class. It's kinda simple, but it will use the geometry package to set page size, orientation and margins. However... Whenever I use that package, the \ExecuteOptions ...
6
votes
1answer
326 views

How can one undefine an already processed class option?

I'm using a class classX that accepts class option optionX. Thus, I can write: \documentclass[optionX]{classX} ... Now, as I understand it, being a class option, after classX processes this ...
7
votes
3answers
336 views

How does one define synonymous options in style/class files?

I want to be able to pass two options to a package (actually, a class) and have them be the same. What's the best way to do this? That is, I want: \documentclass[norsk]{myclass} and ...