# All Questions

4k views

### Adding background color to title slide in beamer

How can I add a solid background color only to the title slide in beamer? This is what I am doing after \begin{document} \setbeamercolor{background canvas}{bg=blue} \begin{frame} Hello \end{frame} ...
10k views

### How do I get that line that represents a repeating author in a bibliography or works cited page?

As I understand it, when there are several bibliographic entries from the same author, you represent all subsequent entries with a line, like this: \bibent Nietzsche, Friedrich, and Walter A. ...
850 views

### How can I reduce the space between paragraphs and block quotes?

I'm using the mla package from the texlive-humanities ubuntu package to format an MLA-style paper. Unfortunately, something is a little off, and there's a little extra space between paragraphs and the ...
632 views

### How can I get my ellipses formatted correctly in XeTeX?

I've been using \dots and \ldots to try to get ellipses happening. Ellipses should look like this: Some text . . . and then some more text. But instead they look like this: Some text ...and some ...
898 views

### Parallel texts with header on each page?

I have two English language texts that are translations of the same work and that I want to put in parallel: I do not plan to include the original, non-English text. This is for a document (of ca. 100 ...
466 views

### Customizing Gonzalo Medina's Award Winning Entry

I am trying to do few modifications to Gonzalo Medina(GM)'s award winning contest entry. I want to change the fonts GM used in the header box. I achieved partial success by changing following lines ...
399 views

### Difficulty with datatool

I want to use the command \DTLstoreinitials from package \usepackage{datatool} in the following way : \newcommand{\extractInitials}[1]{% \DTLstoreinitials{#1}{\userInitials}% ...
4k views

### Typesetting a Row Vector

In the question typesetting a column vector, a very nice solution was given for typesetting a column vector with an arbitrary number of rows. I am attempting to modify the code to produce row vectors ...
894 views

### Problem with “endfloat” in manuscript option of APA6.cls

Several years ago I commonly wrote papers in MiKTeX using the apa.cls, which allowed you to switch between a two-column formatted "jou" mode and a single-column, double spaced "man" mode. I have ...
232 views

### Customize the “cell environment” in a tabular

Is there a way to modify the layout of cells in a tabular? I would like to have a environment mytable which I would use like a tabular: \begin{mytable}{l|l} entry & entry \\ entry & entry ...
420 views

### Make different font sizes in a table align at top, not bottom

I have a situation similar as to this MWE: \documentclass{article} \usepackage{tabularx} \begin{document} \begin{table} \begin{tiny} \begin{tabularx}{\textwidth}{|>{\normalsize}X|X|X|} \hline Foo ...
5k views

### Helvetica font and ohm symbol

I am writing an industrial laboratory report, where I need to use Helvetica. My preamble contains: \usepackage[T1]{fontenc} \renewcommand{\familydefault}{phv}\selectfont \usepackage[margin=10pt, ...
304 views

### xelatexmk and emacs [closed]

For technical reason, I had to set for using emacs as my working environment, as I am able to type directly some Unicode signs that otherwise I cannot code in with Texworks or TeXmaker. At this point, ...
25k views

### Tikz: use opacity for fill, yet leave draw (lines) untouched

When I use the tikz key opacity for a polygon in a tikzpicture, it applies to the drawn fill as well as to the draw lines. I would like to have it this way that the lines remain untouched by the ...
523 views

### enumerate with non-standard numbering (1°, 2°, …)

How can I get a list environment with numbers 1°, 2°, ...? LaTeX does not accept the symbol °.
3k views

### scientific report two columns

While looking for something on this site I accidentally found a document class which is perfect for a scientific report with two columns layout. Unfortunately I forgot its name. Could someone point ...
996 views

### First initials only in elsarticle (biblatex incompatible)

I have bib files with a mixture of full first names and first initials only (and the same for middle names). I have to submit a paper in elsarticle now and would like to make this consistently first ...
251 views

### Font size as a key-value pair using pgfkeys does not work

I want to define a new environment whose contents can be typeset using a specific font family and size optionally specified as key-value pairs. For handling the key-value pairs I am using pgfkeys. Why ...
162k views

### How to influence the position of float environments like figure and table in LaTeX?

How to influence the position of float environments like figure and table in LaTeX? This is a general question and should collect useful answers for all users. I hope we can use this as a reference
2k views

### Label name in circuitikz

Is it possible to get a labelname in circuitikz to be equal to the output from \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \usepackage{siunitx} \begin{document} ...
2k views

### Lyx nested environments

I would like to put an enumerated list into the body of a Lemma environment, in Lyx. This is what I would have: Lemma 1. First line of the statement i) condition 1 ii) condition 2 last ...
809 views

### Column spacing problem

I'd like to know how to position two columns in the following table closer together. The table looks like this: I have found I had a problem with spacing of tabular columns combined with ...
554 views

### Figures not showing where expected [duplicate]

Possible Duplicate: Force figure placement in text I have a a document and I'm inserting .png images but they are not shown where I want them. How do I fix this? E.G. ...
9k views

### Arrows between a list and a picture in beamer

How can I draw arrows between an item in an itemize environment and spots on a picture using tikz? MWE: \documentclass{beamer} %\usepackage{beamerthemeshadow} \setbeamercovered{transparent} ...
249 views

### mdframed and colortbl Connection problem

I'm using mdframed for bordered tables. Additionally I'd like to change the bg-colour of some columns using the package colortbl. However when I try to load colortbl with \usepackage, the document ...
3k views

### TikZ externalize, pgfplots and animate

I gave a very fetching presentation written with beamer today. It included a pgfplot animated with the animate package, and the result was fantastic. The problem? One of my colleagues wants to borrow ...
1k views

### referencing main subequation

In the following example i labeled each subeqnation. \begin{subequations} \begin{gather} R_0 = 0 \label{subeqn:ini-cond-r} \\ N_0 = 0 \label{subeqn:ini-cond-n} \end{gather} ...
2k views

### using biblatex with res.cls

I am having a problem getting biblatex to work with res.cls I have successfully used biblatex using the article class to create a nice bibliography the way I want it to look. However, when I try and ...
7k views

### How to draw a decorated rectangle with rounded corners?

As the title says, I was trying to draw a rectangle with rounded corners, and then decided it needed decorating. Well, the result looks awesome, but isn't really what I had in mind. a) What happened? ...
421 views

### box aligned based on top border, but with dynamic width

I want to have a box, aligned based on top border. I can do this with minipage[t], but i would have to specify the width, which i do not want. What is thus the simplest way to have a top-aligned box, ...
1k views

### Replace “quotes” with „quotes“?

I live in a funny part of the world where we're required to quote text like this: „quotes“ (note the difference between the opening and closing quote). Is there an easy way to set up a LaTeX document ...
2k views

The font rendering quality of Adobe Acrobat Reader is far superior to that of other PDF viewers. It also supports scripting via JavaScript. The debugger for JavaScript can apparently be enabled in ...
11k views

### What is the difference between \mathbin vs. \mathrel?

These seem to be very similar as they both separate two operands. When would one be used over the other? Is there any difference in the math spacing surrounding them? How would the spacing in these ...
72k views

### How can I manually install a LaTeX package (Debian/Ubuntu Linux)? [duplicate]

Possible Duplicate: How do I install an individual package on a Linux system? The Debian/Ubuntu archives typically include assemblies of many LaTeX packages for convenience of downloading ...
3k views

### Invisible character equal to the height of capital letters [duplicate]

Possible Duplicate: How do I create an invisible character? How can I insert an invisible character (similar to \strut) which has a width of zero (won't impact word or letter spacing) and ...
383 views

### PDF page references in TeX4ht generated html?

I'm using TeX4ht to make html and epub versions of documents that are also processed to pdf. I'm unclear on how to include some kind of visual page references in the html and epub that correlate to ...
5k views

### How to forbid LaTeX to put text between figures?

I have some figure, which I want to have one right after another in the document. Is it possible to forbid pasting anything inbetween, even if there is some space? \begin{figure}[h!bt] ...
470 views

### Caption spacing in longtable package [closed]

I am using a style file that sets a particular spacing for the List of Figures (LoF) and List of Tables (LoT) in my Table of Contents. However, I am using longtable for all my tables, and it is ...
4k views

### LaTeX placing figures in bibliography [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I am assigning a couple of figures near the end of my document, and it is placing them in the middle of my ...
3k views

### Problem with using quotations in German document [duplicate]

Possible Duplicate: Quotation with double quote and O results in Ö I want to write a document in German. For it I write in the preamble: \usepackage[german]{babel} ...
571 views

### How can I globally set pgfmathsetlength?

How can I declare a length via pgfmathsetlength global? The example results in 20pt -- 5pt -- 20pt But I had expected: 20pt -- 5pt -- 5pt \documentclass[10pt]{article} \parindent0pt ...
108 views

### A command to move forward to a specific (numbered) column?

Suppose I want a \gotocolumn command, with the following behavior: in a tabular with n or more columns, \gotocolumn{n} would expand to the shortest combination of \\ and & necessary to bring us ...
562 views

### ps2pdf produces /undefined in Blue when setting gridlabelcolor to dvipsnames' Blue

latex-dvips-ps2pdf compilation sequence produces a weird result when I change the grid style. The problem does not happen when I compile the same code with xelatex. ...
467 views

### Bibliography tooltips with XeLaTeX and automated workflow [closed]

I would like to make bibliographic entries appear in a popup tooltips (in a supporting PDF viewer) when you hover over the citation key. An approach to realise this was discussed here: Showing the ...
3k views

### fbox in tabular throws missing endgroup

I have to draw a border around my tables, so I'm using \fbox{} (is there a better way?). It works when using a threeparttable but with the normal tabular latex throws an error stating Missing ...
3k views

### Horizontal line of custom length like an —

Is there a way to get a custom-length horizontal line that appears like a "longer em-dash", if you will?
553 views

### Automatically reorder floats to fill page

I have a document consisting only of floats, and I would like to order them so as to use the least number of pages. In my case, each float contains song lyrics, but they could easily be poems or code ...
161 views

### Producing isolated accents

Is it possible to produce isolated accents, with no letters under it? I'm looking for these characters in specific: ` ~ ^ ´ ˆ ˜ ¨