Questions tagged [labels]

{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.

Filter by
Sorted by
Tagged with
4
votes
2answers
4k views

How to label an optimization problem with a label such as (P)?

I am trying to write an optimization problem in my document, and for convenience, to define a label to refer to it. I don't want to refer to it as equation (3), which I know how to do, I want to ...
1
vote
1answer
788 views

Labelling and drawing at rotated/shifted objects

I'm trying to draw an image from a mathematical publication (see the crop at the end of my post). You can find a recent version of the drawing at page 37 of my script (PDF). The complete source is ...
65
votes
3answers
23k views

TikZ: Bend text so that it follows a line

I have two arrows going from a node on the left to a node on the right. Both arrows are slightly bent. I want to label the arrows with text that is bent just like the arrows. This is as far as I've ...
3
votes
2answers
3k views

TikZ: position a node depending on width of text?

I need to use TikZ to draw two horizontally-spaced nodes, and an arrow between them, labelled by some text. But the arrow has to be exactly the right length to fit the text, and this will be part of a ...
3
votes
1answer
1k views

vertical subseteq symbol in label of subfloat

Math symbols (\subseteq and \supseteq) are rotated and rendered successfully in text mode with the aid of \rotatebox{}{}. In the commented section below, there is a problem with getting these symbols ...
14
votes
3answers
26k views

Pgfplots: Replace x-axis numbering with labels on confidence interval plot?

Try as I might, I can't seem to replace the numbering on the x-axis with (arbitrary) labels. Here is a half-and-half, where the plot has been done in PGPPlots and I've added two of the x-ticks ...
5
votes
1answer
3k views

Date plot using pgfplots with odd tick label

How do I make the time label in the following image appear as "10:00" (i.e. 10 o'clock) rather than the unexpected and unwelcome "09:60"? Here's the code that I am using: \documentclass{beamer} \...
1
vote
1answer
573 views

Adding labels to graph in xy package

I'm using xy package to draw a simple graph representation. How can I add the labels to the egdes? Here is the code I've produced so far: \xygraph{ !{<0cm,0cm>;<1cm,0cm>:<0cm,1cm>::...
8
votes
2answers
8k views

Label matrix dimensions

I have a matrix equation like Ax=b I'd like to include the dimensions under each, like so \underset{p\times k}{A} \underset{k\times 1}{x} = \underset{p\times 1}{b} The problem is that this is ...
13
votes
3answers
11k views

Label sides of rectangles and triangles

What is the easiest way to label the sides of rectangles and triangles in TikZ?
0
votes
0answers
350 views

Matrix with labels [duplicate]

Possible Duplicate: bordermatrix with blocks I'm attempting to copy the matrix on this page: http://tiny.cc/ipliw with the labels outside the matrix. I can make the matrix (given below) but I don'...
9
votes
1answer
10k views

Putting LaTeX table legend in a “x\y” style [duplicate]

Possible Duplicate: Tables of numbers Is it possible to put a "x\y" style legend in one cell (maybe be made up of several cells) of a table? It would be great to make the 'x' slightly lower while ...
2
votes
1answer
2k views

Edit bibitem labels in BibDesk

For those who use BibDesk on OS X, is there a way to add labels to bibitem entries through the UI? A way to put "label" into the BibTeX item like: \bibitem[label]{key}? When items with labels are ...
4
votes
2answers
3k views

Minted with fancyvrb label

I am using minted for the first time and after reading the docs, I could not find a way to put a label in the code listing. Just to be clear, I am not speaking of the \label of a listing environment. ...
4
votes
2answers
1k views

XeLaTeX and EPS figure with consistent fonts

I'm using Miktex 2.9 and XeLaTeX plus some EPS figures. For consistent fonts throughout the document, I used to play with psfrag or directly use pstricks. I'm facing the situation where none of the ...
1
vote
4answers
6k views

correcting label placement with psfrag

I use LaPrint in Matlab to generate my EPS figures. In the TeX file that accompanies the EPS file with the LaPrint output, I have some PSfrag commands. If we consider, say, the y-axis, I find in some ...
8
votes
2answers
2k views

TikZ: Labeling objects and referencing them

According to the TikZ manual I can use name= to assign a label to the drawings, but when I do the following: \begin{tikzpicture} \draw [ blue, thick, name=e1] (10pt,10pt) ellipse (50pt and 30pt); ...
5
votes
1answer
253 views

Aligning marginal notes with center of line rather than baseline

I would like to have all references in my document (to equations, figures, lemmas, random locations in text, etc.) be numbered in the same series, and I would like these numbers to appear in the ...
51
votes
5answers
18k views

How do I label different rows or columns of a matrix using braces?

I have a matrix enclosed in brackets [ ] (or (), or {}, or |'s, or ||'s): - a b c d - | e f g h | | i j k l | - m n o p - which I want to label like so: R |---| -- - a b c d -...

1
24 25 26 27
28