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

7
votes
1answer
2k views

Why do I get an error “Too many }'s” when using package doublespace?

When I use pdfLaTeX to compile this document: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{doublespace} \usepackage{todonotes} \begin{document} \begin{figure} ...
7
votes
2answers
195 views

How can I automate “regression testing” for LaTeX documents, when updating packages?

I recently asked a related question about how often one should update LaTeX packages. Supposing that I update a bunch of packages in one go, or regularly update with only a few packages changing, how ...
7
votes
1answer
1k views

How to programmatically detect if a LaTeX package is installed?

I am writing a program, and I want it to do different things depending on which LaTeX packages have been installed. My current solution is to automatically generate simple .tex files that \usepackage ...
7
votes
1answer
508 views

Is it safe to update LaTeX package with tlmgr on debian?

I using debian (unstable) and have installed most of my LaTeX packages from the official repositories (except few ones which I copied directly inside a folder recognized by texhash). I just learned ...
7
votes
2answers
3k views

Shortcuts and/or user-defined shortcuts for math symbols in LaTeX?

I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' ...
7
votes
1answer
2k views

Why can't MikTex find all of my style files?

I was wondering if you could help me please. I'm using MiKTeX 2.9 and WinEdt on Windows 7 and I've tried to add the style files that I need to use for a particular project to the search path for ...
7
votes
1answer
3k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type ...
7
votes
1answer
976 views

Diagrams package that allows to draw computer buffers (memory diagrams)

I'm writing a document that explains internals of memory buffers and computers and I'm looking for a LaTeX package that would allow me to create diagrams similar to the following: Circular buffer: ...
7
votes
3answers
333 views

How does one define synonymous options in style/class files?

I want to be able to pass two options to a package (actually, a class) and have them be the same. What's the best way to do this? That is, I want: \documentclass[norsk]{myclass} and ...
7
votes
2answers
128 views

Using option for sty file

I would like to create and option (namely grid) to my sty file to produce a grid covering the whole page. I had success using \newif\if@sigur@grid \DeclareOption{grid}{\@sigur@gridtrue} and using ...
7
votes
1answer
144 views

(Nonfatal but Symptomatic) Conflict of amsmath and mathstyle Packages

This was brought to my attention by our colleague, Lover of Structure, but since it affects my scalerel package (which began using the mathstyle package to detect the current math style, as of version ...
7
votes
2answers
885 views

Mail-merging documents from a database

I use the term database loosely here -- it can be an actual database, or a spreadsheet (in any format including CSV) or can be package-dependent. Is there a way to create mail-merged documents ...
7
votes
1answer
5k 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
7
votes
1answer
2k views

Feynman Diagrams with jaxodraw-2.1-0

I want to use jaxodraw for drawing nice Feynman diagrams. I've already downloaded binaries from here http://jaxodraw.sourceforge.net/download/index.html and the program works fine. My problem is that ...
7
votes
2answers
115 views

Spanish babel and chemformula package

I need to write a chemical reaction. I use to make this with mhchem, but I discover chemformula. All it is right but no the arrows when I use the package babel in spanish. There are a problem with ...
7
votes
1answer
577 views

LaTeX cannot find my personal packages

I'm venturing into writing my own packages, but LaTeX is not finding them. I working on a iMac OS X, but I don't want to use TEXMFHOME=~/Library/texmf. I would like to put my packages in a different ...
7
votes
1answer
548 views

How can I create a notes column in a document?

I need a document that has a notes column on the right hand side of each page starting after the contents page. This notes column should have the heading "Notes" , should be 50% of the size of the ...
7
votes
1answer
7k views

TikZ Library Not Found

I am new to TikZ and reading through the manual working out the first example which happens to use the intersections library. When I try \usetikzlibrary{intersections} LaTex spits out the following ...
7
votes
1answer
344 views

Incompatibility between memoir and pdfpages ?

I am including a single pdf page (the title of my thesis) with the package pdfpages : \begin{document} \includepdf{title.pdf} ... But since I switched from report to memoir the page is ...
7
votes
1answer
160 views

RequirePackage and usepackage behave differently

I design exams which should contain code samples using pdflatex. In lecture scripts I successfully use the listings package. The general design is done via the exam document class. I created my own ...
7
votes
1answer
3k views

How to install the package “slashbox” using tlmgr?

I'd like to install the package slashbox to my MacTex/TeXlive installation (on Mac OSX) using tlmgr. The package seems to be still available on CTAN, but my attempts to install it, failed: sudo tlmgr ...
7
votes
2answers
410 views

Is there a package to pull out Answer Keys from Exercises to the last page? [duplicate]

Possible Duplicate: How can I produce exercises in one part of a LaTeX document with selected answers in another? I am writing a book containing exercises for the readers. To ease writing ...
7
votes
1answer
364 views

How do I keep cross-references across several documents accurate?

This is a follow-up to my question about quality system documentation management. That question evolved to a different question and Charles suggested to ask a new one, so I'll just quote it here. ...
7
votes
1answer
46 views

Is it possible to use packages changepage and hanging together?

I'm trying to change the margins around some paragraphs with hanging indents, but LaTeX throws an error and doesn't really explain what's wrong. I'm a LaTeX newbie, so please forgive me if I'm making ...
7
votes
1answer
69 views

Character table on style files

What is the reason to insert the code below at the beginning of a style file? For example, the code below can be found on lipsum.sty. %% \CharacterTable %% {Upper-case ...
7
votes
1answer
770 views

Why does loading pgfplots after tikz break the default layers in a tikzpicture?

Taking the MWE from Jake's answer to the question Background rectangles with equal width but 'fitting' height, I get an error when loading pgfplots after the tikz packages but not before. I'm assuming ...
7
votes
1answer
308 views

Shipout line like Shipout page

In lineno package guide, I found: Attaching line numbers after TeX has broken the paragraph into lines is already quite a difficult job for TeX. Why? Because TeX does not normally give you any ...
7
votes
1answer
64 views

How do I diagnose problems with a fresh install/update of a TeX distribution?

Here's the (hypothetical) scenario: I've updated my TeX distribution in some fashion. Now all of a sudden, a package that used to work just fine is no longer working. Of course, the list of what ...
7
votes
1answer
147 views

Loading a font via package or fontspec

In Xe(La)TeX, what is the difference between loading a font via its package, i. e. \usepackage{tgpagella}, and loading it through fontspec (\fontspec{TeX Gyre Pagella}). When loaded with the package, ...
7
votes
1answer
2k views

Where does BasicTeX put the texmf directory on OSX?

I have just installed BasicTeX on OSX 10.5 and I'm trying to locate the texmf directory to copy the llncs (LaTeX .cls and .sty files) folder into. According to the install log the location should be ...
7
votes
1answer
910 views

Install downloaded package via tlmgr

I’d like to install a package (microtype 2.5 beta 4) under TeX Live that isn’t available in the official repository. Now, I know that it’s usually enough to put the package under ~/texmf/tex/latex/ ...
7
votes
1answer
128 views

Bug in polylongdiv?

\documentclass{article} \usepackage{polynom} \begin{document} \polylongdiv{x^4-1}{x^3+x^2} \end{document} It leaves out the first x in the quotient. How can I fix this?
7
votes
1answer
3k 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 ...
7
votes
1answer
730 views

Installing/downloading packages

I am an absolute beginner to LaTeX. And I'm following the Wikibooks tutorial. I am at the part where it talks about packages. It doesn't really explain where to download and install them. So where do ...
7
votes
1answer
2k views

beamer over miktex 2.9 is not working with math environment

I have this problem where I can't built slide documents with beamer every time I include a math environment as simple as $\mu = A$. The log file posts this message at the end: !pdfTeX error: ...
7
votes
1answer
337 views

Malayalam package

Sorry if I am repeating, but I do not seem to see my post here. Does anybody know of a Malayalam language package. I am working on a Mac running Leopard.
7
votes
0answers
68 views

How do I set the documentation PDF for my package?

I wanted to check the syntax of something in one of my packages, and rather than hunt for the file on my system I just did texdoc hobby on the command line. To my dismay, this brought up the PDF ...
7
votes
0answers
315 views

What's the right order when loading packages? [duplicate]

Possible Duplicate: Non-commutative packages I remember reading in some reference guide that the order of loading packages with \usepackage in principle doesn't matter. Real life, however, ...
6
votes
3answers
278 views

Math mode commands with more semantics?

I accustomed myself to define my own little macros for any mathematical expression I use frequently. For example, I have a macro for the expected value of a random variable: ...
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 ...
6
votes
2answers
305 views

Do commented out options slow down compilation?

My main TeX template has a whole bunch of commented out packages and options (so that when I need a package, I can just skim my preamble and comment out the right thing, rather than try and remember ...
6
votes
2answers
896 views

Are ae and aeguill only needed when using CM fonts?

I am using the memoir class with the option extrafontsizes so as I understood this uses the LM fonts and at the same time set the T1 encoding. If this is correct, are the packages ae and aeguill ...
6
votes
2answers
273 views

Preamble anywhere

If I want to use a set of macros in my tex document, I have to obviously include the appropriate packages IN THE PREAMBLE. So now, i write a 100 page document, with 55 packages already included (in a ...
6
votes
2answers
117 views

Can I create a 'plugin' for TeX Live?

I'm creating a couple of packages that I'd like to make as easy as possible to install and manage with standard TeX package managers. (I'm trying to create an 'as plug and play as possible' package ...
6
votes
1answer
398 views

Is there any support for Esperanto in LaTeX?

Is Esperanto supported by LaTeX? And, if so, are there any required packages?
6
votes
1answer
833 views

Conflict between my modified .sty file and babel's ngerman?

There is some conflict or error I don't understand. I can skip it and nothing visible happens. The output is okay and everything seems to be fine. Still I would like to get rid of the error message. ...
6
votes
3answers
265 views

Is there a way to load additional packages specified in the document environment?

It seems strange but I really need this. Is there a built-in macro to load additional packages specified in the document environment? % main.tex \documentclass{article} \begin{document} ...
6
votes
2answers
140 views

Hiding and unhiding math text

Can Latex be used to type a math article containing invisible proofs, each of which becomes visible under the relevant theorem when a button or link is clicked?
6
votes
1answer
171 views

Can I prevent a package from redefining a command?

I like to use runes and letters from other non-standard alphabets as mathematical symbols. However, now the allrunes package is interfering with my other mathematical typesetting. Take this minimal ...
6
votes
1answer
4k views

Which package includes \Rho? (Big rho) [duplicate]

Possible Duplicate: How to look up a symbol? Why can I only use some capital greek letters inside my equations? I want to use the big rho (\Rho) in my document but can not find a package ...