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

9
votes
1answer
813 views

Hide solution when using xlop

I'm using xlop to display primary school style addition/subtraction/mul/div problems. When using \opadd{1}{2} for example, It will solve the equation. How do you hide the solution so it is suitable ...
9
votes
1answer
1k 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 ...
9
votes
1answer
2k views

Is there a difference between texconfig rehash and mktexlsr?

With reference to this answer; Is there a difference between texconfig hash and mktexlsr? For example: Is sudo texconfig rehash able to clean up ls-R in cases where mktexlsr remains deficient? or; ...
9
votes
1answer
1k 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 ...
9
votes
1answer
418 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 ...
9
votes
2answers
11k views

How to install LaTeX .zip package (from CTAN) using texhash on a 'nix system?

Is there an automated script which places files in the relevant directory tree in ~/texmf/ and is that all that is required to install a package (in addition to calling texhash on ~/texmf/)?
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 ...
9
votes
1answer
4k 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: ...
9
votes
1answer
5k 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 ...
9
votes
1answer
2k views

Author(s) per chapter - short story collection

I'm trying to use LaTeX to typeset a collection of short stories. I need something that lets each chapter have its own author or authors, with the author name(s) listed along with the chapter title, ...
9
votes
1answer
670 views

How to update TeX Live distribution manually (without using the frozen TeX Live Manager)?

As an illustration, let consider that I want to update the installed tcolorbox package to the new one from the CTAN. I have downloaded the newest tcolorbox.zip package from ctan.org/pkg/tcolorbox. I ...
9
votes
1answer
270 views

Can you use LaTeX packages in ConTeXt/emulate ConTeXt in LaTeX?

Is it possible to use LaTeX packages in ConTeXt? I want to know because I'd like to use ConTeXt's greater formatting facilities but I also want to use several LaTeX packages (crossword and xskak in ...
9
votes
1answer
226 views

Automated placement of text and graphics within presentations

The beamer package creates very professional presentations. Are there any additional packages which can be used with beamer which allows users to focus on content, while leaving TeX to decide where to ...
9
votes
1answer
145 views

Difference between morewrites and scrwfile

I have tested morewrites and scrwfile in my template which uses so many writes that without loading any of those packages I would run into the no room for new \write problem. I find that with ...
9
votes
0answers
142 views

Is there a package manager that works directly with CTAN (or local TDS structures)?

Almost out of sheer frustration, I'm on the verge of writing a Python script that will automate the install of both local TDS packages and those retrieved automatically from CTAN, without regard to ...
9
votes
0answers
919 views

How to automatically generate Venn diagrams given the inclusion relations? [closed]

I'm writing a paper about classes of formal languages, and I'd like to have a diagram showing their heirarchy. Something similar to this (from Wikipedia:) Is there a LaTeX package which, I can give ...
8
votes
4answers
225 views

Is there a common set of packages that is available in every distribution?

Or at least in most distributions...
8
votes
2answers
806 views

Drawing Solids with LaTeX

I want to know if there is a package that automatically draw solids (spheres, cylinders, cubes, prisms). I know I can do this kind of drawing using TikZ or PSTricks. But what about a package where ...
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
8
votes
3answers
806 views

How to get only one symbol from a symbol package?

I need to use the \Writinghand symbol from the package marvosym.sty. But, for some reason, loading this package raises an error: (/usr/local/texlive/2013/texmf-dist/tex/latex/ifsym/ifsym.sty ...
8
votes
2answers
703 views

Global key-value dictionary

Is there any package that implements a data structure that provides a key-value mapping (akin to Python's dict)? The keys will be user input and may contain spaces and non-ASCII characters. I would ...
8
votes
2answers
636 views

ConTeXt using LaTeX style files

I've just discovered ConTeXt for the first time, and it looks pretty sweet. However, it is near-useless to me if I cannot use LaTeX style files for formatting (i.e. for journal/conference papers). ...
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 ...
8
votes
2answers
3k views

Package to typeset Poems

Is there any package in LaTeX available to typeset poems. I referred this link Typesetting poems but it didn't help me out!!!!
8
votes
1answer
31k views

Which package is using \includegraphics?

Which package is using \includegraphics? I have a issue in my installation package, I need to know which package is using \includegraphics. The issue is picture showing like a DOT . If we zoom ...
8
votes
3answers
376 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} ...
8
votes
2answers
5k views

LaTeX templates/packages for writing a patent specification

Are there any templates or useful packages for writing a patent specification, such as the ones in this collection?
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
1answer
1k 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 ...
8
votes
1answer
148 views

How to warn if a package hasn't been loaded

Is it possible to emit a warning if a package hasn't been loaded? If possible, I would prefer that the solution not require \usepackage{ifthen} as it couldn't emit the warning that it was missing the ...
8
votes
1answer
840 views

How to create conditionals in a document class for latex?

I am trying to write a document class highschool.cls for the high school research papers in our school based on the book.cls in order to make the format of the papers standardized. I am trying to ...
8
votes
2answers
1k views

If document class is equal to something then do not use package

I am trying to create a file which includes common packages and macros I use. It is something like this. commonDefinitions.tex \interdisplaylinepenalty=2500 \usepackage{algorithmic} ...
8
votes
2answers
9k views

Install packages on cygwin

I use latex for cygwin, installed by the cygwin setup GUI. How can I install other missing package? For example i haven't tikz... I've to manually install it or there is a better solution?
8
votes
1answer
6k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type ...
8
votes
3answers
3k views

How to specify LaTeX style file precedence when multiple versions (might) exist

For example, let's say that a user has an older version of somepackage.sty somewhere on their system. /path/to/install/latex/somepackage.sty Placing a (possibly different version) somepackage.sty ...
8
votes
3answers
2k views

Is there a package to create Optical Mark Reader answer-sheets?

Is there a package to create Optical Mark Reader answer-sheets (aka bubble sheet)? EDIT 1: No choice. I think I must use PSTricks and \multido to make it.
8
votes
1answer
109 views

Is it possible to make LaTeX check that some environment is in each part of a document?

I have a document which is required to have an example for (most) proofs. Is there an easy way to have LaTeX check that I haven't forgotten an example? I'm imagining something like this: ...
8
votes
2answers
248 views

Passing an if-else option to a custom sty file

I have a custom .sty file loading needed packages and defining some commands and environments. Is there an easy way to either: define an if-else option define option's default value I am using the ...
8
votes
1answer
207 views

Looking for an ebook about typography that used to be part of a package

Sorry for asking, but an iron-curtain seems to have settled in my brain... I'm looking for a ebook about typography and how to best write/typeset a book. It used to be part of the documentation for ...
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 ...
8
votes
2answers
247 views

Leporello tips?

Is it some packages to help users to create a leporello edition ? To regard the creases, the long size paper, etc. (leporello is an edition in accordeon) i.e.: example of leporello
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
8
votes
1answer
474 views

Conflict between steinmetz.sty and cancel.sty. Is there a solution?

The two packages conflict, as can be seen in this MWE: \documentclass{article} \usepackage{steinmetz} \usepackage{cancel} \begin{document} $\cancelto{0}{a+b}$ \end{document} When the steinmetz ...
8
votes
1answer
2k views

What is “\usetikzlibrary”? Shouldn't usepackage tikz just give me everything I need?

I'm new to LaTeX and this may have been answered somewhere already. But I don't understand why I have to use the command \usetikzlibrary{...}. Why doesn't \usepackage{tikz} give me all the libraries? ...
8
votes
2answers
1k views

Command for transverse, and not \pitchfork, as used in Guillemin and Pollack

In Guillemin and Pollack's Differential Topology book, they use the notion of transverse, but not the \pitchfork to denote it. It is very similar, but has a 'T' in it instead of just a ' | ' in ...
8
votes
3answers
233 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 ...
8
votes
1answer
62 views

Can loading unused packages slow down the compilation of a document?

Let's say I call booktabs even if I don't write any table in my document. Would it be better if I leave it out?
8
votes
1answer
321 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?
8
votes
1answer
10k 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 ...
8
votes
1answer
222 views

Is there any package with Markdown support?

Sometimes, I have notes where I would not like to convert all portions to Tex format. I normally then simply put such contexts under verbatim. However, this is a rather crude approach. So I started ...