# All Questions

627 views

### Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
1k views

### How to split algorithm2e over two pages

I'm using algorithm2e package but my algorithm does not fit in only one page. Is there any way to split it over two pages, even if manually? If doing it manually, we can use two algorithm ...
11k views

### Typesetting “nth” in LaTeX [duplicate]

Possible Duplicates: What's the quickest and easiest way to write “2nd” “3rd” etc in LaTeX 1st, 2nd and i-th? Is there a standard/best practice for ...
834 views

### Starred equivalent in newenvironment

Let's say I want to use the align-environment in a newenvironment like this: \newenvironment{mequation}{\align}{\endalign} This works fine. However, what if I want to use the starred version of ...
2k views

### Top-align two parboxes with tables

I am looking for a two-column solution: The left column contains one table, the right column several tables. I was thinking of using parboxes as follows: \parbox[t]{2cm}{\vspace{0pt} ...
2k views

### Using bibtool with biblatex

I'm trying to use bibtool to extract bibliography information from an aux file. I'm using this MWE: \documentclass[12pt]{article} \usepackage{filecontents} \begin{filecontents}{foo.bib} ...
714 views

### How to make \left<\overrightarrow{b}\right> look good?

I want a 'b' with an arrow on top, enclosed in angle brackets. \left<\overrightarrow{b}\right> gives angle brackets which are far too high. <\overrightarrow{b}> gives far too much ...
2k views

### Crop equations with preview package

Is it possible to avoid left space from equations previewed with preview package? \documentclass{minimal} \usepackage{amsmath} \usepackage[active,tightpage,displaymath]{preview} ...
5k views

### Increasing paragraph indentation in KOMA script

The default parindent in KOMA scrartcl is too small for me. I remember reading somewhere that just changing \parindent directly is not wise, since it also affects other things (like itemize etc). And ...
621 views

### Use of pdftricks with memoir

below is a (long, non-working) minimal example for use of pdftricks with the memoir document class. It is based directly on the (shorter, working) minimal example of use of pdftricks found at ...
5k views

### Color running over text in multirow column

I have a simple table with 2 multirow cells. However when I apply background color, it covers the lower portion of the multirow cells and cuts through the middle of my text entry which is obviously ...
2k views

### Preparing a beamer poster: how to create a border box?

I am preparing a poster with LaTeX using beamerposter, following the examples of the beamerposter site. In these examples, the title is themed with a background color. I would like to have the title ...
1k views

### Using tilde ~ in csname in Beamer

In beamer, I would like to be able to use the tilde character ~ in the name of a command sequence. I tried with adjusting catcodes. While this was successful with the standard article class, it failed ...
305 views

### One symbol like \omegaup

Please see the below image, what is the TeX code for the left most symbol? It is like \omegaup, but looked thinner and a little italic. I have looked it through the file symbols-a4.pdf and didn't find ...
3k views

### Getting natbib to use numerical keys when the bibliography will be in a separate file.

I am using the natbib package in a collaborative (which means I can't jettison the use of natbib entirely) document. I want to get citations in numeric form in both the text and bibliography, i.e I'd ...
1k views

### Use hyperref to make bookmarks; how to include superscript

I used hyperref to make bookmarks. After reading hyperref's manual, I got this example and it worked: \section{Pythagoras: \texorpdfstring{$a^2 + b^2 = c^2$}{ a\texttwosuperior\ + ...
4k views

### Beamer \pause with TikZ

Is there a way to introduce parts of a tikzpicture with \pause or similar in Beamer without resorting to incrementally redrawing the tikzpicture over multiple frames? Intercalating TikZ draw commands ...
2k views

### Custom calendar using TikZ

I am trying to build a custom calendar using some features of TikZ. My starting point was a piece of code available in a comment of texample.net. I would like to know if it is possible to mark some ...
2k views

### Making a line-separated left-margin in LaTeX

I'm trying to write a user guide in LaTeX, and I want to layout my page in a way that I can put in a left margin for comments / notes on the corresponding lines of text in the main portion of the page ...
817 views

### Compiling partial documents (without document tags)

I am getting some colleagues to migrate from Word to LaTeX for technical documents, but old habits die hard. I am looking for a way to compile each LaTeX document partially without document tags, so ...
1k views

### Replace . (period) by , (comma) in numbers

I pass a bunch of numbers into a custom command defined via \newcommand{\mycmd}[1]{...}: \mycmd{1.12} \mycmd{5.32} \mycmd uses the number to draw a certain figure. On top of that, I would like to ...
644 views

### verselinenumbersleft with twocolumn

Situation: a poem in the verse environment of the verse package, while the entire page is set with the twocolumn option. Line numbering is enabled via \poemlines{1} and set to the left by ...
3k views

### Cite in theorem environment argument

When I try to cite a book in such a way \begin{theorem}[\cite[p.~90]{bibitem}] Theorem body. \end{theorem} I've got an error because of multiple use of [ and ]. Is it possible to cite in such a way ...
2k views

### Sort by author in Alpha bibliography

Using the alpha bibliography style, citations are sorted by the citation key. I'd like to use the same style of authors-year citation keys (e.g., [CP92]) but have the bibliography sorted by the first ...
5k views

### What are the correct arguments for overlayarea?

When I compile the following code, pdflatex takes up 100% of one of my CPU and doesn't stop. I'm probably passing wrong arguments to overlayarea, since I have no idea what they should do (the ...
2k views

### How do I create the negated arrow on \xrightarrow?

Say I have $x\xrightarrow{\rm mb}y$ as in the first line below, but I want a negation symbol like the one defined in \nrightarrow, as in the second line, but extendable. Does anyone know how I can do ...
1k views

### How to force a page to be odd

How can one trick LaTeX to believe that a given page is odd instead of even? Or alternatively call the odd-page header in a previously defined pagestyle? ...
14k views

### Drawing Mechanical Systems in LaTeX

I really like CircuiTikZ for drawing diagrams in my LaTeX documents. However I mostly draw mechanical and not electronic systems, which is why I'm looking for some similar way to draw mechanical ...
786 views

### Define a custom command with name, label and linkable

545 views

### How to raise a character in the whole document?

In my document (due to combind both Chinese and English), all (, ), [, ], etc., are all too low. Is it posibble to raise all (, ), [, ], or any characters user defines to desire height? (for ex. If I ...
7k views

### Inputting multiple files in LaTeX

Suppose I have a directory containing a bunch of LaTeX source files, and I want to input all of them into a single main file. I could do this by saying \input{dir/file1.tex} \input{dir/file2.tex} ...
20k views

### How to insert an image in the front cover of a report?

I'm pretty new in LaTeX and I'm currently writing my BSc Report. Does anyone happen to know how I can insert my uni logo on the front cover of my report? I'm using ...
642 views

### Control order of columns in table

Is there maybe a way to define the order of columns oneself? Say I have \begin{tabular}{ l l l } A1 & C1 & B1 \\ A2 & C2 & B2 \\ A3 & C3 & B3 \\ \end{tabular} but ...
1k views

### Text positiong in cell (tabular)

I'm using the beamer class and this code: \begin{tabular}{|c|l|}\hline \includegraphics[scale=0.4]{2_1} & hey ho \\ \hline s & ho hey \\ \hline \end{tabular} and I get this output: ...
768 views

### Algorithm counter is broken with journal style file

With the style file gSCS2e.cls, found at http://www.tandf.co.uk/journals/authors/gscslatex.zip as well as the algorithm package, if I compile the following LaTeX document, the Algorithm counter seems ...
182 views

### How to reference websites / programming languages ? [duplicate]

Possible Duplicate: How can I use BibTeX to cite a web page? Hi I want to reference in bibtex the Python Programming Language Using: @MISC{Python, title = "The Python Language", url ...
4k views

### multicolumn long table or enumeration

I would like to generate a multi-column table that wraps within columns of the document, and splits across pages. There are a couple of similar questions here How do I create a really long table in ...
23k views

### LaTeX to Word converter [duplicate]

Possible Duplicate: Workflow for converting LaTeX into Open Office / MS Word Format What ways can you convert a LaTeX file to a Word document? What resources/articles exist to help get ...
369 views

### two psframe at same height using pstricks

I'm trying to create two psframes at same height using the following code \documentclass[a4paper]{article} \usepackage{pstricks} \begin{document} \psframe(-3,-1)(5.5,3) %frame1 \psframe(5.5,-1)(14,3) ...
762 views

### Reference undefined in \section with amsbook

I have a section that is devoted to the proof of a theorem, and hence I used \section{Proof of Theorem~\ref{thm}} Of course, because of the headers that are capitalized, it asks for \ref{THM} when ...
32k views

### How to remove the top horizontal bar in fancyhdr?

When using fancyhdr, how do you remove the top horizontal rule? I do not want a header at all, just a footer. This is what I do now: \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} ...
5k views

### Are there any good general typesetting books / references?

I would like to learn more about typesetting, the accepted best practices, rules and tricks used in books, letters, resumes etc. For example, what are the usual left and right margins? Line spacing? ...
2k views

### Background transparency for PDF/SVG

I am using lua/xe/latex to generate a logo as a PDF and convert it to an SVG using pdf2svg for use on a web page. I would like to have a transparent background for the PDF and SVG. The transparent ...
5k views

### Is there a good business plan template?

I'm looking for a good business plan LaTeX template for a web startup. In my opinion it shouldn't have a standing out "classic" look - for example, fonts like Caslon, Garamond or Computer Modern ooze ...
21k views

### Why is the ifthen package obsolete?

In the LaTeX companion, the authors recommend to use the package ifthen for complex conditional. But in his answer to LaTeX conditional expression Will Robertson doesn't mention it, and in the ...
12k views

### How to use LaTeX on blogspot?

I'm trying to use LaTeX on my blog, but I could not figure out how. Has anyone done it before? Any feedback or related information would be greatly appreciated.
4k views

### Molecular orbital diagrams in LaTeX?

This question led to a new package: modiagram I'm wondering if anyone has seen a package for drawing (qualitative) molecular orbital splitting diagrams in LaTeX? Or if there exist any packages ...
655 views

### Cut-Off Subfigure Captions

I created a figure with four subfigures (two rows of two subfigures) where each subfigure has a caption below the subfigure. Strangely, the captions for the subfigures in the top row are partially ...