{ampersand} is specifically about the usage of the ampersand character (&).

learn more… | top users | synonyms

4
votes
1answer
80 views

Optional arguments and &

I defined a simple diagram environment with \usepackage{tikz-cd} \newenvironment{diagram} { \begin{equation}\begin{tikzcd} } { \end{tikzcd}\end{equation} } and it worked fine. In particular ...
7
votes
3answers
122 views

Using & in macro abstracting a tabular's row

I am attempting to create a marco for table rows. This will allow me to change the order of the columns in the future, without having to change the order of the columns in every single row. I have ...
1
vote
2answers
183 views

Using “and” instead of ampersand in natbib in-text citations (“\citet”)

My bibliography compiles well, excerpt that for multiple authors with in text citations, an '&' is displayed, instead of a required 'and'. All solutions on this site I've found so far have failed. ...
6
votes
1answer
74 views

Redefine @ for tabular inter-column specification within \makeatletter \makeatother

I need to use a tabular with a @ inter-column specification within a \makeatletter and \makeatother environment. I. e. I something like \makeatletter %code that uses @ as letter ...
4
votes
2answers
146 views

Why does horizontal space after ampersand becomes less?

Why does the space after the equals sign becomes less if I use the lower code, i.e., if I put ampersand after equals sign? \begin{align*} A&=B \end{align*} \begin{align*} A=&B \end{align*}
2
votes
1answer
103 views

ConTeXt: Substitute em-dash for double-hyphens

Background I am trying to substitute an em-dash for double-hyphens (--) whenever they occur in user-generated text. The fonts that I am using (Chivo and Gentium Basic) result in double-hyphens added ...
34
votes
4answers
3k views

What does a double ampersand (&&) mean in LaTeX?

I've seen several answers that use the double ampersand, but I can't figure out exactly what it does. I tried this out: \begin{align*} \frac{3x + y}{7} &= 9 & \text{given} \\ 3x + y ...
11
votes
3answers
193 views

Cannot use ampersand as argument in user defined command with optional arguments

I'm trying to produce a command for an equation that may or may not be used inside an align element, and therefore sometimes needs a & next to the = to align the equation. I therefore defined the ...
2
votes
2answers
143 views

Using a bib key containing an ampersand (e.g 2000A&AS..143..391S) in table?

I am currently stuck with this issue. The following is a typical .bibtex entry of a paper that I need to reference: @ARTICLE{1996A&A...307L..41V, author = {{Vink}, J. and {Kaastra}, J.~S. and ...
7
votes
1answer
328 views

Change how to enter a matrix in Latex

In Matlab I can create a matrix by typing A = [1 2 3; 4 5 6; 7 8 9], for this the space is a delimiter between the entries of the matrix. I am wondering if there is a package which makes it possible ...
5
votes
2answers
206 views

Transforming string into tabular row

Trying to have a command converting a string into a (tabular) row, where each cell of the row is (a function of) each character of the string. (\tilerow is my attempt, \tiletext is just for ...
13
votes
2answers
825 views

What does ampersand equals mean?

On the wikipedia page: http://en.wikipedia.org/wiki/LaTeX, the first example is \begin{align} E &= mc^2 \\ m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}} \end{align} ...
18
votes
1answer
31k views

How do I use '&' literally in LaTeX? [duplicate]

Possible Duplicate: How to look up a symbol? Escape character in LaTeX In the itemize environment, how do I use the ampersand symbol & without LaTeX trying to use it as a command?
1
vote
1answer
254 views

Small font size for ampersand

I want & symbol in small font size. But \small{\&} produces italicized ampersand symbol like here. How can I get the small fontsize & symbol? Edit: figured out that, the italics was ...
2
votes
0answers
70 views

tikz matrix and beamer [duplicate]

Possible Duplicate: Unknown error using tikz matrix of nodes in beamer I would put the following figure in a beamer slide I tried with [ampersand replacement=\&] but it does not work ...
10
votes
2answers
733 views

Substitute italic ampersand with alternative ampersand in Linux Libertine O

Based in this answer I want to create a command \amper that uses the alternative ampersand of Linux Libertine O and leaves the regular \& alone. The problem with the MWE below is that hyperref ...
6
votes
2answers
429 views

Replacing ampersands in argument

I am trying to define a command which takes as an argument a string containing ampersands, and replaces every ampersand by a space. Following the ideas in Replacing characters in argument strings, I ...
6
votes
2answers
470 views

Use italic ampersand in different sizes depending on environment

This is going to be a little complicated: in the spirit of Bringhurst I am trying to incorporate italic ampersands into headings. I am using a LuaLaTeX modified version of classicthesis, hence the ...
10
votes
3answers
1k views

How to escape ampersand in \acro command?

I am trying to use the acronym package to create an acronym list. The problem is that one of the acronyms I need to use contains an ampersand ('&'). But when I try to compile the .tex file I get ...
8
votes
1answer
142 views

Why does the `&` reset grouping?

In this answer, I used \tikzmark to mark the extent of a typeset piece of text, so I could draw changebars next to it. But it initially seemed that the changebars "disappear" with math-mode content. ...
3
votes
1answer
426 views

Searching for a font with (a different!) special ampersand

does anyone know what's the font used for the "&" in the affiliation (c) in this paper? http://arxiv.org/pdf/1102.0284 and in particular how to do it in LaTeX? thanks in advance (I can't post ...
9
votes
1answer
653 views

Searching for a font with special ampersand

I want to use a special ampersand in a document. I’m therefore looking for, and failing to find, a font that contains an ampersand that looks as follows: (That is, a slashed, rounded “E” letter.) ...
1
vote
1answer
308 views

How to avoid `&` conflict when using `\begin{align}` in a tabular cell?

Minimal CODE \documentclass{article} \usepackage {% array, calc, amsmath, longtable, varwidth% } \newsavebox\TBox \newcolumntype{B}[1] {% @{}% ...
10
votes
4answers
1k views

Use column-separator & (ampersand) inside \newenvironment

I'd like to define a grammar environment which basically wraps a tabular environment. Inside the grammar environment I'd like to use an environment called production to insert rows. Example: ...
22
votes
3answers
4k views

Replace `et al.` with `\& al.`

I’m a big fan of ampersands (possibly too much …) and I’d like to replace all mentions of “et al.” (included in citations) by \& al. – both in the main text (I use natbib citations of the form ...
13
votes
2answers
2k views

Problem with defining shortcuts for TikZ matrices.

For answering a question yesterday I wanted to define a shortcut for creating a matrix inside a tikzpicture. As a minimal example, consider \newcommand\mymatrix[1]{ \begin{tikzpicture} ...