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

9
votes
1answer
1k 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 ...
22
votes
3answers
1k 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 ...
5
votes
1answer
1k 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 ...
20
votes
3answers
2k 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 ...
61
votes
9answers
4k 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 ...
36
votes
3answers
9k 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 ...
38
votes
2answers
5k 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} ...
15
votes
1answer
373 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 ...
20
votes
1answer
3k views

Package for typesetting Feynman diagrams (efficiency of `feynmp` and `tikz`)

Is there any good package for typesetting lots of Feynman diagrams? My question arise because Feynmp: Circle with three vertices lead me take a look at the documentation for the feynmf/feynmp ...
17
votes
3answers
1k 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 ...
17
votes
2answers
4k 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} ...
12
votes
2answers
875 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 ...
10
votes
3answers
2k views

Adding a CTAN package to a MacPorts-maintained TeX installation

I have installed TeXlive through MacPorts and now discover that I am missing some package. For clarity let's use a trivial example and say I am missing lipsum.sty. I now have two options: Option 1 ...
27
votes
2answers
933 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.
5
votes
1answer
3k 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: ...
5
votes
2answers
311 views

How can I ignore everything except a specified environment?

In other words, I'd like to have the comment environment of the verbatim package "inverted". I am pretty sure I read about some package allowing this some time ago, but I can't recall its name (nor ...
3
votes
2answers
4k 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/)?
7
votes
1answer
2k views

how to use MnSymbol along with other packages

I'm writing a file about algebraic topology, which means that I need all sorts of mathematical symbols, along with many various packages. I tried to use MnSymbol for its various arrows, only to find ...
4
votes
1answer
1k 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 ...
56
votes
2answers
1k views

Detecting unused packages in LaTeX document

I have quite a bad habit of copy-and-pasting my packages from one LaTeX document to another. Is there any way we can detect unused packages (i.e. \usepackage commands) so that they can be removed from ...
36
votes
5answers
4k views

What package supports this kind of timeline?

I found some examples of timelines on the site, but they don't seem fit for the type of graph I want to create. Basically I'd like to create one of those timelines you see in books, where you compare ...
36
votes
2answers
7k 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 ...
38
votes
6answers
7k 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 ...
19
votes
1answer
1k 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 ...
12
votes
3answers
6k 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. ...
27
votes
1answer
257 views

Best practice for fixing a clash between packages without altering the .sty files?

Here is another casualty of TeX's flat namespace and another reason to start using LaTeX3... I noticed today that the algorithm2e and keystroke packages clash. More specifically, they both define a ...
23
votes
3answers
10k 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} ...
14
votes
2answers
962 views

Package options and \RequirePackage: order of commands and option conflicts?

How do the options of a \RequirePackage command interact with options specified for that same package elsewhere? Here is an example: The pdfx package, if loaded with the a-1b-option, executes the ...
22
votes
4answers
7k 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?
11
votes
1answer
393 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.)
9
votes
3answers
2k 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?
8
votes
1answer
1k views

Is there a LaTeX package for conference event programs?

I'm helping to organize a symposium, and I'd like to generate the event programs with LaTeX. Is there an appropriate package for this, or should I do it by hand? Thanks in advance!
6
votes
4answers
1k views

Comparison of plotting packages

I was wondering what some differences and relation between common plotting packages/environment: picture environment PGF/TikZ PSTricks and some others that are also common but I don't know yet ...
16
votes
2answers
885 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 ...
5
votes
1answer
456 views

Installing ornaments

I am trying to install the Ornaments package: http://altermundus.com/pages/downloads/packages/pgfornament/ I am using a Mac with MacTeX 2012. I have followed the instructions in the package ReadMe ...
12
votes
2answers
7k 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 ...
11
votes
1answer
328 views

Which packages/practices are relevant for writing Structured Derivations? (similar to Dijkstra's calculational style of proofs)

Does anyone know of any packages that support this style of writing proofs? The only things that I've found are: tex-ewd, a bunch of plain TeX macros on CTAN written specifically with Dijkstra in ...
8
votes
2answers
2k views

Inconsolata missing after MiKTeX update

I just ran the MiKTeX Updater and there was an update for Inconsolata. I also refreshed the FNDB and it is listed as installed in the Package Manager, but when I try to compile my documents that have ...
7
votes
3answers
1k views

LaTeX command with optional arguments

While writing lecture notes from statistical physics I found out, that I am often writing very similar long LaTeX sequences like \frac{\partial }{\partial <foo>} \frac{\partial ...
5
votes
2answers
4k views

How can I install uarial.sty on a mac?

I'm using TexShop (2.43 on 10.6) to manage LaTeX, but have the following error: ! LaTeX Error: File 'uarial.sty' not found. I tried to use the approach in this question with \usepackage{listings} ...
20
votes
4answers
1k 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? ...
10
votes
3answers
2k 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 ...
9
votes
2answers
523 views

What are good packages / techniques for writing more readable LaTeX *code*?

A while ago I stumbled upon the semantic package --- its 'math ligatures' feature in particular --- and the whole way in which I write math-code in LaTeX changed. Instead of \[ \sem{\sigma}_s^x ...
7
votes
1answer
4k views

How can I change the package repository?

The package repository shows that the packages can be installed from internet. But I need it to be installed from random package repository. How can I change it Please help me
5
votes
1answer
7k views

Error in TeX Live – Font … not loadable: Metric (TFM) file not found

I freshly installed 'basic' version of TeX Live 2012 (not full, only basic version). I have following line in my code: \usepackage[T1]{fontenc} I get following error: ...
5
votes
1answer
995 views

Defining a custom ‘wrapfig’ environment

[ This is an updated version of http://stackoverflow.com/questions/3233031/latex-defining-a-custom-wrapfig-environment ] The wrapfig package interacts badly with the setup and teardown done by \begin ...
63
votes
12answers
3k views

Reducing the time it takes to write a paper

I often have situations in which I must quickly write and print a report, within a short time. Some features of TeX allow me to work quickly. For example, with BibTeX, I can quickly add a source to an ...
28
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.
31
votes
5answers
2k 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 ...
33
votes
4answers
5k 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 ...