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

22
votes
1answer
679 views

Document Layout Styles

I am inviting partial solutions for defining styles for document layouts. The solutions should be capable of defining the font size, leading (interline distance), and type for the running text as well ...
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 ...
21
votes
2answers
3k views

draw colored world/US map in LaTeX

I'm trying to draw maps similar to these in a LaTeX pdf document: I want to auto-generate them from a list of pairs (country,color) to determine the colors. I have found the package pst-map2dII ...
21
votes
3answers
2k views

Should one cite a LaTeX package in a scientific publication?

R world has the convention of citing heavily used packages in a scientific publication (see for example this). You can get the reference to be used with citation() command. For example: citation("...
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 ...
21
votes
2answers
4k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
21
votes
4answers
5k views

What table tools/packages do you use?

Making tables in LaTeX can be painful. All you need is a semi complex table with cells that have to span multiple rows/columns. What tools do you use to get around this complexity? Tabular? Tabularx? ...
21
votes
3answers
7k views

What is the preferable setup for MiKTeX to keep all packages up-to-date easily?

By default, MiKTeX is set up for all users to the folder C:\Program Files\MiKTeX 2.9 However, packages added on-the-fly go to the folder C:\Users\CurrentUser\AppData\Roaming\MiKTeX\2.9 (in case of ...
21
votes
1answer
8k views

Why does amsmath print a warning about a foreign command?

I was wondering what was the cause of the following warning message with the specific \usepackage used below: Using the following: Preamble \documentclass[amssymb,twocolumn,aps]{revtex4} \...
21
votes
4answers
8k views

Good method for typesetting meeting minutes?

Can anyone suggest a good way of formatting minutes from business meetings? [Update:] I'm particularly looking for an easy way to have an 'action items' column at the right side, and possibly a left-...
21
votes
4answers
4k views

Typesetting a poem book for manual binding

I would like to typeset a poem book, which I am planning to print then stitch and bind manually. My requirements are: The book should be printed on A4 paper, with two A5 pages on each side. It ...
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 ...
21
votes
1answer
268 views

Should packages on CTAN be widely applicable?

I have a couple 'packages' (more appropriately called styles) that I'd like to painlessly distribute to my classmates. The most straightforward way to do this is via CTAN, but I'm not sure if it is ...
21
votes
1answer
909 views

Does anyone know if there is a LaTeX package for writing in steno?

I am currently studying realtime stenography, and in making my own review materials, I have come to a point where it would be VERY useful to use LaTeX to typeset in the particular typographic style ...
20
votes
4answers
608 views

Creating a class file vs using packages

In my limited LaTeX experience, I've always found that I can accomplish what I want by just using the relevant set of packages, even for more complex formatting. If I were to try and create a ...
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 ...
20
votes
3answers
1k views

Customizing LaTeX - create a document class or a package?

Are there general rules for when to create a document class vs. creating a package to customize LaTeX? Does one have benefits over the other? My specific need is to create a customized page layout, ...
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? ...
20
votes
1answer
547 views

What packages does beamer load automatically?

I just learned that beamer loads amsmath and graphicx packages automatically, what other packages does it load?
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&#...
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 ...
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 ...
20
votes
1answer
337 views

Defining multiple shorthands quickly

Most of the bloated preambles I see have dozens of lines like \newcommand{\Acal}{\mathcal{A}} \newcommand{\Bcal}{\mathcal{B}} %... \newcommand{\Gcal}{\mathcal{G}} While I can easily code a macro to ...
19
votes
2answers
560 views

Different package manager: Why? [closed]

I was wondering why do we need different package managers in TeXLive and MiKTex? Would it not be better and less work for both authors if there was a common approach and even other persons taking ...
19
votes
4answers
72k 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 ...
19
votes
1answer
250 views

The origin of filecontents

Does anyone know why the filecontents environment was introduced? What is the purpose of packing it all in one file, but without using a tarball?
18
votes
5answers
2k views

Comprehensive List of LaTeX Packages

I am fairly new to LaTeX and am really struggling with finding the right packages for my document. Is there a resource for 1) looking up the package (e.g. \graphicx) and finding out what it does and ...
18
votes
4answers
2k views

LaTeX “under construction”, “in work” or “work in progress” symbols

Are there "under construction", "in work" or "work in progress" symbols in one of the LaTeX symbol packages? Something like this (google search link). I have tried detexity, but could not find an ...
18
votes
4answers
940 views

Domino tile images LaTeX

Is there a LaTeX package that will allow me to draw domino tiles without having to draw each one separately in tikz?
18
votes
4answers
1k views

Editing the package

I didn't find anything about this issue, but if I missed something, please point me to it. The documentation on the ctan.org site is usually about how to use the packages in a LaTeX document, but ...
18
votes
5answers
19k views

problems installing mathtools

There have been a few questions regarding installing this package in the past, but they now seem to be out of date. I'm using MiKTeX 2.9 and TexMaker. When I try \usepackage{mathtools} in TexMaker it ...
18
votes
2answers
237 views

Pretending a package has been loaded

I am trying to use imakeidx and the regexpatch package in the same class. Since imakeidx depends on the xpatch package and xpatch provides the same commands (same names, improved implementation) as ...
18
votes
2answers
14k views

Conflict between amsthm and some other package

This is the preamble to a book I'm editing: \usepackage{amsmath} \usepackage{amssymb} \usepackage{xspace} \usepackage{proof} \usepackage{url} \usepackage{xy} \xyoption{all} \usepackage{amsthm} \...
18
votes
3answers
300 views

Is there a package that can automatically sort items based on tags?

For example, I write a problem booklet with a ton of problems. I don't want to use a database. In the input file, I write as follows. \pro{geometry} Find the area of ... \endpro \pro{trigonometry} ...
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/...
18
votes
5answers
26k 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 ...
18
votes
2answers
986 views

Applying options to already loaded package

Is there a way to apply some options to a package which is loaded in the cls file I am using? For instance, suppose that the cls file loads graphicx, and I want to apply the option demo to it from my ...
18
votes
1answer
44k views

How do I install CTAN packages on Mac OS with TexShop?

I run TexShop on my Mac OS 10.6. I'd like to install new packages like this: http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ How do I install it? I've downloaded the zip file.
18
votes
2answers
533 views

Load package after other package with \AfterPackage

I want to group packages together (in the real document, I load many more packages) and want to solve the sorting of the packages with commands like \AfterPackage from KOMA-Script. I am using this ...
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 ...
18
votes
3answers
923 views

Using indexing packages with memoir

Friends, as you probably know, I have a quite complex document for cataloging songs. :) As my normal workflow, I use the book document class with some dozens of packages loaded. I've been playing ...
18
votes
3answers
1k views

what TeX package(s) should I use for a Church Bulletin

I create Sunday Bulletins (aka service leaflets) for an Episcopal Church each week. Currently, I use the MS Publisher (PITA) I also do some web design using Ruby. While a physics undergrad, I ...
18
votes
1answer
5k views

Strikeout - when which package ? ( ulem vs soul vs …)

When to use which package for strikeout? I see answers : \usepackage{ulem} \sout{Hello World} or \usepackage{soul} \st{Hello world} or \usepackage{cancel} \cancel{Hello world} In what ...
18
votes
2answers
438 views

Best practice of (technically) preparing files (on Windows systems) for CTAN

Similar questions were asked before but I did not found one for the recently discovered problem. What I want to do is uploading a package to CTAN which is in good technical shape. I did this before ...
18
votes
1answer
984 views

Is there any package for LaTeX dealing with a database?

Is there any package for LaTeX dealing with a database (with some of the fields being LaTeX code). For example, given a collection of problems with fields {id, name, author, refs, statement, solution,...
17
votes
2answers
458 views

What to do with 237 eps files?

I have some 237 .eps files that represent the printer's ornaments from the small press The Underground Grammarian. I would like to build and provide (to CTAN) a package similar to the pgfornament ...
17
votes
1answer
903 views

Find out which packages are used

I have written a LaTeX Document and it compiles fine on my machine, but now I would like to give the sources to someone else. Is there a quick way to list all the packages that have been used for ...
17
votes
1answer
60k views

How to install new packages on Texmaker on Ubuntu?

How do I install new packages on Texmaker? I use Ubuntu 10.04 LTS.
17
votes
1answer
3k views

Multivariate polynomial long division using LaTeX

How do I typeset polynomial long division using multiple variables in LaTeX? I am hoping to be able to do polynomial long division using 2 or more divisors. Currently, the packages I am using are: \...
17
votes
1answer
1k views

LuaLaTeX: use or don't use classical font packages?

In the lualatex-doc I am reading under "switching from LaTeX to LuaLaTeX": Don’t load inputenc, just encode your source in UTF-8. Don’t load fontenc, but load fontspec. Don’t use any package that ...