{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.
8
votes
2answers
830 views
Matrix with arrows and labels
I would like your advice on writing a matrix with latex. In order to explain the meaning of the rows and columns, the matrix should be surrounded by two arrows, one on the left side pointing downward ...
4
votes
1answer
356 views
Label near start when using myncbar
My problem is quite simple, yet i can't find answer.
Pre:
\usepackage{tikz}
\usetikzlibrary{matrix, shapes, arrows, positioning, fit, calc}
Styles:
\tikzstyle{decision} = [diamond, draw, ...
4
votes
1answer
1k views
Using [midway] to label a curved path at its centre
I am trying to label two curved paths connecting two nodes with labels placed at their centres using the node[midway] option. This is something that should be very simple but I have not been able to ...
8
votes
2answers
229 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}
...
17
votes
3answers
581 views
Draw dimension of a line as a decoration in TikZ
Is it possible to define in TikZ a new decoration or something like that, such that it is possible to write something like:
\draw[dim={text,above}] (A) -- (B);
\draw[dim={text,below}] (C) -- (D);
...
4
votes
2answers
292 views
Adding labels to a formula
I have a diagram like this, explaining a formula:
\documentclass{article}
\usepackage{stackrel}
\begin{document}
$\stackrel[e+f+g+h^i]{a^b}{c d}$
\end{document}
For this example, I have removed ...
4
votes
2answers
1k views
xlabel on top axis in pgfplots
I managed to get the x tick labels on the top axis of a plot, but the label of the x axis is still on the bottom axis.
I couldn't find an option to get it to the top axis. Is this possible?
Minimal ...
3
votes
2answers
1k views
Bar plot labels and grids
\documentclass[a4paper,11pt]{report}
\usepackage{tikz}
\usepackage{verbatim}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title = {Optimalization based upon co-occurences},
...
8
votes
2answers
506 views
pgfplots: two labelings for a single 3d plot
I am trying to add a second labeling to my 3d plot, but I can not figure out how to do it correctly. The idea is to add a second axis without any grid, ticks, lines and nothing but labels and overlay ...
1
vote
1answer
866 views
the limit arrow: its label too high
My question is an extension of this one. I have the command
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$a_n \xrightarrow{\scriptscriptstyle n\to\infty} 0$
\end{document}
which ...
5
votes
1answer
244 views
pgfplots axis descriptions from file
I was wondering if there is any way to make pgfplots read the xlabel and ylabel from a file.
This is similar to this question Using Labels from a File in PGFplot but I'd like to read the column ...
3
votes
1answer
1k views
fleqn and \eqno together?
It seems that I can not use together
fleqn option [to move the equations to the left] and
\leqno [to give a hand-made label to equations].
Any suggestions?
6
votes
1answer
253 views
Equation tag in twoside-mode outer
At the moment I thinking about the following think. When I use the twoside mode to write a book I want to print the number of the equation outer.
I can modify it manually with these two commands:
...
2
votes
2answers
925 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
603 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 ...
18
votes
3answers
3k 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
1k 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
466 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 ...
4
votes
2answers
2k 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
993 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}
...
0
votes
1answer
252 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{
...
5
votes
2answers
2k 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 ...
3
votes
1answer
772 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
285 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 ...
5
votes
1answer
1k 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 ...
2
votes
1answer
537 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
1k 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. ...
3
votes
2answers
682 views
XeLaTeX and EPS figure with consistent fonts
I'm using Miktex 2.9 and XeLaTeX plus some EPS figures. For consistent fonts along the document, I used to play with psfrag or directly use pstricks. I'm facing the situation where none of the above ...
0
votes
3answers
1k 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 ...
7
votes
2answers
590 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 ...
4
votes
1answer
180 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 ...
29
votes
5answers
5k 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 ...