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

11
votes
2answers
466 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
5answers
6k 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 ...
11
votes
3answers
2k views

Package switches within the document?

Many packages come with switches, to be defined in the preamble. Is it possible to hit such a switch also in the body of the document? Example: Can I switch from the functionality of ...
11
votes
3answers
3k 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 ...
11
votes
5answers
4k views

Is there a simple way to use the gentium font in latex?

I'd like to use the gentium font in a LaTeX document, and the instructions I found at this site make it look rather difficult. Is there a simple package that is now available that would allow me to ...
11
votes
4answers
172 views

Is it safe to use the TeX Live Update utility while compiling documents?

I just started the TeX Live Update utility and saw that quite some packages were updated on the server. I proceeded to update all outdated packages, but this takes a while. Is it safe (in terms of ...
11
votes
3answers
998 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 ...
11
votes
2answers
320 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
3answers
347 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
598 views

Availability of LaTeX packages' functionality in ConTeXt, XeTeX, and LuaTeX

I am considering trying out ConTeXt, XeTeX, and LuaTeX, but one concern of mine is the fact that I am using a large number of LaTeX packages. There are a number of questions comparing these TeX ...
11
votes
2answers
492 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
1answer
8k views

Package ifpdf Error

I am trying to use amspset. Here is my minimum code: \documentclass[12pt,letterpaper]{amspset} \usepackage[margin=1in]{geometry} \usepackage{graphicx} % info for header block in upper right hand ...
11
votes
1answer
213 views

Publishing a package update on CTAN?

This is one of the questions I get on and off, so I thought I'd post about it. A couple of times, I've ended up with a situation where I need to modify code in a CTAN package proper - that is, I ...
11
votes
2answers
413 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
1answer
1k views

Why does url.sty appear in 3 different places in the TeX Directory Structure?

On my up-to-date MiKTeX system, there is a copy of url.sty in three different places in the TDS: texmf\tex\xelatex\xetexurl (part of MiKTeX package xetexurl, packaged on 2007-Sep-05) ...
11
votes
2answers
1k views

How to resolve conflicts in symbol packages?

I want to use symbols from wasysym and marvosym packages: \usepackage{wasysym} \usepackage{marvosym} but it gives an errors as both packages have the command of \CheckedBox. I do not want to use ...
11
votes
2answers
1k 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

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?
11
votes
3answers
238 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
1answer
602 views

Require a certain (or later) version of a package?

Is there a way to enforce that a certain version, or a later version, of a package is loaded when building the document? I've found that compiling a document on another platform, where the package ...
11
votes
4answers
678 views

Is there a package for warning about unbalanced delimiters?

I'm copy-editing a rather lengthy set theory book. One thing I'd like to check systematically is whether all left-right unambiguous delimiters (parentheses brackets curly, square and angle) are ...
11
votes
1answer
995 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
635 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
2answers
563 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
507 views

Determining which TeX Live collection a package belongs to

When using the TeX Live Manager or browsing CTAN, sometimes I want to know what TeX Live collection a particular package is found in. What is a convenient way to check?
11
votes
1answer
393 views

Using \BeforePackage to load a package before hyperref does not work

I am using the lipics document class, which includes hyperref. I want to load the float package, which should be loaded before hyperref, without changing the document class. As suggested in this ...
11
votes
1answer
347 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
3k 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
4answers
488 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
830 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

How to use \bigtimes without pain

I've been fighting with mathabx lately and it's not really worth my time, so I tried switching to MnSymbol which also modifies some of my regular symbols. Is the best solution just to make my own ...
10
votes
1answer
31k 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 ...
10
votes
3answers
5k 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?
10
votes
1answer
352 views

Loading a package more than once

What would happen when you load a package more than once, say via \usepackage{<package>} or \RequirePackage{<package>}. For example: \documentclass{book} \usepackage{geometry} ...
10
votes
3answers
255 views

How many LaTeX classes and packages are there (say, on CTAN)?

Well, the question is pretty self-explanatory. (I'm writing a short tutorial on LaTeX, and wanted some trivia;)).
10
votes
1answer
535 views

How to “un-use” a package?

When using packages in LaTeX (or XeLaTeX, in my case), I load packages with \usepackage[options]{package}, but how can I "un-use" the package later in the document? Is that even possible?
10
votes
4answers
398 views

“Killmargins” package?

Editors such as "Gummi" show a split-screen with the LaTeX source code on the left, and a preview of the later document on the right. However, having a substantial paper margin makes editing more ...
10
votes
3answers
2k views

Good (latex) package for typesetting bible quotations?

I'm in the market for a good package for typesetting quotations from the bible. Got any suggestions?
10
votes
2answers
251 views

Conditionally use package and define command

I'm creating a class which should define a command if some package is available: \IfFileExists{eforms.sty}{ \usepackage[xetex]{eforms} \everyTextField{\textFont{GaramondNo8}\textSize{12}} ...
10
votes
2answers
288 views

Generating single random sentences

lipsum, blindtext and kantlipsum all seem to default to producing paragraphs, whereas I want them to generate individual sentences. From the documentation, it looks as if it should be possible to ...
10
votes
1answer
2k views

installing comicsans to TeX Live, Windows

I need help to install the comicsans package and the fonts. My system is TeX Live 2011, and Windows 7. Below is what I did: Copied comic.ttf and comicbd.ttf in C:\texlive\texmf-local\fonts\ttf. (I ...
10
votes
1answer
200 views

Inserting document compiled from LaTex code inside a .tex file

Is there a way to insert a document within a document? The inserted code is fully .tex compliant and could be compiled as a document on its own. I envision an article document, where inside the ...
10
votes
2answers
1k views

Is there a tool/script available to simply install packages locally?

This question is not on how to manually install packages but how to install packages automatically via script. This question is not about MikTeX or the limited tex package management in certain linux ...
10
votes
1answer
622 views

Printing stamp albums

Is there any TeX package well suited for producing stamp albums? Some examples of stamp album pages can be seen here, here, here or here. In particular, captions can go anywhere around the frames ...
10
votes
3answers
327 views

Citing TikZ and other packages

In some areas of maths, it is advised to cite mathematical and drawing software you use to make your computations and drawings. Since I draw in TikZ, I would like to know how officially cite the ...
10
votes
1answer
261 views

Update a package after TeX live freeze?

I realized that I want/have to update a package (moderncv). The problem is that TeX Live went frozen – so there are no more updates. Is the only thing to do is wait till the release of the next TeX ...
10
votes
3answers
288 views

Is it safe to “renewcommand” \SS? (Which packages use \SS command?)

I've tried to set \newcommand{\SS}{\mathcal{S}} in the preamble but I've discovered that this command is already defined. So, I tried native command on my code and I've found that it is a "simple" ...
10
votes
1answer
340 views

Using usepackage twice with the same package name

I've seen duplicated package inclusion multiple times in questions. I've looming memories of comments like "it's a really bad thing to do" (which I couldn't find). I was wondering what are the ...
10
votes
2answers
2k views

Correct way to distribute/embed an image in a LaTeX package/document?

I am creating a new document class that needs to render an image (e.g., a logo) on the title page. What is the correct way to distribute image with the class? Should the image file be distributed ...
10
votes
3answers
233 views

classics package throws weird error message

I can't get any documents built with the classics package to compile at all, including the package documentation source file. I have the package (v0.1 2013/02/02) installed correctly in my tex distro ...