# All Questions

3k views

### What is the command for a sum symbol superimposed on an integral sign?

I want to express a sum over all discrete states and an integral over all continuum states. Usually, the sign for this is a $\sum$ superimposed on an $\int$. Is there a command to make this symbol? If ...
20k views

### Different styles of bullets of enumerate

I have an enumerate inside an enumerate: \documentclass{beamer} \usetheme{Boadilla} \begin{document} \begin{enumerate} \item Item1 \item Item2 \begin{enumerate} \item Item2. ...
822 views

### Shift some items of enumerate

I have enumerate in a slide, I would like the beginning, including the bullet, of the 2nd and the 3rd \item shift a little bit on the right, compared to the 1st \item: Item1 Item2 Item3 Does ...
1k views

### How to add color to source code under the listings environment

I would like to color a few keywords in my slides under the listings environment In the following contrived example, I would like to color the __shared__ word with orange and WIDTH with blue. How ...
2k views

### Why tabular doesn't work with ModernCV

When I try to insert a tabular in my CV using modernCV document like this \begin{tabular}{|c|c|c|} \hline aa & bb & cc \\ \hline dd & ee & ff \\ \hline \end{tabular} I don't ...
2k views

### How to put Japanese Kanji characters into an English document?

Japanese, please help: I need to put the following into LaTeX and print it out with pdfLaTeX. The document itself is in English, so I only need a way to put these Kanji characters (Jin, aza, BUN, ...
2k views

### How to change the position of the caption in a “narrow” and “minipage” environment?

I have some huge figures to include in Latex. Therefore I use the "minipage" and "narrow" environment to place it right at the desired position and to move it to the left until it looks centered. ...
411 views

### Four panel, image with borders

I am trying to make a landscape PDF with borders (4) where I will place 4 figures. Ideally the line would be 3 point in width...I have attached a JPG of what I am thinking. I would like to place ...
3k views

### Cite video using BibTeX in BibDesk

I am having trouble citing a video in BibDesk. It doesn't have a field for Producer. The desired output format is apa6. example APA format: American Psychological Association. (Producer). (2000). ...
227 views

### Problems with paragraphs in margins

I am writing some papers for my class, and want to number the tasks with two or three levels. The first level should be a simple number like 1), while the next level should be labeled by numbers. ...
5k views

### how to end chapter* and start chapter

In my thesis template, the dedication and acknowledgements are chapter*{} while other chapters are chapter{}. The problem comes using the hyperref-bookmarks. What happens is the table of contents, ...
32k views

### How to add running title and author

My question is this: how can I add the co-called "running" title and author name on the top of each page? This feature is often used in journals so that the short running title is shown on the top of ...
3k views

### Automatic break/hyphen for too long meaningless words

Since there is no pattern for hyphening meaningless words, they should be individually hyphenated/broken with methods such as \hyphenation{longword}, \seqsplit{longword}, etc. However, there should ...
1k views

### Moving from PC to Mac: BibTeX problem

I recently bought a Mac and have been struggling with running my .tex files. I'm using Textmate and TeXShop. The problem I have is the following: using the exact same .tex and .bib files and ...
5k views

### Adding a legend entry to a plot

In the following figure I want to add as legend in the figure \ldots: st. 1 ___: st. 2 Please help me. \begin{figure*}[htp] {\tiny \centering \subfloat[$U(0.5)$]{ ...
3k views

### German hyphenation does not work

My babel configuration includes ngerman and english ... \documentclass[ oneside, openright, titlepage, dottedtoc, numbers=noenddot, headinclude, footinclude=true, cleardoublepage=empty, abstractoff, ...
318 views

### How can I add a background to a logo? [closed]

Is there a way of making the white areas in a picture transparent, so that when placed on a background, the background colour appears on the picture where there was previously white? In fact I’m ...
360 views

### RefTeX how to search for multiple articles to be included in a single cite macro

The RefTeX manual clearly describes how to mark multiple entries in a search buffer an insert them into a single \cite command, but how can you get the search buffer to contain results from multiple ...
2k views

### How to get pgfonlayer to work correctly inside onslide?

I am trying to use onslide to group different picture elements together and control when and how long they appear on the slide. At the same time I am trying to use pgfonlayer to make sure some things ...
2k views

### Fun unicode characters with pandoc

Silly question: I want to use a heart (♥) character in my presentation. I'm already using xelatex as engine so it doesn't complain for the character itself but it doesn't render it. Just a blank ...
268 views

### Allow line breaks but not page breaks in inline formulas

It often happens that LaTeX breaks up an inline formula over two lines. However, I find it quite distracting when it breaks an inline formula over multiple pages. For example: ...
629 views

### How to only output dependencies from latexmk?

I'd like to use latexmk in a Makefile, so I've read the manual section on that. However, the dependency generation step seems less than ideal. Specifically, it seems that latexmk can only show ...
2k views

### beamer color settings for section names in the header

This guide explains how to produce dynamic headers, where the current section is highlighted. But how can I control the color used for highlighting? (to save space I've set the header's font size ...
11k views

Simple question here: how to make section headings invisible, but still get the correct list of sections in the TOC and headers ? e.g. on page 10, if I do a \section{New section}, I must not see the ...
422 views

### Introduction to LaTeX and Markup

I've got interest from someone in LaTeX, but she's not a computer person. She is smart, very smart, but not a computer person. i.e. She didn't know that typing something on the command line ran a ...
9k views

### Light Gray color in beamer

I want to know how to define a light gray color with beamer. I am using this color to shade a small block of my text. Here is the code I am using for defining my colors. ...
2k views

### Creating straight line in matrix

I need to add some straight lines inside a matrix to indicate labeling of rows, like this: How do I do that?
4k views

### Problem compiling Bibliography on Gummi

I am trying to create cites and bibliography,in ApJ style, using the tex commands below using Gummi. \documentclass[12pt]{article} \usepackage{ natbib} \citestyle{aa} \begin{document} ...
760 views

### Underfull \hbox (badness 10000) detected at line XX []$[]$

I know there were a lot of questions regarding underfull hbox, but in my case error Underfull \hbox (badness 10000) detected at line 5 []$[]$ point to line 5: \begin{document} How can hbox ...
12k views

### On using the slash to denote division in math mode

In in-line math mode, I tend to use the literal slash (i.e. /) to denote division. Unlike the common binary operators [+ - \times \div], / is treated as an ordinary math object, though. This may ...
2k views

### Clean import of LaTeX into LyX: environment instead of ERT [closed]

I am importing a LaTeX code into LyX. This code has multiple uses of amsmath environments (lemma, theorem etc.). After importing, all theese environments turn into ERT boxes in LyX. I was wondering if ...
433 views

I'm using apa6 with TeX Live 2012 and would like to use the command \maketitle. However, whenever I do, the title of my document always appears above my table of contents, and it is even listed as a ...
386 views

### Set slide subtitle in beamer after \framebreak

I am writing my thesis' slides. I need to set a subtitle in some slides, but I am using the [allowframebreaks] option and \framebreak. When I set the \framesubtitle{} after \framebreak, the subtitle ...
1k views

### How to format an email conversation?

I am currently writing my thesis and need to include a bunch of email conversions. I am using classicthesis. I wonder, how you would format stacked conversions. Moreover, how would you deal with the ...
2k views

### 3d axis and polyhedron with line segment towards origin

I would like to make a 3d plot containing the 3d axis and a convex polyhedron or better a Dodecahedron on the positive side for which one of its boundary edge points on its top is annotated e.g. ...
1k views

### Index ordering when using math symbols

I'm making an index where certain entries start with the math symbols $k$, $\mathcal{C}$, $\ast$-a.... In the first two cases, I want them to appear in the index as if they start with k and c ...
2k views

### Underline the title of a subsection [duplicate]

Possible Duplicate: Changing the section title style for an article document type I'm trying to undeline the title of a set of subsections in my document. In order to achieve it, I have ...
770 views

### Multicolumn width in longtable

How do I set the multicolumn width in longtable cells? If you run my MWE, you'll see that the first row of my longtable exceeds page limits. \documentclass[11pt,a4paper,oneside]{report} ...
227 views

### Border on top of paragraph

I am trying to put a line over a paragraph in LaTeX. I tried this code: \noindent\makebox[\linewidth]{\rule{\textwidth}{2pt}} ...
2k views

### Fancyhdr layout of “Contents” and “Chapter 0”?

The attached latex produces header of page 2 and page 4 to look like where I would have liked "CONTENTS" to be "Contents" and "Chapter 0: Rresumé" to be "Rresumé". All the following chapter ...
582 views

### How to split and align equations when they are inside an enumerate environment?

How to make the first line of aligned equations sit in the same baseline as the bullet and make the equation left justified? \documentclass{article} \usepackage{amsmath} \begin{document} ...
2k views

### unwanted pagebreak in footnote

I'm trying to reference a long URL in a footnote. I'm usig hyperref-package (which loads automatically the url-package). \usepackage[unicode=true, ...
916 views

### Shading a block of my text

I would like to surround some source code in my beamer presentation with a lightly shaded box. More specifically in the C++ source code given below, I would like to shade the code block of the ...
6k views

### Functions with no parameters in algorithmicx

I am trying to write an algorithm using algorithmicxand I need to put a function with no parameters. I use \Function {foo}{} latex produces: function FOO However I need: function FOO() ...
8k views

### Define abstract environment in book

I want to define an abstract environment for \documentclass{book}. Therefore, I copied the relevant definitions from report.cls from here into my preamble. But it doesn't work. Where's the problem? ...
442 views

### one character macros

I would like to define a macro that has at most one token in length. \w is the macro and anything after w is not treated as part of the macro name. \wTest is same as \w Test. I don't care if no other ...
236 views

Disclosure: my knowledge of LaTeX is extremely limited I am trying to use pdflatex to convert foo.tex to foo.pdf. When I first tried this I got error messages saying I was missing calc.sty so I ...
337 views

### autonum does not work with eqnarray?

I always wanted to have a package like autonum. Well, it is finally here and its development is still under way, but I already have two problems: It does not work with eqnarray. When referencing to ...