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

6
votes
1answer
302 views

How can one undefine an already processed class option?

I'm using a class classX that accepts class option optionX. Thus, I can write: \documentclass[optionX]{classX} ... Now, as I understand it, being a class option, after classX processes this ...
5
votes
1answer
2k views

wasysym symbols render to something different

I would like to use the wasysym package to get access to characters such as lightning and clock. However, the following MWE for me gives different symbols. \documentclass{article} ...
5
votes
1answer
8k views

How to install additional LaTeX packages in Debian/Ubuntu

I just installed texlive-latex-base package from official Ubuntu repo, now I have to add some modules (ucs and utf8x) for compiling .pdf files with Cyrillic encoding, so, how to install it? I found ...
4
votes
3answers
983 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 ...
3
votes
1answer
196 views

Is there a source function/capability in LaTeX [duplicate]

Possible Duplicate: How to make a standard preamble into a package I often have the same preamble stuff in my documents that kind of clutter the work space a bit. Some are custom commands ...
2
votes
2answers
2k views

Updating TeX on Linux

I am trying to use the algorithm, algorithmicx, and caption environment. In the log file I have Release 2.5 -- March 13 1995 -- and I have compiling errors which other people don't have. So I would ...
1
vote
1answer
71 views

How to create a table with long text and which packages use

Please, Help me inserting a table like this. I could not prepare this table easily because the long text i have to insert into the columns. I have been trying from some examples of stackechange but ...
18
votes
1answer
228 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 ...
18
votes
2answers
2k views

Should I use fix-cm?

I recently became aware of the existence of the fix-cm package. I've looked at the documentation in fixltx2e.pdf, but it's not clear to me exactly what the problem is that it fixes. Should I worry ...
18
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, ...
11
votes
1answer
1k 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) ...
11
votes
2answers
208 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.
10
votes
3answers
815 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 ...
9
votes
1answer
471 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?
8
votes
1answer
1k views

What does the .def file do?

When downloading a new package and running tex packagename.ins you always get a bunch of files, including the .def file. It's also mentioned in the .sty file. Apparently it's a definition being ...
8
votes
1answer
956 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/ ...
8
votes
3answers
224 views

Installing several versions of a package

Sometimes it would be convenient to have several versions of a package installed at once. For example I’d like to have a development version of TikZ for my own work and the current stable version to ...
7
votes
2answers
105 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 ...
7
votes
1answer
157 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 ...
6
votes
1answer
380 views

TeX Live OS X users: testing needed for “download on the fly” script?

Not sure if this is a strictly appropriate question (I hope so, because it has to do with TeX-related tools) but I need to know whether or not my texliveonfly.py script runs successfully on OS X. ...
6
votes
1answer
7k views

MikTex Packages Download Failure

I've just installed the Basic version of MikTex 2.9 When i compile a file using pdflatex , it attempts to download the package "miktex-zzdb1-2.9.tar.lzma" . It takes about 2-3 mins . Then it proceeds ...
5
votes
2answers
184 views

Creating a dependency tree (\RequirePackage) for packages used in my document

Is there a way of creating a dependency tree for packages \RequirePackageing each other for those packages used in my document, ideally with the respective required options and version numbers? Are ...
4
votes
2answers
100 views

How to get a list of the filenames of the figures embedded in a document

I have a TeX document that is embedding a huge amount of figures from a fig folder that is full of another humongous amount of other figures. I would like to move the document along with its figures, ...
4
votes
1answer
92 views

Package to run multiple iterations of a variable, with compilation?

I guess this is somewhat similar to Animations in LaTeX, except what I would want is something like this: Say you have a .tex document, which uses some macro \tester as parameter. I'd like to load a ...
4
votes
1answer
4k 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 ...
3
votes
1answer
53 views

How to maintain and import self-made libraries

Over the years I've written some libraries. These libraries sometimes depend on each other. As a result, the "tex" directory is structured as follows: tex ├── library | ├── library1.sty | ├── ...
3
votes
1answer
799 views

Highlighted source code inline with Latex/Minted?

I am using the minted package (based on pygments) to do syntax-highlighting for xml-code in my Latex documents. However I did not find an option to make it display the code inline. ...
3
votes
1answer
4k views

Installing colortbl package

I have MiKTeX 2.9 basic installation (using Windows). When I go into the package manager and try to install colortbl package (to get colortbl.sty) I get the following message: Error response from ...
3
votes
1answer
827 views

Can I avoid connecting to MiKTeX update server? [closed]

It seems that each time I try to update/install new packages, the MiKTeX update wizard will internally first connect to http://api.miktex.org/Repository.asmx. Is it possible to skip this step? It's ...
3
votes
1answer
357 views

Commutative diagram using TeX Writer

I bought an ipad app TeX writer and I am wondering if I can draw a commutative diagram. It includes the packages amslatex revtex4-1 IEEEtran babel cyrillic graphicx color xcolr geometry algorithm2e ...
2
votes
1answer
957 views

Using mathabx and MnSymbol in the same document

I'm not a computer expert, so when I simply include the lines \include{mathabx, MnSymbol} in a .tex file, compile it, and it gives me a bunch of errors, I don't know what to do... I'm running ...
2
votes
1answer
561 views

datetime and datenumber package conflict?

Background Trying to include a date two days in the future from when the content was generated. Problem The following results in an empty day name: \usepackage{datetime} \usepackage{datenumber} % ...
2
votes
2answers
1k views

Is there a package to divide pages of A4 to 2 pages of A5 each?

When I read a pdf book in my iPod touch using iBook software in landscape mode, I must zoom in each page manually. It means if I proceed to each page, I must zoom in until the left-right margins get ...
0
votes
1answer
472 views

Do I need a specific package for “\N”

The wikepedia page Folge has this formula (under Formale Definition) \begin{matrix} a:&\N &\to &X\\ & i &\mapsto &a_i, \end{matrix} where \N is used for the set of natural ...
33
votes
2answers
6k views

How to create a crossword puzzle in LaTeX?

As the title already states I'd like to know how to create a crossword puzzle in LaTeX. Any ideas?
39
votes
3answers
8k views

Why use .sty files?

Why is it preferable to put inclusions of commonly used packages and user defined commands in a .sty file instead of putting them in an ordinary .tex file?
14
votes
3answers
18k views

How to install a latex package in MacOS TeXLive?

I just downloaded cyrillic package into a temp directory and executed: sudo latex cyrlatex.ins It works, but it produces a few dozen files in the same directory. How to place them into my TeXLive ...
44
votes
5answers
1k views

How to tell people why packages become deprecated and shouldn't be used anymore?

I'm working with LaTeX for a while now. Writing more and more documents I've learned that there are packages that should not be used or got replaced by others. Looking into files my friends or ...
20
votes
4answers
611 views

Using KOMA-Script packages with other classes

When speaking of KOMA-Script most people will refer to its classes scrbook, scrreprt, scrartcl and perhaps scrlttr2. But not everyone will know, that part of the bundle are also some packages, that ...
18
votes
3answers
267 views

Is there a package that can automatically sort items based on tags?

For example, I write a problem booklet with a ton of problems. I don't want to use a database. In the input file, I write as follows. \pro{geometry} Find the area of ... \endpro \pro{trigonometry} ...
26
votes
5answers
726 views

Barebones or Packages

As a relatively novice LaTeX user, is it OK to plunge right into using the helpful packages out there, or is it better to stick to core LaTeX primitives and packages so as learn the mechanics of ...
17
votes
4answers
3k views

Typesetting a poem book for manual binding

I would like to typeset a poem book, which I am planning to print then stitch and bind manually. My requirements are: The book should be printed on A4 paper, with two A5 pages on each side. It ...
12
votes
2answers
3k views

Problem/solution environment

I'm writing a textbook and an accompanying solution manual. In the book, I have a series of exercises at the end of each chapter. As the number of chapters and exercises grows, I'm getting to the ...
13
votes
2answers
527 views

What “font sets” can I access using packages?

I roughly know how fonts work in LaTeX but right know, I don't want to mess with the details. What I do want to do is to use: \usepackage{[lmodern|palatino|times|...]} to get matching sets of ...
9
votes
2answers
7k 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 ...
6
votes
2answers
673 views

Creative Commons Licence

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. ...
20
votes
4answers
5k views

Good method for typesetting meeting minutes?

Can anyone suggest a good way of formatting minutes from business meetings? [Update:] I'm particularly looking for an easy way to have an 'action items' column at the right side, and possibly a ...
16
votes
3answers
862 views

what TeX package(s) should I use for a Church Bulletin

I create Sunday Bulletins (aka service leaflets) for an Episcopal Church each week. Currently, I use the MS Publisher (PITA) I also do some web design using Ruby. While a physics undergrad, I ...
15
votes
1answer
610 views

Find out which packages are used

I have written a LaTeX Document and it compiles fine on my machine, but now I would like to give the sources to someone else. Is there a quick way to list all the packages that have been used for ...
12
votes
2answers
832 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 ...