{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
224 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
2answers
3k 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} % ...
11
votes
1answer
470 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
613 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
763 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
2answers
393 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
555 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
325 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
374 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
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 ...
11
votes
0answers
9k views

Windows Miktex can't find mathtools.sty

When I try to compile my paper I get the error: ! LaTeX Error: File `mathtools.sty' not found. Other packages are successfully found and automatically installed, but mathtools.sty is not. I just ...
10
votes
5answers
5k 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
457 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
706 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
4answers
164 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 ...
10
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 ...
10
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 ...
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
523 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 ...
10
votes
1answer
292 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
231 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
2answers
858 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 ...
10
votes
1answer
486 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
315 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
195 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
254 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
1k 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?
10
votes
3answers
4k 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
185 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
203 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
1answer
370 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?
10
votes
1answer
233 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
1k 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
1answer
186 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 ...
9
votes
2answers
148 views

How to call a package added previously

I'm using the package mcode to show matlab code in my thesis. This package requires the xcolor package so it automatically loads it. My problem is that I have to call the table option in the xcolor ...
9
votes
2answers
618 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 ...
9
votes
3answers
1k 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 ...
9
votes
5answers
7k 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 ...
9
votes
2answers
778 views

Using package locally

Is there a way to use a package locally? Here is the case... I NEED to use \phiup on my document, however it needs the using of package pxfonts or txfonts. However, when I use either of those ...
9
votes
2answers
799 views

How do I detect the options passed to the documentclass from my own style?

In the listings package, they note that "a global \documentclass-option draft is recognized, so you don’t need to repeat it as a package option" I tried looking into its source to see how it ...
9
votes
3answers
292 views

Hyperref is loaded by the class, and I need to load packages that are supposed to be loaded before

I am using the lipics documentclass, which loads hyperref. Since I want my figures boxed, I added the following \usepackage{float} \floatstyle{boxed} \restylefloat{figure} The problem: I receive ...
9
votes
2answers
152 views

lgrxenc.def not nound

Yesterday I've finally reinstalled my TeXLive to the version of 2014. While compiling, I have the following error: fontec.sty Package fontenc Error: Encoding file `lgrxenc.def' not found ...
9
votes
2answers
158 views

How to type permutations with commas a bit faster?

Is it possible to use a package or something to make typing permutations a bit faster? I now have to type $(a,b,c,d)$ in the best case, but I'd like to do something like \Pm{a b c d}. Can I do that?
9
votes
3answers
383 views

Which package should I use for doing a connecting homomorphism diagram like this in latex

which package should I use for doing a diagram like this in latex:
9
votes
2answers
8k 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 ...
9
votes
1answer
368 views

Lipsum text generator for an index

Is there something like lipsum package but for generating an index?
9
votes
1answer
1k views

Package to indent and syntax highlight C++ code

I am looking for a package to have an environment for C++ source code, with options for syntax highlighting, automatic indentation, proper multipage behavior, etc. I read something about the listings ...