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

31
votes
1answer
277 views

Loading Packages Together versus Separately

There are a few questions regarding the speed of loading packages together, but this question isn't necessarily about that. I'm more interested in any tangible, persistent differences, such as ...
6
votes
1answer
5k views

How to change fonts

I'm sure this is a newbie question, but I can't figure this out. I have tried to follow the advice here: http://en.wikibooks.org/wiki/LaTeX/Fonts and here: ...
20
votes
1answer
332 views

Defining multiple shorthands quickly

Most of the bloated preambles I see have dozens of lines like \newcommand{\Acal}{\mathcal{A}} \newcommand{\Bcal}{\mathcal{B}} %... \newcommand{\Gcal}{\mathcal{G}} While I can easily code a macro to ...
6
votes
2answers
357 views

How can I ignore everything except a specified environment?

In other words, I'd like to have the comment environment of the verbatim package "inverted". I am pretty sure I read about some package allowing this some time ago, but I can't recall its name (nor ...
14
votes
3answers
5k views

Is there a way to use a document class/package from another folder?

I am building a document class and a set of packages to be used as templates for various documents. I'd like to aviod having to copy those over to another folder every time I use them, but I'd also ...
8
votes
1answer
12k 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
4k 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 ...
69
votes
4answers
2k views

Detecting unused packages in LaTeX document

I have quite a bad habit of copy-and-pasting my packages from one LaTeX document to another. Is there any way we can detect unused packages (i.e. \usepackage commands) so that they can be removed from ...
40
votes
5answers
6k views

What package supports this kind of timeline?

I found some examples of timelines on the site, but they don't seem fit for the type of graph I want to create. Basically I'd like to create one of those timelines you see in books, where you compare ...
40
votes
1answer
7k views

When to use the xcolor package instead of the color package?

Can someone explain when to use the xcolor package instead of the color package? Unless you are creating your own specific colors, the differences between the packages seem to be fairly superficial. ...
22
votes
1answer
24k views

Subcaption package: compatibility issue

There is a compatibility problem between the CIFA document class and the subcaption package. When I compile the following example (with PDFLaTex): \documentclass{cifa} ...
15
votes
4answers
2k views

Inserting a Creative Commons Licence into a LaTeX document

I'd like to insert a CC license on a manuscript (a book or report). I've seen the page for downloading the CC icons, and also some questions asked in the forum CC logo and Generate CC information. ...
11
votes
2answers
15k 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 ...
28
votes
1answer
478 views

Best practice for fixing a clash between packages without altering the .sty files?

Here is another casualty of TeX's flat namespace and another reason to start using LaTeX3... I noticed today that the algorithm2e and keystroke packages clash. More specifically, they both define a ...
23
votes
2answers
6k views

How to type a Backus-Naur form in LaTeX

I need to type Backus-Naur form in LaTeX document. I found several packages on CTAN: ebnf seems to not work with TeXLive 2009 latex-bnf does not align the declaration, etc. There is a module for ...
14
votes
2answers
2k views

Package options and \RequirePackage: order of commands and option conflicts?

How do the options of a \RequirePackage command interact with options specified for that same package elsewhere? Here is an example: The pdfx package, if loaded with the a-1b-option, executes the ...
14
votes
3answers
8k views

Macro or package for typesetting “LaTeX” (the name)?

I just realized there's a LaTeX package for printing the text of "lorem ipsum". Surely then, there's also a macro / package for writing "LaTeX" (with the proper super-/subscript) in a document. But ...
10
votes
2answers
2k 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 ...
9
votes
1answer
2k views

Including package to create MATLAB labels using LaTeX

When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible? As of now I know no method to create non ...
8
votes
2answers
2k views

Drawing Lattice/Trellis Graphs using PGF/TikZ

I am trying to draw a graph containing lattice points and vectors. I wish it to look something like this: I am not sure how to go about it, however, I would ideally like to be able to use ...
39
votes
6answers
2k views

How do packages work ? Why aren't they all pre-initiated?

I have been using LaTeX for about a month now and whenever I have a question, most answers involve adding new packages to the preamble. My question is, how do these packages work? Are they all ...
24
votes
3answers
6k 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).
8
votes
1answer
2k views

Is there a LaTeX package for conference event programs?

I'm helping to organize a symposium, and I'd like to generate the event programs with LaTeX. Is there an appropriate package for this, or should I do it by hand? Thanks in advance!
7
votes
2answers
29k views

LaTeX Error: Environment keywords undefined

I am using a template for a conference and everything is OK, except for the "Keywords", This is strange, it didn't occur to me before. Usually I don't use a specific package for keywords. and the code ...
6
votes
4answers
2k 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 ...
15
votes
1answer
765 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 ...
13
votes
2answers
537 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 ...
12
votes
1answer
308 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
3k 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 ...
10
votes
4answers
466 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
2answers
753 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 ...
8
votes
2answers
4k views

Inconsolata missing after MiKTeX update

I just ran the MiKTeX Updater and there was an update for Inconsolata. I also refreshed the FNDB and it is listed as installed in the Package Manager, but when I try to compile my documents that have ...
8
votes
3answers
8k views

Package to create a printable form

I need to create a printable form. Please suggest a LaTeX package that can do these types of questions: Text: 1. Your e-mail: __________________________ Paragraph: 2. Describe your ...
7
votes
1answer
2k views

Installing ornaments

I am trying to install the Ornaments package: http://altermundus.com/pages/downloads/packages/pgfornament/ I am using a Mac with MacTeX 2012. I have followed the instructions in the package ReadMe ...
7
votes
2answers
7k views

How can I install uarial.sty on a mac?

I'm using TexShop (2.43 on 10.6) to manage LaTeX, but have the following error: ! LaTeX Error: File 'uarial.sty' not found. I tried to use the approach in this question with \usepackage{listings} ...
5
votes
1answer
791 views

How to install mathgifg package

How do I install the mathgifg package on Mac with MacTeX 2013 and Windows with TeX Live 2013? I am using pdflatex so Using the erdc package on Mac OS X does not solve my problem.
3
votes
1answer
5k views

Tex Cover Letter Doesn't Display “Sincerely, My Name”

I'm using the cover letter example from this website: http://www.matthewjmiller.net/howtos/customized-cover-letter-scripts/ What it should look like and the source of the tex is on that website, I ...
11
votes
1answer
252 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 ...
8
votes
1answer
1k views

Defining a custom ‘wrapfig’ environment

[ This is an updated version of http://stackoverflow.com/questions/3233031/latex-defining-a-custom-wrapfig-environment ] The wrapfig package interacts badly with the setup and teardown done by \begin ...
7
votes
1answer
15k views

MiKTeX: connect failed in tcp_connect [closed]

I already read these threads: 1, 2, 3 and 4 which address the connection error connect failed in tcp_connect(). I found out that the address I can't connect to is 178.77.68.21 but there is nothing ...
7
votes
1answer
287 views

How does \usepackage work?

I have a style file which includes another .sty file with \usepackage. Everything works fine. Since this is a small file written by myself I decided to insert it verbatim at the same place were I use ...
7
votes
3answers
2k views

LaTeX command with optional arguments

While writing lecture notes from statistical physics I found out, that I am often writing very similar long LaTeX sequences like \frac{\partial }{\partial <foo>} \frac{\partial ...
4
votes
3answers
2k views

install package in subfolder

At the moment I have some modified and some of my own packages placed in the same folder as my tex file. I would like to move all of them in a subfolder called packages so that I have a better ...
25
votes
2answers
691 views

Teaching LaTeX to visually disabled

I will teach a blind person how to use LaTeX this week. Has anyone any hints for me or package recommendations?
21
votes
1answer
268 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 ...
20
votes
4answers
2k views

Possible conflicts with fixltx2e?

I only recently came across the fixltx2e package. Given that it patches aspects of LaTeX, my spidey-sense begins to tingle out of a concern for possible package conflicts. Are there known conflicts? ...
19
votes
3answers
1k views

Customizing LaTeX - create a document class or a package?

Are there general rules for when to create a document class vs. creating a package to customize LaTeX? Does one have benefits over the other? My specific need is to create a customized page layout, ...
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} % ...
12
votes
2answers
461 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 ...
5
votes
1answer
2k views

What library do I have to use such that the document can render \lt and \gt as less than and greater than signs, respectively?

\documentclass{article} %\usepackage{amsmath} It does Not work ! \begin{document} \[ x\lt y \gt z \] \end{document} What library do I have to use such that the document can render \lt and \gt as ...