{packages} is about packages in general, e.g. about choosing, installing or using packages. For questions about writing packages, choose {package-writing} instead. If your question concerns a specific package, choose its name as tag. For {document-classes} or {templates} use the respective tag.

learn more… | top users | synonyms (2)

2
votes
1answer
1k views

Did I install a package successfully?

On my Ubuntu system, I have already installed texlive-full under /usr/share from long time ago. I just tried a simple example with \usepackage{tikz} and it did work fine. Later, I added \...
5
votes
3answers
459 views

Package parameters should depend on the build environment

I'm working on the same TeX file (it's in a git repository) at different places. However, these different places have different versions of LaTeX installed. At work, I need these headers: \...
7
votes
2answers
472 views

Is there a package to pull out Answer Keys from Exercises to the last page? [duplicate]

Possible Duplicate: How can I produce exercises in one part of a LaTeX document with selected answers in another? I am writing a book containing exercises for the readers. To ease writing ...
37
votes
3answers
3k views

Is hyperref really the best way to add metadata to a TeX file?

So I know one of hyperref's features is that it can add metadata to you PDFs. This is a nice feature and if you're putting stuff online, it's good to include metadata. But is the hyperref package ...
7
votes
2answers
1k views

Are ae and aeguill only needed when using CM fonts?

I am using the memoir class with the option extrafontsizes so as I understood this uses the LM fonts and at the same time set the T1 encoding. If this is correct, are the packages ae and aeguill ...
16
votes
3answers
6k views

Is there a way to use a document class/package from another folder?

I am building a document class and a set of packages to be used as templates for various documents. I'd like to aviod having to copy those over to another folder every time I use them, but I'd also ...
7
votes
1answer
409 views

Incompatibility between memoir and pdfpages ?

I am including a single pdf page (the title of my thesis) with the package pdfpages : \begin{document} \includepdf{title.pdf} ... But since I switched from report to memoir the page is ...
4
votes
2answers
151 views

Induce silent failure

I've included a package in my tex file which requires a download from CTAN, so it's freely available just not in the default tex install. I'm distributing my tex file, and would either like pdftex to ...
71
votes
3answers
9k views

Theorem packages: which to use, which conflict?

As far as I know, one can create theorem environments using any of amsthm, ntheorem, thmtools and probably more. How should I define my theorem environments? Is one package clearly superior? Which ...
16
votes
3answers
1k views

Reference about “modern” LaTeX usage for scientific works

I am looking for a reference (book, free pdf, website) that would summarize the working of "modern" LaTeX for scientific works (I'm writing my master thesis). I know and have been using LaTeX for ...
15
votes
3answers
7k views

Survey or questionnaire document class or package?

I like to create surveys and questionnaires, what would be a good \documentclass or package to use?
7
votes
1answer
3k views

Why do I get an error “Too many }'s” when using package doublespace?

When I use pdfLaTeX to compile this document: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{doublespace} \usepackage{todonotes} \begin{document} \begin{figure} \includegraphics[...
6
votes
3answers
4k views

What LaTeX Lab packages use expl3?

I am trying to migrate documents to http://latexlab.org, but they won't compile because they require expl3.sty. Yesterday I started by uploading all of the expl3 sty files but then latex demanded even ...
14
votes
1answer
1k views

How to patch a package

I have a document that uses symbols both from the marvosym package as well as the eurosym package. There are two commands that clash and I get an error message (due to \newcommand being used and ...
15
votes
2answers
3k views

How do I declare an option that takes an input value?

I know I can declare and execute an option for my package using \DeclareOption{myoption}{\typeout{I did it!}} \ProcessOptions but now I'd like to give the option a value: \DeclareOption{type}{\...
18
votes
5answers
27k views

How to install a latex package in MacOS TeXLive?

I just downloaded cyrillic package into a temp directory and executed: sudo latex cyrlatex.ins It works, but it produces a few dozen files in the same directory. How to place them into my TeXLive ...
6
votes
1answer
2k views

What is the minimum distribution for LaTeX

I am using LaTeX to document a system I am developing. The system is itself a development environment which will be generating documentation. What is the minimum distribution I need to include in my ...
10
votes
3answers
2k views

How to use \bigtimes without pain

I've been fighting with mathabx lately and it's not really worth my time, so I tried switching to MnSymbol which also modifies some of my regular symbols. Is the best solution just to make my own ...
9
votes
1answer
1k views

Package to indent and syntax highlight C++ code

I am looking for a package to have an environment for C++ source code, with options for syntax highlighting, automatic indentation, proper multipage behavior, etc. I read something about the listings ...
6
votes
2answers
882 views

I'm not managing to download from CTAN. How can I select the mirror I use?

Yesterday I was stumped while not managing to download any package from CTAN. While I could navigate and browse the directories, any time I selected a file to download the request would time-out. A ...
7
votes
0answers
346 views

What's the right order when loading packages? [duplicate]

Possible Duplicate: Non-commutative packages I remember reading in some reference guide that the order of loading packages with \usepackage in principle doesn't matter. Real life, however, has ...
23
votes
2answers
7k views

How to type a Backus-Naur form in LaTeX

I need to type Backus-Naur form in LaTeX document. I found several packages on CTAN: ebnf seems to not work with TeXLive 2009 latex-bnf does not align the declaration, etc. There is a module for ...
7
votes
1answer
397 views

How do I keep cross-references across several documents accurate?

This is a follow-up to my question about quality system documentation management. That question evolved to a different question and Charles suggested to ask a new one, so I'll just quote it here. ...
5
votes
2answers
728 views

What LaTeX packages are available for ISO quality system documentation?

I wonder if there are any use cases of TeX/LaTeX for ISO quality system documentation. I understand that the basic classes would suffice for logical document structuring, but I'm just wondering if ...
-1
votes
1answer
531 views

How to use the .sty file on a webpage

There are webpages that contains .sty text file. Does anyone know how to use it? Thanks for any helpful answers.
3
votes
2answers
469 views

Fine tuning the ccfonts package

A little background the package ccfonts does not have any bold characters hence when you use it it loads the computer modern bold. Now there is an option for this package: "boldsans" when it uses a ...
6
votes
2answers
10k views

Automatic missing package download on the Mac

Is there a LaTeX distribution for the Mac which has or comes close to MiKTeX's ability to download missing packages automatically?
83
votes
6answers
4k views

How to keep up with packages and know which ones are obsolete?

I'm an on and off user of LaTeX so I'm not familiar with every package out there. Having said that, whenever I use LaTeX and need to accomplish a certain goal (i.e. generate a list of appendices), I ...
25
votes
5answers
676 views

How to find a package name by a command name?

Often I'm trying to use a command in my document and it doesn't compile, because I haven't included the package I need for it. Of course, I know, that I can try to google it, but Google often finds ...
40
votes
4answers
37k views

Smileys in LaTeX

I would like to include smileys in my LaTeX document. Is there any package with lots of different smileys? In mnsymbol and wasysym, I found some general symbols: \documentclass{article} \usepackage{...
0
votes
0answers
145 views

Conditionally include a package [duplicate]

Possible Duplicate: Passing parameters to a document Is it possible to include a package conditionally depending on the value of a variable defined outside the document/preamble. For example, ...
14
votes
1answer
2k views

Typeset a dialogue?

I need to typeset a dialogue in LaTeX, it's for a translation assignment. The original dialogue does something like this: - I found it, I told him. My finger was in the book, where George Best's ...
11
votes
2answers
2k views

Correct way to distribute/embed an image in a LaTeX package/document?

I am creating a new document class that needs to render an image (e.g., a logo) on the title page. What is the correct way to distribute image with the class? Should the image file be distributed ...
20
votes
3answers
2k views

What are good packages for laying out a play?

I'm formatting a play as a LaTeX book. Is there any particular package the is best for laying out books like this (aside from the LaTeX-book class)? I'm wondering if there are any examples of ...
31
votes
5answers
2k views

Which packages can you use to improve the typographic quality?

List here which packages can be used to make text easier to read and nicer to look at. After all, the superior typographic quality is one of the main reasons to prefer LaTeX to, for example, MS Word.
4
votes
1answer
684 views

Installing chemstyle package with OSX

I used the (awesome) chemstyle bundle to write several theses on my old PC (with MiKTeX), and would like to continue using it with my new mac (OSX). I think I've managed to install it okay at the ...
55
votes
2answers
3k views

Packages that need to be included in a specific order

This isn't a real question, so I'm marking it community wiki. When I was new to LaTeX, I thought that the \usepackage command worked much like the #include command of the C language: just put ...
139
votes
3answers
34k views

Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX

Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (inputenc, fontenc, babel) and a bunch of other ...
21
votes
2answers
2k views

Should the fontenc package be loaded before or after font packages?

I seem to recall reading somewhere that fontenc should be loaded either before or after the packages loading fonts, but I cannot remember which. I don't see differences between loading it before and ...
20
votes
4answers
2k views

Possible conflicts with fixltx2e?

I only recently came across the fixltx2e package. Given that it patches aspects of LaTeX, my spidey-sense begins to tingle out of a concern for possible package conflicts. Are there known conflicts? ...
7
votes
5answers
6k views

MinionPro on Mac OS X

Has anyone been able to install the MinionPro package on OS X? I usually install (and update) TeX Live through MacPorts and the first package I have ever found that wasn't already included is ...
1
vote
0answers
566 views

How can I install MiKTeX packages that are not found in the Package Manager? [duplicate]

Possible Duplicate: How can I manually install a package on MikTex (Windows) I am new to LaTeX and looking to convert my undergraduate thesis to LaTeX format for practice. This community wiki ...
11
votes
2answers
329 views

Is it faster to load packages together or not?

I would like to know that which one of the following commands is faster in running? ‎‎\usepackage{A,B,C,...}‎ or ‎\usepackage{A}‎ ‎\usepackage{B}‎ ‎\usepackage{C}‎ ... Thanks
33
votes
5answers
3k views

Data structures for TeX

I often find myself wanting to use standard data structures in TeX. For example, lists or maps. Each time this need comes up, I reinvent the wheel. For some reason, I find myself using stacks fairly ...
8
votes
3answers
234 views

Installing several versions of a package

Sometimes it would be convenient to have several versions of a package installed at once. For example I’d like to have a development version of TikZ for my own work and the current stable version to ...
144
votes
5answers
294k views

How can I manually install a package on MiKTeX (Windows)

I'm new to LaTeX, investigating using it for some work projects. I'm using MiKTeX on Windows. My employer's locked-down network blocks the application's automatic installation function. I can take ...
50
votes
6answers
11k views

What are benefits of e-TeX for LaTeX users?

The etex package provides an interface to e-TeX features. What advantages does it offer to LaTeX users? Are there any possible disadvantages like incompatibility to any other package or can I just ...
9
votes
1answer
5k views

Installing new packages from ctan through command line or AUCTeX on Mac OS?

I've needed a few new packages for some macros to draw diagrams that I'm working with. I've heard that some LaTeX editors can automatically download the correct packages from CTAN when they're not ...
153
votes
11answers
15k views

Which packages should be loaded after hyperref instead of before?

The hyperref documentation says: "Make sure it comes last of your loaded packages". The reason is that it redefines many LaTeX commands. It's a rule of thumb that helps to avoid errors. However, ...
16
votes
2answers
413 views

What is the quickest way to check whether I already have a given package?

What is the quickest way to check (on Linux) whether I already have a given package? In particular I'm interested in whether there is something that will take less time than the 20 seconds or so it ...