# All Questions

499 views

### How to install ochem for texlive

I found this package for latex that gives me the ability to typeset organic structural formulae and reaction schemes for chemistry. I'm having trouble with installing it though. I read through the ...
2k views

### Do I need \leavevmode for centering figures?

I have an image I'd like horizontally centered on the page. Currently, I'm using the following code (which does work) under pdflatex: \usepackage{float} ... \begin{figure}[H] \begin{center} ...
4k views

### Eliminate space at end of list in a table

I have a tabular environment, created with array loaded and using m columns, the cells of which mostly contain lists. In cells with a list, there is about 1em of dead space at the end of the list ...
2k views

### Trouble with multicol

I'm trying to use multicol to create a formula sheet with two columns. I have specified the use of such columns, and their position, but when I compile they come out one after the other rather than ...
2k views

### Package pgf Warning

I'm working with MikTex2.9 and I couldn't get rid of this warning message: Package pgf Warning: Your graphic driver pgfsys-dvips.def does not support fadings. This warning is given only once on input ...
2k views

### Making Verbatim and Beamer play nice

I'm writing a beamer presentation on basic math type-setting in latex and I've been trying to use verbatim to display how math equations are typed. Using fragile this works, but I still get several ...
4k views

### Coloring arrows in \xymatrix

Is there a way to color certain (but not all) arrows using \xymatrix? I wish the following ignorant attempt would work!! \usepackage{xypic,color} \begin{document} \[ \xymatrix { ...
647 views

### Local and global cross-references

Sections are referenced in a lot of distinct places: In table of contents. Managed by \tableofcontents In minitocs. Managed by minitoc package In headers. Managed by fancyhdr package Like a leader ...
3k views

### How do I choose which sections to compile from a LaTeX document?

Is it possible to compile a LaTeX document but only include one section and its associated tables and figures? I have two cases for which this would be useful: I would like to provide the Methods ...
659 views

### Generate line hash scale

I want to recreate the original NASA TLX Question from here, but how do you generate the hash scale?
128 views

### How can I position some text on the same place on multiple pages with partly different content?

I am creating the first pages of a book and I want one page with just the title and the next page to have title plus the authors and some other stuff. However LaTeX places the title differently on the ...
1k views

### pdflatex-fmt-doesnt-match-pdftex-pool

Using Kile 2.1 beta 4, TeXlive2010 on Ubuntu 10.04 the call of pdflatex from kile fails with the error "pdflatex-fmt-doesnt-match-pdftex-pool" as it has been reported here. However, I can compile ...
5k views

### Change font size in figure environment

I'm writing a thesis-like document and I have sketches/figures made in TikZ and plots/graph made in gnuplot with the epslatex terminal. In the gnuplot manual it says if the font is not specified it ...
1k views

### What does \marks do?

Recently I had cause to define a macro called \marks. If I try something like \newcommand{\marks}{fred} I get the error ! LaTeX Error: Command \marks already defined. In LaTeX, if I do ...
47k views

### Good way to make \textcircled numbers?

I'm trying to make some good-looking numbers in a circle, using the simple command: \textcircled{1} However, the circle is misaligned vertically with the number, and look a bit sloppy: Any ...
1k views

### LuaLaTeX: use System font Monaco on Mac OS X

I'd like to use the Mac OS X (.dfont) Monaco with LuaLaTeX. With this input file \documentclass{article} \usepackage{fontspec} \setmonofont{Monaco} \begin{document} \begin{verbatim} foo ...
968 views

### Preserve Figure order

Is there a way to ensure that Figure X is always before Figure (X+1)? They are referenced in the text in the correct order but it seems that Latex rearranges their appearance within the document.
2k views

### Help with MathDesign fonts, namely URW-Garamond

I really want to use urw-garamond with the mathdesign package, but for some reason pdflatex is throwing errors anytime I try and use it. I've installed the mathdesign package with the TeX Live Utility ...
356 views

### Trouble using \formatdate inside \caption

I am having trouble formatting a date inside a caption using the datetime package. I'm told "Incomplete \iffalse; all text was ignored after line 6. \documentclass{article} \usepackage{datetime} ...
548 views

### How can I customise memoir's index to have more than two columns?

Is it possible to customise memoir's index so that it has more than two columns? My index entries are single Chinese characters, so even \twocolindex results in way too much whitespace.
6k views

### Relative padding of a minipage's paragraph

Background Created a custom command for rendering quotations (epigraphs). Problem The text in the following image has no space at the border: The word "and" is flush with the right margin. Code ...
4k views

### Removing legend box (border) in pgfplots

I'm attempting to remove or 'turn off' the legend border in pgfplots, but I can't seem to figure out how to do it. I assume it will look something like this: \begin{axis}[ legend style={?}] where ...
3k views

### How to make \include work with a quoted string path containing spaces?

In Windows, \input can work with a quoted string path containing spaces, but \include cannot. How to fix it? \documentclass{book} \begin{document} %\input works! \input{"Contents/Installing and ...
17k views

### Change hanging indent in description list

I'm trying to get a description's list hanging indent to lie flush with the first line of text. I have a description list such as the following: \begin{description} \item[Label the first] Lorem ...
2k views

### Author list goes outside margins in the ACM SIGCHI template

For some reason having 4 authors in this ACM SIGCHI template renders it outside the right margin. See more details and image here. I suspect the problem is with .cls but I have no idea where to ...
1k views

### How can I turn off margin notes in a LaTeX article?

I want to use LaTeX for typesetting astrology charts, and won't need to use any margin notes. What's the best way to disable margin notes so I can have the space for wheel charts?
893 views

### Extra large gap in article where figure code is, even though figure is at top of page

I writing an article using the amsart document class and whenever I use \begin{figure}...\end{figure} to put a figure into the article, it places the figure at the top of the page (which is fine), but ...
3k views

### What is the variable that contains the source file name?

I am writing a package that saves information to an external file. I would like to name that file according to the source one; something like foo.tex -> foo.bar But I cannot find any variable that ...
4k views

### How to sort an alphanumeric list

I have been trying to find a package or a method to sort lists of names in an easy manner in TeX/LaTeX. I have tried some of the routines in the xfor package, as well as looked at some of the new ...
3k views

### Place quotation (dictum) in a box

Background Looking to change the appearance of quotations at the start of each Chapter (or Part). The book is using KOMA Script v2. (Most searches for the quote command come back with results for ...
3k views

### No simple UTF8 support in latex?

The following should look good in your browser, AND compile in Latex looking beautiful right? \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} UTF-8 test: \begin{verbatim} logic: ...
2k views

### \ShortStack Align

Some sentence.... \shortstack[]{a\\b\\c} it produces like a b Some sentence.... c But I would like to produce something like this a ...
204 views

### Problems with theomac package to restate theorems

I have the following problems with the "theomac" package by Ulrich Diez (whom I don't know how to contact). This package is useful to restate theorems, and was mentioned e.g. here. Problems: Get ...
10k views

### LaTeX Warning About Height, \hbox, and \vbox, and ht

I am compiling a LaTeX document on Ubuntu and I am getting those warnings, errors, or whatever. Any idea about them? Package hyperref Warning: Height of page (\paperheight) is invalid (0.0pt), ...
2k views

### Is there a way to put two pspicture's side by side?

I am making slides using Beamer, and I am trying to have to \pspictures side by side. However, no matter what I do they end up one under the other, even if I use minipage. What is the right way to ...
37k views

### Symbol for Gaussian distribution

What is the symbol for the normal density function in LaTeX?
237 views

5k views

### How to split bibliography into “works cited” and “works not cited”?

I need two bib-like sections: a "References" giving works explicitly cited in my text, and a "Bibliography" (or "Further reading" if you prefer) giving everything from my bibfile that didn't already ...
3k views

### Multicol layout for systems of (linear) equations

How can a similar arrangement be archived (with ams*, aligned, multicol, etc) 1.2.3 Solve the following system of equations: a) x - 2y - 4z = 1 b) -23x + 43y = 22 3x - ...
13k views

### How can I call TexLive in Ubuntu?

Following the instructions in this page https://help.ubuntu.com/community/LaTeX , I installed TexLive, which needs some 1GB of space (I installed the texlive-full package). Yet, after installation, I ...
2k views

### Sorting the bibliography by entry type

I am using BibTeX. For overall configuration I use a .cls file. I am looking for a way to sort the bibliography in this order: Books, articles, and miscellaneous. Currently all types of materials get ...
5k views

### Some strange errors when moving from MikTex on windows to Ubuntu TeX.

I have some tex code that I used to compile successfully (actually, with some 3 non-important warnings) on Windows using MikTex. When I try to compile it on Ubuntu using: tex composition-body.tex I ...
2k views

### Biblatex: Changing the font of citation-marks and the references?

In my main text I use a roman font with oldstyle figures In all tables I use the same roman font, but with modern figures. Since some of the columns may consist of mainly figures and it looks abit ...
518 views

### certificate ending layout

How can I achive the above layout in latex? Place and Name should be on the same horizontal line, and so as Date and En.No.. Signature, Name and En.No should come on a same vertical line.
3k 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} % ...
720 views

### Driver specification for hyperref and graphicx

When using hyperref and compiling via pdflatex or dvips, I do not need to specify the driver with \usepackage{hyperref}. However when compiling via dvipdfm this fails and I have to specify the driver ...
814 views

### biblatex, hyperref and punctuation issue

And a little bit more biblatex stuff: I've noticed that, when using hyperref, there is an issue in form of an ugly space between the citation and the punctuation (be it comma or period). Please, take ...
2k views

### Biblatex, capitalization of arabic names and name prefixes

As we know, using the useprefix option, when name prefixes like von, della etc. are present in the bibliography, enables us to change name sorting as well as capitalize those prefixes using commands ...