{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
3answers
296 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
2answers
217 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 ...
9
votes
2answers
160 views

How to type permutations with commas a bit faster?

Is it possible to use a package or something to make typing permutations a bit faster? I now have to type $(a,b,c,d)$ in the best case, but I'd like to do something like \Pm{a b c d}. Can I do that?
9
votes
3answers
428 views

Which package should I use for doing a connecting homomorphism diagram like this in latex

which package should I use for doing a diagram like this in latex:
9
votes
2answers
9k 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 ...
9
votes
1answer
376 views

Lipsum text generator for an index

Is there something like lipsum package but for generating an index?
9
votes
1answer
1k views

Package to indent and syntax highlight C++ code

I am looking for a package to have an environment for C++ source code, with options for syntax highlighting, automatic indentation, proper multipage behavior, etc. I read something about the listings ...
9
votes
1answer
63 views

Potential side-effects associated with a dash in a package/class name?

Common practice for naming packages and classes seems to be, using regex-like notation: [a-z][a-z0-9]* In other words, the name usually starts by a lowercase letter, followed by any sequence of ...
9
votes
2answers
203 views

Put all package options into one command

The title might not be perfect, but what I want to achieve is: Inside my own package mypackage.sty, I would like to have a command, say \allpackageoptions, which should have stored the entire package ...
9
votes
1answer
1k 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: ...
9
votes
1answer
546 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
358 views

How to use hyph-utf8 correctly?

I'm using MiKTeX and pdfLaTeX and the package manager tells me that hyph-utf8 is installed and auto-download of packages is activated, too. But when I do \usepackage{hyph-utf8}, because I hope that ...
9
votes
1answer
2k views

Installing the comicsans package to MiKTeX

Consider this question theoretical in nature; an exercise to understand the TDS tree structure better. Assume one were attempting to install the comicsans package, which is part of neither of the two ...
9
votes
1answer
2k views

Decimal Long Division

Does anyone know of a package or macro that handles decimal long division? For example, I want to convert 3/8 to a decimal and show all of the steps. I found a macro for longdiv that works great for ...
9
votes
1answer
4k views

Installing new packages from ctan through command line or AUCTeX on Mac OS?

I've needed a few new packages for some macros to draw diagrams that I'm working with. I've heard that some LaTeX editors can automatically download the correct packages from CTAN when they're not ...
9
votes
1answer
63 views

Using a single symbol from kpfonts

I would need some help by extracting the "\varprod"-symbol from the kpfonts package. Similar to how it is done here for the subset-symbol of the mathabx package. Although there is a description how to ...
9
votes
1answer
1k views

Middle English Yogh character

I was wondering if anyone knows of a package which supports the Middle English character yogh - that's Ȝ (U+021C) ȝ (U+021D). In TIPA, there is the character ezh - that's Ʒ (U+01B7) ʒ (U+0292). Ezh is ...
9
votes
1answer
609 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
2answers
110 views

Automatic tabulars : create a table from a list

I just found out about the commands \autorows and \autocols in the memoir class that will wrap a list into a table. For example \autorows{c}{5}{l}{one, two, three, four, five, six, seven, eight, ...
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
466 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
1k views

Solution for typesetting interviews in LaTeX?

Are there any packages for typesetting interviews in LaTeX? Of course, I could manually format all the text but I am sure that there are typographical rules for interview sections that I would ...
9
votes
1answer
1k 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/ ...
9
votes
1answer
3k 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
222 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 ...
8
votes
3answers
4k views

Best practice for control flow charts

I wanted to plot a flow chart graph which looks similar to this diagram: that comes from this source. Which package would be best for that? I don't want to use pstricks
8
votes
3answers
1k 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. ...
8
votes
4answers
222 views

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

Or at least in most distributions...
8
votes
2answers
609 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
2answers
550 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
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
2answers
3k 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
2k 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 ...
8
votes
2answers
4k 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
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
130 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
577 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
1answer
25k views

MikTeX 2.9, install packages on the fly?

I set the Install Packages on the Fly setting to Yes and try to compile my document in Texmaker, but I still get the error File [...] not found, where [...] is the package I need. Basically, I need to ...
8
votes
1answer
55 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
150 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
190 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
1k 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
2answers
167 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
172 views

Can someone explain this weird font behavior? (EBGaramond-Maths)

I am using the package EBGaramond-Maths. This font is missing the symbols for these commands (from documentation): \leftharpoonup \triangleright \flat \smile \leftharpoondown \triangleleft \natural ...
8
votes
1answer
424 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
2answers
1k 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 ...
8
votes
1answer
7k 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
5k views

LaTeX template for Lecture notes

Looking for some good templates for creating lecture notes to be given to students. Mainly for computer science subjects. More frequently need short lecture notes.