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

18
votes
4answers
67k views

*.sty file not found

This question is very similar to a previous post: Where do I place my own .sty files, to make them available to all my .tex files? I am using MiKTeX 2.9 and TeXnicCenter to compose and execute my ...
35
votes
4answers
15k views

Packages: graphics vs graphicx

Different websites suggest using one of those two packages. \usepackage{graphicx} \usepackage{graphics} What are differences between them? Which is better?
34
votes
3answers
4k views

Classes and packages – what's the difference?

Could someone explain the difference between classes and packages? We call prosper a class and amsmath a package. I couldn't find out the difference.
29
votes
2answers
9k views

Option clash with xcolor and TikZ

I want to draw some coloured circles, so I loaded tikz in my preamble. However, now xcolor is telling me that it has an "option clash". How should I fix this? \documentclass{article} ...
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 ...
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 ...
88
votes
4answers
3k 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: ...
63
votes
7answers
6k 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 ...
41
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 ...
59
votes
2answers
23k 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} ...
39
votes
4answers
34k 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} ...
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
45k 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/)?
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
4k 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: ...
7
votes
2answers
7k 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 ...
19
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 ...
5
votes
1answer
475 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 ...
1
vote
1answer
312 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 ...
78
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 ...
39
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 ...
32
votes
5answers
7k 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, ...
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 ...
23
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 ...
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
664 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
16k 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
180 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 ...
4
votes
1answer
18k 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", ...
22
votes
3answers
5k views

Linux Libertine package and fonts not working anymore (fall 2012)

So in the last couple of weeks I've had some issues with the Linux Libertine font and package, both don't seem to work anymore on a completely up-to-date version of MacTeX (which is equivalent to TeX ...
6
votes
1answer
13k 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 ...
5
votes
3answers
195 views

How to get a list of the filenames of the figures embedded in a document

I have a TeX document that is embedding a huge amount of figures from a fig folder that is full of another humongous amount of other figures. I would like to move the document along with its figures, ...
44
votes
2answers
18k 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 ...
16
votes
1answer
520 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 ...
31
votes
4answers
6k 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 ...
15
votes
3answers
374 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
2k views

mix marginnotes with marginpars without overlap

We are trying to put the figure caption as well as the footnotes in the margin and got very good results with the tufte-latex package. However, we have to manually adjust the offset of each sidenote ...
16
votes
4answers
16k 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 ...
22
votes
2answers
24k 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
6k 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?
8
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.