The options tag has no wiki summary.
3
votes
1answer
60 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.
...
0
votes
0answers
57 views
Disabling autosave on quit? TeXstudio [closed]
I'm a new user of this program, and I'm sure there is an easy way to do this, but I can't figure it out.
When I close TeXstudio, it's automatically saving my file without asking me. Can I disable ...
4
votes
2answers
95 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
142 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.
...
-1
votes
1answer
150 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
2answers
358 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 ...
1
vote
3answers
192 views
ifpackageloaded question
why when i comment \usepackage{geometry} i get error?
\documentclass{book}
\usepackage{geometry}
\makeatletter
\@ifpackageloaded{geometry}
{ % i the package was ...
6
votes
1answer
791 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 ...
12
votes
1answer
134 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 ...
9
votes
1answer
1k 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 ...
9
votes
3answers
311 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
8
votes
3answers
1k 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 ...
14
votes
4answers
1k 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 ...
4
votes
2answers
343 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
99 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}}
...
7
votes
3answers
553 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 ...
1
vote
2answers
127 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 ...
3
votes
1answer
372 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 ...
7
votes
3answers
299 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
...
2
votes
1answer
502 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 ...
5
votes
2answers
425 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
633 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
229 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 ...