{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)

7
votes
1answer
2k views

Including an itemized list within a tabular column using the paralist package

The paralist package offers the option of typesetting an itemized list with a \topsep length of zero, and this is especially useful in a tabular setting. However, the following minimal example does ...
5
votes
4answers
3k views

Verbatim Environment in Figure Caption

verbatim environment is not working in figure caption. Checked How to put \verb command inside of \textbf{} block? and Verbatim inside a command is not working. \documentclass[11pt, double space]{...
63
votes
7answers
7k views

How to add some visual style and pizzazz to course notes?

LaTeX is wonderful for writing mathematical papers, but while the output is perfectly typeset it is not visually very exciting. And although it may just be "familiarity breeds contempt", I am ...
53
votes
2answers
12k views

Using LaTeX to keep a diary

As the title implies, I would like to use LaTeX to keep a personal diary. I've been dumping my entries in a single file which has become unwieldy over time. Ideally I'd find a package (or collection ...
64
votes
2answers
25k views

What does each AMS package do?

In my view, any document with a substantial amount of mathematics should load the packages from AMS-TeX. Hence, most of my document's preambles contain \usepackage{amsmath, amsthm, amssymb, amsfonts} ...
42
votes
3answers
14k views

Most useful additions in KOMA-Script?

(Background: I'm a beginner who will mostly use LaTeX for university articles and reports, but no math. Also, as I reside in Canada, the German typography conventions, which I understand KOMA-Script ...
28
votes
3answers
14k views

Which package can be used to write BNF grammars?

I googled and found two packages: mdwtools bnf Unfortunately, both of them have extremely poor documentation. There are only one to two examples for each one, which makes it hard to follow. ...
39
votes
4answers
36k 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{...
22
votes
5answers
1k views

Using KOMA-Script packages with other classes

When speaking of KOMA-Script most people will refer to its classes scrbook, scrreprt, scrartcl and perhaps scrlttr2. But not everyone will know, that part of the bundle are also some packages, that ...
20
votes
9answers
6k views

Is there a way to get two pages in one with LaTeX?

I would like to have my document compiled with two pages in one using LaTeX, like what you see when you choose to print two pages in one. As my pages are "portrait", I need the page to be shown in ...
69
votes
4answers
4k views

What is CTAN.org now?

Today I clicked in this link in TeX StackExchange http://ctan.org/pkg/svg and I got this message (screenshot below). In particular, what does it mean that "Latex Productions International has ...
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 ...
18
votes
2answers
1k views

Conditional “if a package is available”

I'd like to do something like the following (in pseudo-TeX) \ifpackageavailable{packagefoo} \usefoo \else \usefooreplacement \fi For example, I know that a template file I wrote is used by people ...
13
votes
1answer
49k views

MikTeX 2.9, install packages on the fly?

I set the Install Packages on the Fly setting to Yes and try to compile my document in Texmaker, but I still get the error File [...] not found, where [...] is the package I need. Basically, I need to ...
9
votes
2answers
11k views

How to install LaTeX .zip package (from CTAN) using texhash on a 'nix system?

Is there an automated script which places files in the relevant directory tree in ~/texmf/ and is that all that is required to install a package (in addition to calling texhash on ~/texmf/)?
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
23
votes
3answers
2k views

Modifying .sty files?

Yesterday I did some changes in the layout of my TeX document. I couldn't accomplish the changes until I opened the .sty files and modified some of their code. I am sure this is not the best idea. For ...
9
votes
1answer
5k views

beamer over miktex 2.9 is not working with math environment

I have this problem where I can't built slide documents with beamer every time I include a math environment as simple as $\mu = A$. The log file posts this message at the end: !pdfTeX error: miktex-...
20
votes
1answer
2k views

What does “You have requested package `foo', but the package provides `foo'.” mean?

I know what this message means in general ("do not add path names in package names"), and my question is not a duplicate of You have requested package `include/foo' but the package provides `foo&#...
5
votes
1answer
549 views

Define path for packages in the LaTeX file (analog of \input@path or \graphicspath for \usepackage)

How to specify path for additional packages in the LaTeX file itself? For graphics, you use \graphicspath{{a}{b}}, and then \includegraphics{file} finds b/file.pdf. EDIT: it should be \graphicspath{{...
89
votes
4answers
4k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: \RequirePackage[l2tabu,...
79
votes
11answers
9k views

Are there other “fun” packages like the “coffee stains” package?

I'm trying to convert some friends to LaTeX and have come up against a (to me) unexpected objection: there are too few packages that support "fun" (really), to which I responded: I know there are ...
40
votes
3answers
3k views

Nicely force 66 characters per line

I would like to have "something" (a package, a trick, a macro, ...?) that makes it possible for me to nicely play with the margins (or the layout) in order to set the average or typical number of ...
36
votes
1answer
34k views

Gantt chart package

I need a package to draw a Gantt chart in LaTeX, the primary criteria is just: ease of use. I am spending too much time learning "packages" here and there, this just needs to get a simple job done. I ...
35
votes
6answers
8k views

What is the best package out there to typeset proof trees?

So, I want to typeset some proof trees, i.e. trees of inference rules like those in natural deduction (see diagram below). Which are the best packages that you have found that allow you to do this, ...
24
votes
1answer
3k views

How to install a package from an older version of TeXLive?

I am using TeXLive 2010. I wanted to try xelatex for better unicode support. But I am unable to install these new packages as the TeXLive mirrors have moved on to 2011. tlmgr: package repository http:...
21
votes
1answer
2k views

In which order should I load inputenc and fontenc?

When I’m using pdfLaTeX, my preamble usually contains \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} Should these two be loaded in any particular order? What problems could arise if ...
12
votes
1answer
691 views

Loading a package conditionally

Is it possible to load some package from a .sty file only if some option is selected? (Naive approach \DeclareOption{something}{\RequirePackage{something}} doesn't work.)
16
votes
2answers
2k views

Two conflicting packages in one document — doable?

I have two packages I want to use in the same document. Specifically musixtex and tengwarscript. However they do conflict. Both packages use some of the same commands, obviously for very different ...
20
votes
2answers
17k views

Where is “texmf” on a Windows install?

On UNIX you have the texmf folder in your home directory where you store packages you've installed yourself, but where is that folder on a Windows install? Yeah, I know that if you use MiKTeX then ...
9
votes
1answer
2k views

Decimal Long Division

Does anyone know of a package or macro that handles decimal long division? For example, I want to convert 3/8 to a decimal and show all of the steps. I found a macro for longdiv that works great for ...
7
votes
2answers
182 views

Is there a way to create a standalone folder/document with non standard packages?

I am working on an article which will be compiled on another machines (of somebody else). I don't want to depend on the other person to install missing packages. Is there a way to include them with ...
7
votes
2answers
8k views

Package repository down, how to relocate?

I would like to use the function of TeXnicCenter 1.0, where is automatically downloads missing packages used. The problem is, that the repository it wants to download from does not exist anymore (the ...
4
votes
1answer
21k views

How to fix “LaTeX Error: File `somepackage.sty' not found”?

I am using TeXworks 0.4.5 r1280 with MikTeX 2.9 on Windows 7 64-bit. When I add \usepackage{datetime} and try to typeset the document, I get a dialog window like this: I select "Install", ...
6
votes
1answer
14k views

How to install additional LaTeX packages in Debian/Ubuntu

I just installed texlive-latex-base package from official Ubuntu repo, now I have to add some modules (ucs and utf8x) for compiling .pdf files with Cyrillic encoding, so, how to install it? I found ...
1
vote
1answer
325 views

Packages to install once for all

I just upgraded my Ubuntu from 12.04 to 14.04. Then, I have manually installed tex-common, texlive-base and texlive-latex-recommended. And I realize that some packages do not exist anymore. For ...
45
votes
2answers
19k views

Which package can be used to draw automata?

I'm looking for a LaTeX package which helps drawing automata problems. I googled and found A package for drawing automata and graphs (Version 0.4). But I'm not sure is this package a standard one, or ...
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 ...
37
votes
4answers
8k views

Draw Bohr atomic model with electron shells in TeX?

This question led to a new package: bohr I'm making slides with beamer for my chemistry students. I would like to draw a figure in LaTeX to illustrate the electron shells in the Bohr model but I ...
31
votes
4answers
7k views

Is there a good LaTeX package for generating barcodes?

I'm looking for a good LaTeX package to generate one dimensional barcodes, that has the following properties. It doesn't require any external scripts or internet connection to work. It easily ...
16
votes
1answer
531 views

Sorting preamble packages thematically while accounting for compulsory load orders

Within a document's preamble (or a custom "preamble" package), at times there's the need to take compulsory load orders for certain packages into account. Most packages must be loaded before the ...
16
votes
3answers
395 views

Which packages should I recommend to postgraduates in different academic disciplines?

I'm preparing a list of package recommendations for an intermediate workshop on LaTeX. I avoided providing such a list at the introductory workshop as the tendency is to then add packages without ...
23
votes
1answer
26k views

Subcaption package: compatibility issue

There is a compatibility problem between the CIFA document class and the subcaption package. When I compile the following example (with PDFLaTex): \documentclass{cifa} \usepackage{...
18
votes
4answers
17k views

box around theorem statement

Is there an easy way to put a box around a theorem in LaTeX? For example to state an important theorem. I tried using page 20 of the ntheorem documentation (http://ctan.mackichan.com/macros/latex/...
22
votes
2answers
25k views

Windows Miktex can't find mathtools.sty [duplicate]

When I try to compile my paper I get the following error: ! LaTeX Error: Filemathtools.sty' not found.` Other packages are successfully found and automatically installed, but mathtools.sty is not. I ...
14
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?
13
votes
2answers
2k views

Is there a package to secure rendered pdf with a password?

Is there a package and command that can secure rendered pdf with a password?
9
votes
3answers
2k views

Is there a package to create Optical Mark Reader answer-sheets?

Is there a package to create Optical Mark Reader answer-sheets (aka bubble sheet)? EDIT 1: No choice. I think I must use PSTricks and \multido to make it.
11
votes
1answer
5k views

Unable to connect to repository in MiKTeX 2.9

In MiKTeX 2.9 Package manager, when I'm trying to synchronize it writes me a message: "The remote package repository is not online...", but I'know server is online (I can use FTP to download packages ...
6
votes
1answer
5k views

How to change fonts

I'm sure this is a newbie question, but I can't figure this out. I have tried to follow the advice here: http://en.wikibooks.org/wiki/LaTeX/Fonts and here: http://www.cl.cam.ac.uk/~rf10/pstex/...