{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.
5
votes
3answers
1k 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 ...
5
votes
1answer
54 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 ...
5
votes
2answers
152 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 ...
5
votes
3answers
799 views
Extensible injection arrow
I want to label an \rightarrowtail, but the arrow is too short for my label. So I want an extensible version of this arrow. I've tried the extpfeil package, but am not sure how to use it to create my ...
5
votes
1answer
840 views
How to write natural deduction trees in LaTeX. [duplicate]
Possible Duplicate:
What is the best package out there to typeset proof trees?
Is there some package to use in order to write nice natural deductions (logical deduction trees)?
Examples ...
5
votes
1answer
1k views
Use custom latex package in LyX
I just downloaded the package stmaryrd and have a LyX LaTeX Beamer document in which I want to insert some symbols with this package (\llbracket). Is there a way to make LyX include the package in the ...
5
votes
3answers
299 views
Package parameters should depend on the build environment
I'm working on the same TeX file (it's in a git repository) at different places. However, these different places have different versions of LaTeX installed.
At work, I need these headers:
...
5
votes
2answers
115 views
Conflict between ifxetex and ucs under pdflatex/xelatex - why?
I use TexLive 2012 (on Mac) and the following minimal example does not work:
\documentclass{article}
\usepackage{ifxetex}
\usepackage[mathletters]{ucs} % Need newline here!
\ifxetex
\else
\fi
...
5
votes
1answer
98 views
Is verbatimbox.sty missing in frozen TeX Live 2012?
I found that verbatimbox.sty is not directly available in the now frozen TeX Live 2012. Having a \usepackage{verbatimbox} generates a verbatimbox.sty not found message on compilation. I can see that ...
5
votes
2answers
288 views
Shortcuts and/or user-defined shortcuts for math symbols in LaTeX?
I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' ...
5
votes
1answer
156 views
Text affected by using txfonts package
I am using a \usepackage{txfonts} because of this symbol \multimapdotbothB but the body text or fonts are affected. How can this be not to be affected?
\documentclass{article}
\usepackage{lipsum}
...
5
votes
1answer
155 views
How to keep track of packages one has already used?
I have been using LaTeX for quite some time but never on a daily basis. As I've used it to write many different documents I came across many useful packages but I have trouble keeping track with all ...
5
votes
2answers
202 views
How to only import certain commands?
The soul package defines a ton of short macros, some of which I use regularly for my own writing. I only need \hl and \sethlcolor. Is there a way to load the package and only get those two commands?
...
5
votes
1answer
1k views
Including an itemized list within a tabular column using the paralist package
The paralist package offers the option of typesetting an itemized list with a \topsep length of zero, and this is especially useful in a tabular setting. However, the following minimal example does ...
5
votes
1answer
753 views
Survey Document Class or Package?
I like to create surveys and questionnaires, what would be a good \documentclass or package to use?
5
votes
1answer
109 views
A package with macros for programming languages names?
Is there any package with predefined macros for common programming languages' names? I mean, macros that help writing things like C++, C#, F# etc. in a nice way, the same way as for example \TeX? I ...
5
votes
1answer
365 views
endfloat and ctable are incompatible?
It seems that endfloat and ctable are incompatible:
\documentclass[a4paper]{article}
\usepackage{endfloat}
\usepackage{ctable}
\begin{document}
\ctable[caption = Queries available, pos = H, center, ...
5
votes
1answer
652 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 ...
5
votes
1answer
113 views
array package incompatible with stabular package
I am not allowed to create new tags yet, so I apologize for not tagging this with the names of the particular packages as instructed.
I was trying to use both the array package and the stabular ...
5
votes
1answer
815 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 ...
5
votes
1answer
351 views
Creating keyboard layout diagrams
I want to create cheat sheets similar to this one for vim:
http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
For example, I want to create one for Eclipse key bindings. But instead ...
5
votes
1answer
173 views
Navigator + hyperref
Quick question: is the navigator package compatible with the hyperref package?
It seems as though their responsibilities overlap somehow...
In which order should one load them?
Are there any other ...
5
votes
1answer
499 views
Footnotes or sidenotes in tables with tufte-latex?
It might be extremely simple to solve my problem, but I can't figure it out... I use the tufte-book class and I have a table inside it. In the documentation of the tufte-book class it is written that:
...
5
votes
1answer
82 views
Handle currencies correctly depending on language conventions
Is there a standard way of handling currencies?
Example:
in American, you'd say "$2 a piece"
in French, you'd say "2$ pièce"
I'd like to be able to write \somecommand{dollars}{2}, that would ...
5
votes
1answer
261 views
Is it possible to compile minted under Emacs?
I am trying to use minted package... Here is an example minimal.tex:
\documentclass{article}
\usepackage{minted}
\begin{document}
\begin{minted}{c}
int main() {
printf("hello, world");
return 0;
4
}
...
5
votes
0answers
805 views
MikTeX can’t find xstring [closed]
I’m not using MikTeX myself but someone I developed a class for. And it seems like there’s a problem with xstring. The following MWE compiles fine with my TeX Live 2012 but MikTeX (on Win 7) can’t ...
4
votes
2answers
3k views
Finding a Ubuntu package for a sty file [duplicate]
Possible Duplicate:
How do I install an individual package on a Linux system?
I've had this problem for a while now on Ubuntu. Whenever I have a missing .sty file (right now, it's ...
4
votes
2answers
276 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 ...
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 ...
4
votes
2answers
139 views
Induce silent failure
I've included a package in my tex file which requires a download from CTAN, so it's freely available just not in the default tex install.
I'm distributing my tex file, and would either like pdftex to ...
4
votes
1answer
113 views
Finding package documentation [duplicate]
Possible Duplicate:
LaTeX, package documentation look-up
Where can I find the documentation for \usepackage{float}? And in general how do I find package documentations? Usually, I google ...
4
votes
2answers
167 views
Astrology signs?
Is there any package that has ALL the 12 zodiac signs of astrology? I tried wasysym but it doesn't display "Capricorn", at least not in my computer (Windows 7, TexStudio 2.3, MikTex 2.8)
4
votes
3answers
191 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}
...
4
votes
1answer
103 views
Should I load packages (for instance, all AMS packages) separately or all together?
I was reading some post here at SE and I noticed that many people load packages one by one. For example,
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
and so on. Usually, I load ...
4
votes
2answers
433 views
New ideas for writing a thesis [closed]
As many of us, I am willing to write a thesis full of maths, fancy environments and all that. Each time I investigate the internet for ideas I find myself ending on the same websites with boring ...
4
votes
2answers
694 views
xy diagram problem: too wide, some arrows too short
I'm trying to write the diagrams of the isomorphism theorems, and I'm having problems. Some objects are too wide, and some arrows too short. Currently I have
$$\xymatrix{A\ar[r]^\pi\ar[d]_\rho & ...
4
votes
2answers
149 views
Is there a package for doing this in LaTeX?
I'd like to do something like this
What would be the code? does it use a package for doing the $$f\mapsto f\circ \pi$$ part?
4
votes
1answer
136 views
Where to find a list of packages at CTAN?
I am looking for something similar to
http://www-sop.inria.fr/apics/latex/styles-eng.html
(but more recent than 2001)
i.e. a list of packages/styles on CTAN containing
package name - file name - ...
4
votes
2answers
156 views
Good way to show a UNIX path, including a variable component?
I'm writing a document for some data analysis code that I produced, and I need to state where the resulting data is stored. The data is written to a directory with a particular name (reducedData) ...
4
votes
1answer
64 views
footmisc has to be loaded after setspace - Why?
If footmisc package is loaded before the setspace package, then it doesn't work. Though I don't need a work around, since this is easy to incorporate in a document, I just thought that I should share ...
4
votes
1answer
190 views
How to TeX like this
This page is what I am referring to. I have often wondered how journals TeX their articles like this, and the trick that I have tried in the past of saving the pdf and looking at the info with Preview ...
4
votes
2answers
2k 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}
...
4
votes
1answer
3k 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 ...
4
votes
2answers
639 views
Customized table of contents
I need to format the table of contents for a compilation of articles in a very specific format:
About this volume
Author 1
Preface........................first page-last page
Articles
Author 2
...
4
votes
1answer
490 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:
...
4
votes
2answers
437 views
Which packages are automatically included by memoir?
I am currently including:
\usepackage[ruled,vlined]{algorithm2e}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{cancel}
\usepackage{fixltx2e}
\usepackage{float}
...
4
votes
3answers
262 views
Why is the wrong version of a package being loaded?
I was trying out Will Robertson's answer to this question and couldn't get it to compile correctly. Chasing through the log output, it seems that an old version of a package is getting loaded instead ...
4
votes
2answers
245 views
Packages for writing feedback forms
I'd like to make a document that would leave ample room for the reader to fill in answers on the sheet. (nothing fancy and interactive, just whitespace for writing on the printed version)
What ...
4
votes
1answer
26 views
Clash between alltt and semantic and minus sign
Why does this code...
\documentclass{article}
\usepackage{alltt}
\usepackage{semantic}
\begin{document}
\begin{alltt}
\(x-y\)
\end{alltt}
\end{document}
...give this error?
ERROR: TeX capacity ...
4
votes
1answer
34 views
Bad interaction between keycommand and environ?
I suspect the keycommand and environ packages are not playing nicely together, because the following code gives an error. Can anybody explain what's going on?
\documentclass{article}
...



