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

4
votes
1answer
324 views

efrench vs frenchb

What are the differences between efrench and frenchb? Are they compatible with one another (for example the use of \og and fg in frenchb)? Why is efrench not in TeXLive even though its documentation ...
4
votes
1answer
12k views

How do you download packages for TeXworks on Windows 7?

I am using TeXworks on Windows 7 and I want to use the algorithmic package. However, when I try to include it it just says I need to download that package, but I can't figure out how to download it ...
4
votes
1answer
1k views

LaTeX fails to find my .sty file

! LaTeX Error: File `mypackage.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) I am getting the above error message in Ubuntu 10.10. I used ...
3
votes
1answer
1k views

Converting sty and bst files to lyx layout

I want to write a paper for a conference that requires the use of a specific style-sheet, see here: http://www.acl2012.org/call/sub01.asp under "ACL 2012 Style Files". I would like to use LyX for ...
3
votes
1answer
689 views

Why does picins exist in MikTeX but it does not exist in TeX Live?

If picins is not free, why does it exist in MikTeX?
12
votes
2answers
162 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
1answer
4k views

Why does amsmath print a warning about a foreign command?

I was wondering what was the cause of the following warning message with the specific \usepackage used below: Using the following: Preamble \documentclass[amssymb,twocolumn,aps]{revtex4} ...
11
votes
2answers
349 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 ...
10
votes
1answer
161 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
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).
9
votes
1answer
288 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 ...
9
votes
1answer
2k views

LaTeX on Gmail (GmailTex?) [closed]

I added GmailTex to talk about math with my friends via Gmail. However even if I type something like $3^n$, it doesn't turn into a superscript (I confirmed it by sending an email to me.) Do I need to ...
9
votes
3answers
276 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
1answer
1k 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 ...
9
votes
3answers
822 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 ...
8
votes
1answer
109 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 ...
8
votes
1answer
78 views

See which files are installed when installing a package with tlmgr

Is there a log somewhere that tells me what files where installed when I install a package with tlmgr?
7
votes
1answer
268 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
0answers
309 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
1answer
108 views

randtext not working

All \randomize{} does in the following MWE is removing the space between the words. I wonder why the text is not randomised. \documentclass{article} \usepackage[english]{babel} ...
6
votes
1answer
3k 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 ...
5
votes
1answer
175 views

Including .tex files that need a different style file than the main text

EDIT: Substantial edit of the original version has been done to clarify the question. Background I've written two small python package manuals with sphinx (http://sphinx-doc.org/) a program that ...
5
votes
2answers
507 views

Bundle packages with a document

I'd like to have my LaTeX document be self-contained, that is, if I move to another computer I'd like all of my non-standard packages to work without first installing them. For simple enough packages ...
4
votes
1answer
199 views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...
3
votes
1answer
148 views

What are the steps for installing 'xcharter'?

I would like to install and use the xcharter package, but am unclear on the steps involved. There are what appear to be instructions provided with the package, but I don't understand them. Is it ...
3
votes
1answer
408 views

How to add unavailable document class for LyX on Linux?

I need the IEEEtran document class, and LyX asked for IEEEtran.cls. I have found it googling, now how do I install it? I've found a similar questions but that's for LyX on Mac; but I'm on Ubuntu (not ...
3
votes
1answer
102 views

Automatic \newpage for sections at the end of a page [duplicate]

Possible Duplicate: Avoiding page breaks shortly after section/subsection headings Imagine that I've got a \section (or \subsection, \subsubsecion, \paragraph) at the end of the page X: in ...
3
votes
0answers
789 views

Package for UML component diagrams? [closed]

Do you know any package to model component diagrams of UML? There are some packages like tikz-uml that support class diagrams or sequence diagrams, but I haven't found any for component diagrams. Any ...
3
votes
1answer
537 views

Only \usepackage if the package can be found [duplicate]

Possible Duplicate: Conditional “if a package is available” I'm using a package "mcode.sty" that enhances/colors listings output; typesetting will work perfectly without it. ...
2
votes
1answer
1k views

Problem with “Package pgfkeys Error”

I am trying to create a color box using tcolorbox package. source code is like this- \documentclass[11pt]{article} \usepackage[top=.5in, bottom=.5in, left=1in, right=1in]{geometry} ...
2
votes
1answer
2k views

Can't find TikZ library calc

I am using a Mac operating system and am not a sophisticated programmer. I am trying to run code that uses the line \usetikzlibrary{calc} but I keep getting the error "I can't find file ...
2
votes
0answers
1k views

MikTeX 2.9 without list of packages in settings program [closed]

Today I updated MikTeX and the process aborted. After that, the program does not show the list of packages in the update (admin) program. I changed the package repository address and the program ...
14
votes
3answers
496 views

How do I determine in which order packages have been loaded?

The \listfiles command will give the list of all loaded files (and therefore also packages) at the end of the .log file, but how do I determine from inside LaTeX, whether package A was loaded before ...
13
votes
3answers
1k views

texlive: How to determine which package a font is contained in?

I've written a script that repeatedly runs lualatex file.tex to install missing packages, but I'm having a hard time doing the same with missing fonts. When an error message like ! Font ...
11
votes
0answers
132 views

Should packages on CTAN be widely applicable?

I have a couple 'packages' (more appropriately called styles) that I'd like to painlessly distribute to my classmates. The most straightforward way to do this is via CTAN, but I'm not sure if it is ...
11
votes
1answer
393 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
164 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
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} ...
11
votes
2answers
305 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
10
votes
2answers
300 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.
10
votes
1answer
311 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 ...
9
votes
2answers
417 views

I'm a cargo cult programmer …

... because I don't know why this works \def\my@addextraoption#1{% \xdef\my@extraoptions{% \@ifundefined{my@extraoptions}\@empty\my@extraoptions,% \zap@space#1 \@empty}} ...
9
votes
2answers
573 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 ...
8
votes
1answer
171 views

Meaning of “Macro packages”, “TeX engines” and “Distributions” of TeX

I was wondering what relations and differences are between "Macro packages", "TeX engines" and "Distributions" of TeX? I saw these concepts when looking at the following table at the end of this ...
8
votes
1answer
404 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?
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
1answer
534 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
355 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. ...
6
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 ...
6
votes
1answer
209 views

What needs to be done to update lablst.sty?

This question is related to the question How to get a list of all the labels in a LaTeX document. According to the author of lablst.sty, you can use lablst as a global option to documentstyle as ...