{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
2answers
4k views

Obey spaces with URL package (path command)

Background Using the \path command from the URL package to mark-up directory paths. Some of the paths have spaces. Problem The preamble is set to: \usepackage{algorithm} \usepackage{booktabs} % ......
13
votes
2answers
651 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} \...
13
votes
2answers
550 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 ...
13
votes
2answers
665 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
546 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?
12
votes
5answers
8k 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 ...
12
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 \usepackage[...
12
votes
3answers
4k 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 ...
12
votes
2answers
2k 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 text-...
12
votes
1answer
10k 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 ...
12
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 ...
12
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 ...
12
votes
1answer
177 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

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 ...
12
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 ...
12
votes
1answer
691 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.)
12
votes
1answer
2k 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
852 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 ...
12
votes
1answer
728 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?
12
votes
1answer
513 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 ...
12
votes
1answer
358 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 ...
12
votes
1answer
392 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 (...
12
votes
2answers
202 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
481 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
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 ...
11
votes
2answers
786 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 http://blog.azubiyo.de/bewerbungstipps/deckblatt-bewerbung/...
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
1answer
19k views

Package algorithm2e on Ubuntu

I am having some trouble getting a LaTeX document to compile. I would like to use the package algorithm2e. I am working on a machine running Ubuntu. I tried using Texmaker and Gummi (LaTeX editors) ...
11
votes
4answers
193 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
1k 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
329 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
397 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
659 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
514 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
258 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
16k views

What's the best way to typeset C++ codes in latex?

I'm participating in a programming contest and we are allowed to prepare a team reference document which must not exceed 25 pages. Typically we will prepare many code templates and this year I'm ...
11
votes
2answers
418 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
2k 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) texmf\tex\latex\...
11
votes
3answers
306 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;)).
11
votes
3answers
301 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
4answers
795 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
747 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
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 ...
11
votes
1answer
439 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
2answers
45k views

Download MiKTeX + all packages

I would like to know where I could find an installer for MiKTeX embedding all existing LaTeX packages (if it exists). I am going to install LaTeX on a computer which will not ever be connected to ...
11
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 ...
11
votes
1answer
5k views

Unable to connect to repository in MiKTeX 2.9

In MiKTeX 2.9 Package manager, when I'm trying to synchronize it writes me a message: "The remote package repository is not online...", but I'know server is online (I can use FTP to download packages ...
11
votes
1answer
1k views

Solution for typesetting interviews in LaTeX?

Are there any packages for typesetting interviews in LaTeX? Of course, I could manually format all the text but I am sure that there are typographical rules for interview sections that I would ...
11
votes
1answer
199 views

Directory structure for a large CTAN package upload

I'm going to upload my first package to CTAN. But after reading all the upload guides from CTAN and TeXLive I'm still feeling daunted by the directory structure. My package is rather complex and by ...
11
votes
0answers
14k views

'biblatex.sty' not found - although package is installed [closed]

When I want to include the biblatex package I always get the error-message above. Here are some basic information: I'm using Ubuntu 14.04LTS and have installed Texlive with the Ubuntu Software-...