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

13
votes
1answer
772 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 ...
13
votes
2answers
180 views

“!Missing $ inserted.” when using svn $Id$ keyword substitution

I'd like to to surface subversion revision numbers for use in the contents of my document. svninfo and svn packages rely on svn keyword substitution to accomplish this, but I get this error when I ...
13
votes
1answer
181 views

Spotcolor bleeds into the surrounding

This question led to a new package: xspotcolor I have a problem using spotcolor package. When using the package for redefining headers, titles, \emph etc. the color bleeds into the ...
13
votes
3answers
541 views

Where can I find the changelog of TeX Live releases?

I know that TeX Live 2013 is now in beta and that there are already some new packages. I would like to know where the complete changelog will be available, when the new version will be released, and ...
13
votes
2answers
739 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
378 views

Where is the documentation for the nth package

The ctan entry has no documentation and texdoc nth does not find an entry. Any idea where to find documentation for the package options?
13
votes
1answer
2k views

What's the name of this timeline package in LaTeX?

I tried searching through many resources to identify the package that allows to create this type of time lines: but all in vain. Could anyone, please, point in the right direction?
13
votes
2answers
1k views

What's the difference between a class and a style?

What are the actual differences between the two? I am new to LaTeX and I need to create a custom "look & feel" -- should I be looking into making a class or a style?
13
votes
1answer
2k views

How should one maintain and update a MiKTeX installation?

Every once in a while after updating MiKTeX, the installation gets into an inconsistent state. This might be a problem with the packages (an example is described in this question), but sometimes ...
13
votes
2answers
424 views

Is there a simple way to open “.sty” files by something similar to the “texdoc”?

Is there a simple way to open ".sty" files by something similar to the "texdoc"? I'm looking for something like texsty to simply open .sty files.
12
votes
2answers
2k views

Placing items before \documentclass

When looking in books or at sample code, I always see \documentclass appearing first. Is that absolutely necessary? I have created some test code which seems to compile fine: \def\SetClass{article} ...
12
votes
3answers
3k views

How do I find which pgf version I have installed on Windows (MikTeX)?

I'm not sure how to find which version of pgf with MikTeX installed on my computer (Windows 7 - 64 bit).
12
votes
2answers
235 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 ...
12
votes
2answers
12k views

Finding a Ubuntu package for a sty file [duplicate]

Possible Duplicate: How do I install an individual package on a Linux system? I've had this problem for a while now on Ubuntu. Whenever I have a missing .sty file (right now, it's ...
12
votes
2answers
718 views

Is there is a package so you can add text with visual effects like “WordArt” from “Word”

I am elaborating a business card style for LaTeX but I found out that even if I have the style and margin for the cards I can not make it look "pretty" like other text editors without overusing ...
12
votes
2answers
465 views

Did I misunderstand \RequirePackage? I don’t understand an option clash

Have a look at the following example, please. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{my.sty} \RequirePackage{xcolor} \end{filecontents} \RequirePackage{my} ...
12
votes
1answer
172 views

TeX Live 2013 updates after the release on June 18 (have the pretest version)

i downloaded the pretest of TeX Live 2013 in May and it installed fine and compiles my documents just fine. However, now i wanted to update the pretest version via tlmgr by specifying a normal CTAN ...
12
votes
1answer
1k views

Are there any packages similar to fncychap?

I use fncychap this way: \usepackage[Conny]{fncychap} This lets me have pretty decent chapters, ToC and title page design. But the options are scarce and too popular. Are there any other packages ...
12
votes
2answers
2k views

Problem/solution environment

I'm writing a textbook and an accompanying solution manual. In the book, I have a series of exercises at the end of each chapter. As the number of chapters and exercises grows, I'm getting to the ...
12
votes
2answers
8k 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 ...
12
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 ...
12
votes
2answers
168 views

Pros and cons of package use in a class/package

Consider a package (or class) which provides macros with two optional arguments. One could (i) use twoopt. The code in the .sty-file is easy to read and, consequently, to understand. (ii) handcode ...
12
votes
2answers
298 views

Is there a way to limit the scope of \usepackage?

When I tried to use the breqn package suggested by an answer to the question How do I break a long equation over lines It managed to break a whole bunch of unrelated equations (equations that did ...
12
votes
1answer
5k views

Europass CV in (Xe)LaTeX

I was requested to re-write my CV in the Europass format, and I would like to do it using (preferably) XeLaTeX. I came across the europecv package, which seems to do the job just fine, but I would ...
11
votes
2answers
499 views

Package for more creative text formatting in latex

What is a reasonable package to be used for realizing something like the following example (including image altered): The source is ...
11
votes
2answers
421 views

.sty suffix (extension) for LaTeX packages

I understand that the suffix .cls stands for classes. Then, why packages don't have the suffix .pkg, but rather have .sty?
11
votes
2answers
309 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
11
votes
2answers
663 views

Can I \usepackage with a full path?

As the name suggests - can I do something like: \usepackage{/home/nebffa/Desktop/maths/questions/fillwithlines.sty} LaTeX is throwing errors at me when I try to do it.
11
votes
2answers
372 views

How to undo \usepackage?

I would like to use two packages which conflict with each others. I hope I can apply them separately whenever I need and then cancel them so as to solve the problem. Is it possible? For example, I ...
11
votes
3answers
278 views

Is there a database of Tex/LaTeX package bugs where one can report or track status?

I recently stumbled across an annoying flaw in a package that I require, which pretty much makes a mess of good chunk of my documents. That made me wonder whether there was some central repository of ...
11
votes
2answers
457 views

How frequently should one update packages?

When programming, I take some care regarding updating of external dependencies, to be sure that my code isn't affected. With LaTeX (I'm using MikTeX), it seems harder to know when I should update ...
11
votes
2answers
401 views

How to generate a TeX-file containing information of all installed packages of an actual TeXLive

Is it possible to generate a TeX-file with all information needed about the installed packages of a TeXLive distribution? If you want only certain elements of the table, you can use this snippet. :-) ...
11
votes
2answers
851 views

Where can I find which packages are available as tds.zip?

When I need to install a package manually I much prefer to use the ready-zipped TEX Directory Structure-compliant version rather than install it manually with .dtx or .ins files. Normally when I want ...
11
votes
2answers
2k 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: ...
11
votes
3answers
185 views

Easy command or package for properly formatted integrals?

I like to format my integrals so that there is less space between the integral sign and the integrand, more space between the integrand and differential, and so that the differential is upright. ...
11
votes
2answers
177 views

Is there a way to revert manually to earlier versions of a package?

Is there a way to revert manually to earlier versions of a package? I know this is a bit weird but I need previous versions of some packages for some reason.
11
votes
1answer
22k 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.
11
votes
1answer
516 views

Conflict between program and todonotes package

I want to add some pseudo-like code to my document using the program package, but when I add the package to my document, I get the following errors. I found out the problem being caused by a conflict ...
11
votes
1answer
419 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.)
11
votes
2answers
271 views

How to store the document's style file in a subdirectory?

I have a journal specific document style as two files svglov3.clo and svjour3.cls. I don't want to install them, so I keep them in the article's current directory. But I like to keep only the files ...
11
votes
1answer
340 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 ...
11
votes
1answer
491 views

A package to make stickers?

I would like to make stickers for envelopes. Each sticker would contain data about one recipient of the letter. I would like to be able to have this data in some text format (CSV) and that LaTeX would ...
11
votes
1answer
35k views

How to install new packages on Texmaker on Ubuntu?

How do I install new packages on Texmaker? I use Ubuntu 10.04 LTS.
11
votes
1answer
289 views

Is there an “endproof” package?

You may be familiar with the endfloat package, which moves all figures and tables to the end of your document. Is there a similar package for achieving that kind of results with proof environments ...
11
votes
1answer
2k views

Typesetting permutations with latex

I split the question into two parts and included some answers. 1. Alternatives to the permute-package The permute-package is very old (version 0.2, 1999) and can lead to problems in connection with ...
10
votes
5answers
4k views

Are there any packages for creating charts?

I'm looking for a package in which you can create nice bar and/or line charts in LaTeX. Currently I'm plotting the charts in Calc (OpenOffice), export it to a PDF document, crop it and then including ...
10
votes
4answers
437 views

Looking for style files for writing a programming language book

I am looking for LaTeX style files for writing a programming language book (OO programming with Java examples). I'd appreciate if anyone can point me to style files that I can use.
10
votes
2answers
600 views

Turn off locally one package

In the following code, I would like to show two different formatting styles: one using the package nath output, and another showing the default output. How can I do that? % Source : ...
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 ...
10
votes
3answers
727 views

How to implement a command that checks for loaded packages?

I use the following code to check if a package is loaded: \RequirePackage{ltxcmds} \newcommand{\IfPackageLoaded}[2]{\ltx@ifpackageloaded{#1}{#2}{}} However, sometimes I want to check if more than ...