# All Questions

338 views

### Table name not appearing properly in ref

Referring to the body below, I would expect ~\ref{atts} to produce Table 1, but instead, it gives just 1. What is the issue here?
364 views

### How to make a cell content take up multiple lines

I am creating a table where some cells would contain very long text. For these cases, I want the content of this cell to take up multiple lines. With the default implementation, after building , I see ...
2k views

### Is there any AMS TeX or LaTeX macro for background color in math-mode

Is there any way to display math expressions with a background color (highlight) using AMS-Tex or AMS-LaTeX . For example, using AMS-TeX/LaTeX, we can display a math expression in font color using \...
1k views

### Why doesn't \renewcommand{\ref}{\autoref} change \ref into \autoref?

First off, I'm very grateful of the help this community has provided me so far. Anyway, to my problem: I feel like I'm missing something obvious here. I want... \documentclass{article} \usepackage{...
1k views

### Extend a frame to two pages

I am using beamer to create slides for presentation. I am trying to put 4 equations with numbers from 1 to 4 in two pages. in short, how can I extend a frame to two pages?
651 views

### Package conflict between eso-pic and wallpaper

The following code gives me a conflicting options message. Does anyone know if there is a way to fix it? \documentclass[10pt,landscape]{article} %\input{this-preamble} \usepackage{wallpaper} \...
244 views

### Setting Knitr options

The following code chunk doesn't work I get an error message and it disrupts the compilation of my document. Not sure if anyone has any ideas? Very M WE below. As @Speravir pointed out, not sure it ...
2k views

### customizing moderncv \section title style

I would like to customize \section style in order to have the following title (forget the horizontal line) : I imagine that I need to modify the following definition: \renewcommand*{\section}[1]{%...
884 views

I am trying to highlight equations of a linear program starting from buttom and add constraints to the highlight. Here is my MWE: \documentclass{beamer} \usepackage{lmodern,amsmath,amssymb} \...
1k views

### knitr with TeXworks

There is a great piece on Yihui's site about using knitr with TeXShop. Taking some time for some self indulgent curiosity here. Is there a way to use knitr as an engine in TeXworks?
615 views

### Plain TeX and different hyperlink styles in dvi and pdf

I use the harvmac macros to write papers with plain TeX, and harvmac loads the hyperbasics file to enable hyperlinks. However I can't figure out why the hyperlinks have a different appearance in the ...
12k views

### Mac OS LaTeX install not compiling bibliography

I have recently installed LaTeX on my Mac using the standard MacTeX package. I have 2 documents (my thesis and a paper I'm writing) and I have tried to compile both. Neither will compile the ...
1k views

### Controlling placement of figures in text [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? How does one manipulate the placement of figures within text? I can't seem to control ...
2k views

### How to include eps files in Plain TeX? [duplicate]

The title stands for itself. If it is not possible, how does LaTeX import an EPS file using \includegraphics?
307 views

### Store results of a calculation automatically under a new macro name

As I am now accessing values from tables via a macro to make dynamic references in the text (see here) and make calculations with it, I need a way to make the resulting variables under which the ...
19k views

### URL package installed but cannot be found by pdflatex [closed]

I recently installed a full version of TeXLive 2012 (around 3.2 GB installation). Following is a simple LaTeX code that I am unable to compile: \listfiles \documentclass{article} \usepackage{hyperref}...
2k views

### Listing with background color not line breaking correctly

I'm working on a project where I want to display an amino acid sequence. I want to let tex decide where to put the line breaks, but it doesn't seem to work in conjunction with highlighting certain ...
21k views

### \xRightarrow (text)

I know it's possible to have \xrightarrow (text), but if I try to do \xRightarrow (text) I get an error each time. Does anybody know if it's a syntax error or if there is a other way to produce the \...
2k views

### drawing a syntax tree in tikz

I would like to draw a syntax tree, which resembles the below syntax tree. I know that I can use tikz to draw syntax trees, but I can't seem to figure out how to draw a straight line down to a node, ...
368 views

### a table, fully in highlight background

how can i have a table in highlight background like the following? (preferably without using Tikz package)
305 views

### linenumbers of minted are not shown in beamer if i use infolines

linenumbers of minted are not shown in beamer if i use infolines as an outertheme example: \documentclass{beamer} \usepackage{minted} \usetheme{Warsaw} \useoutertheme{infolines} \...
901 views

### Unable to make symbol similar to bowtie or lrtimes

I wish to write something like this in latex: I tried using \lrtimes and also \bowtie, but none is able to give me the correct output. Also, i had problems getting that {task1} below the symbol. ...
243 views

### Auctex previews

I am using PSTricks and trying to generate an inline preview with auctex for part of a document. This works fine if I surround the whole thing in $signs like$ \begin{pspicture} ... \end{pspicture}...
1k views

### How to view .xdv files?

How can I view eXtended DVi files in a computer? These are the output of the command xelatex -no-pdf. I am particularly interested for the solution on a Mac, but please comment on other platforms as ...
6k views

### Equivalent of \ker for the image of a map

I know I can use \ker in place of \text{ker} to denote the kernel of a map. Is there a similar command for the image of a map? Even if I define my own command like \newcommand{\Ima}{\text{Im}} ...
319 views

### Is it possible to shade an area of a picture using the xcolor package?

I want to shade an area of of picture I have created in the environment \picture. Is there anyway I can shade this by setting it between co-ordinates? i.e. could I shade in blue the area between (1,1),...
86 views

Some equations are sometimes slightly too wide. One way is to manually add \! commands wherever it seems relevant in the equation. Is there an automatic alternative to: x\!=\!y\!+\!z
136 views

### Tikz: using functions for calculaton x, y parts of the coordinate in the stream of path operations

Is it possible to write something like this? \draw[dotted] (pi*0.5,sin(pi*0.5)) -- ++(10,0); I would like to use the trigonometric functions when entering x, y-parts of the coordinates. I got ...
41k views

### BibTeX error in TexMaker {I couldn't open file name `test_bb.aux'}

I am using Mikitex + Texmaker for writing a IEEETrans paper and i am a novice in all this. I have a test file which I am using for understanding how to insert bibliography. Thus, I have two files ...
45k views

### How to get n=1 under Product character (\prod or \Pi) [duplicate]

Possible Duplicate: Show inline math as if it were display math Whenever I try to get something below the product character, it actually puts it next to it. The recommended code to do this is ...
839 views

### put two images on the same slide

sorry to bother you but I'm quite new in Latex. I would like to put two images in a presentation, better in one slide in this way: image1 image2 the two images will go one under the other and ...
246 views

### Separation of citations on two lists without packages

I have to separate my citations on two lists: Preliminary Work (Own Papers) and the standard Bibliography list. The references to the standard Bibliography list should be numbered and cited with ...
549 views

### grid for textpos layout

This could be a too obvious question. I'm trying to lay things out on a page and I'm having to recompile a lot. I'd like to layout a grid using \TPHorizmodule and \TPVertmodule (from the textpos ...
309 views

### XeLaTeX on OS X doesn't recognise some diacritics signs

I've just moved to OS X 10.8.2 from Ubuntu. I have TeX installed as I guess from tug.org, but I'm not sure since it wasn't me who installed it. All my files created in Ubuntu compiles exept one ...
10k views

### PDF viewer with auto update for WinEdt

Is there a PDF viewer featuring auto update for WinEdt? [WinEdt V 5.5 on WinVista machine] I find WinEdt very comfortable to work with but the fact that one has to re-open Acrobat after every ...
7k views

### Proof environment - line break after the “Proof.”

I want to make the proof environment in amsthm package to auto add a line break right after the "Proof." I tried the following code, which also removed the QED sign, but it doesn't work: No linebreak ...
496 views

### Latex Standalone always rebuilds / apostroph in filename?

I have started toying around with Martin Scharrer's standalone package because tikz external does not work with todonotes and I feel that the workflow for standalone makes more sense as far as I have ...
2k views

### In a tikzpicture, how can I “shift” by a multiple of the current x-vector (say)?

Suppose that I have a tikzpicture begun like this: \begin{tikzpicture}[x = 20mm, y = 10mm] Now let us suppose that I want to put a subpart of the picture inside a "scope" environment and I want all ...
685 views

### How to draw oval with FeynMP?

Is it possible to draw oval shape with FeynMP? Here is a mwe for a blob [which is a a circle]: \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{...
591 views

### parallel arrows in pb-diagram

It is possible to get two parallel maps (one pointing to the left, the other to the right) between two nodes using pb-diagram? I know it can be done with TikZ, and maybe with some other package, but I ...
2k views

### Please improve my logo to resemble our TeX.SX logo

It is free to use TikZ or PSTricks to answer my question. I want to recreate our TeX.SX logo. But my attempt is far from perfect. Please help me to make it more similar to the original one. \...
434 views

### How to multicite volumes style-independently

This question led to a new feature in a package: biblatex The family of multicite commands based on \cites typeset two or more citations from a list of keys. For example, \parencites[<page>]{...
135 views

### How to have \section{…} numbered as if it were a \subsection{…} but keep the same formatting

So I'm a student writing chapter summaries for final exam preparation. I'm using the 'article' documentclass and am using separate documents for each chapter. How can I have \section{...} numbered as ...
8k views

### What are LaTeX templates for A5 booklets?

I am trying to produce a A5 size booklet. You might have seen these old small A5 size math books, with large size text in every page. They are very comfortable on the eyes to read and handy to hold. ...
2k views

### Current line highlighting in TeXstudio

I modified color scheme of editor to use darker colors, but there is no current line highlighting option. So I can't remove bright white highlighting of the current line. Is there a way to disable ...
100 views

### Skipping sections when compiling (without \include)

I'm writing a semi-long report with ten-ish sections - in other words, just short enough so that it's practical to keep it all in one file without getting lost. However, for compiling it'd be ...
10k views

### Colored symbols

First of all, I apologize if this is a repetitive question. I searched, but couldn't find it. I was wondering if I can change the color of symbols in latex. For example \ast always give me a black ...
515 views

### Make backrefs invisible in hardcopy

Is there a way to make bibliography back-references display and hyperlink in a PDF file but not print in a hard copy. When I use \usepackage[colorlinks=false,backref=page]{hyperref} I get a red ...
I am trying to put the following into LaTeX, using math mode. $\urcorner \box (Alarm = On \wedge DoorControls = Enabled)$ This is an LTL statement, when I inserted the above everything is ...