Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
165 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
21 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? ...
2
votes
0answers
32 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
33 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
42 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
143 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
148 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
77 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
101 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
116 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
693 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
491 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. ...
2
votes
1answer
4k 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
743 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
1k 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
150 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 ...
13
votes
1answer
4k 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
409 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
795 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
123 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
133 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
576 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
548 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
733 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
989 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
296 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
335 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 ...