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

learn more… | top users | synonyms (1)

5
votes
1answer
83 views

How label position and color can be modified in tikzpicture in posters?

I am working on a poster with fancytikzposter package, I cutted out the problematic part, it can be downloaded from here. I created a tikzpicture inside the poster and some problems occured: ...
5
votes
1answer
92 views

How to combine hyperref and eqref

\documentclass{scrartcl} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage[colorlinks=true,linkcolor=green]{hyperref} \begin{document} \begin{align} ...
5
votes
1answer
119 views

Hidden or Misplaced Node Labels when using Tikz Graphics Package

I want to place a node label onto a Tikz figure (underneath the axis at a specific point), in order to indicate some interesting behaviours on a selection of smooth curves. The following "Simplified ...
5
votes
1answer
285 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
5
votes
1answer
221 views

Bibliography with biblatex: how to create additional labels using authoryear-style?

I've got a problem with my bibliography. I'm working with biblatex using authoryear-style. I did some modifications for my semester paper, but there's still one problem left: I'd like to display ...
5
votes
1answer
934 views

Use math font for TikZ arrow labels

I am trying to make arrow labels look like they are written in math mode. This is what I have: This is what I want , I tried to use different fonts but without success. This is my code: ...
5
votes
1answer
89 views

How can one put labels over an image?

This question is slightly different from Drawing on an image with TikZ. What I'm asking is how can I put a vertex label, at a particular point (x,y), on an image of a graph in TikZ? \begin{center} ...
5
votes
1answer
563 views

autonum does not like \ref in a \caption

The following is a minimal non-working example of a reference to some label within a caption while using the autonum package. \documentclass{article} \usepackage{autonum} \begin{document} ...
5
votes
1answer
2k 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} ...
5
votes
1answer
57 views

Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...
5
votes
1answer
55 views

How do I feed evaluated references into this sorting routine?

Below is some code I cobbled together from examples found on the net. I would like the sorted list routine to use the results of evaluating \ref rather than using the literal argument of \ref. ...
5
votes
2answers
238 views

Labeling node values on the axes

I want to draw some curves and some special coordinates on the curves, then label the nodes on the axes. So far I have done it manually like this (it's a diagram for the Markowitz risk premium in case ...
5
votes
3answers
196 views

How can I Insert Additional label on the z-axis in ternary diagram?

I need help on how I can insert additional label X_{Bi} on the z-axis of the subfigure in my ternary diagram. In the example shown below I can only insert it at a location too far away from the middle ...
5
votes
2answers
452 views

equation labels inside a nested align and aligned environment

I'd like to have several equations aligned pair-wise in, essentially, two columns, but with individual labels for each equation and/or for each line (where one line displays two equations). I have ...
5
votes
1answer
506 views

Is it possible to refer to node label and reuse it for labeling other nodes in tikz?

I would like to "reuse" some nodes' labels, as in example below \documentclass[a4paper,12pt,oneside,titlepage]{report} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ label ...
5
votes
1answer
91 views

customized caption and label for adjustbox

The question is a follow up of the question posted here how to make adjustbox work correctly . \documentclass{scrartcl} \usepackage{adjustbox} \usepackage{wrapfig} \usepackage{lipsum} ...
5
votes
2answers
174 views

Left-justified equations with left tags (so it looks like an enumeration)

I want to make a math enivornment (preferably a customized align/flalign environment) with left-justified/left-aligned equations (as it is possible with the flalign environment) and left-aligned tags ...
5
votes
1answer
532 views

How to make a single barplot with different yticks, ytick labels and ylabel on its left and right side?

I have earlier asked two questions here related to barplots and labels/ticks for double y-axes: (1) How to make an xbar plot, with pgfplots, having different y tick labels on the left and right side y ...
5
votes
1answer
952 views

Including package to create MATLAB labels using LaTeX

When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible? As of now I know no method to create non ...
5
votes
3answers
332 views

Change enumerate label alignment in Beamer

I would like to add enumerated lists to a Beamer presentation. Here is a minimal example: \documentclass{beamer} \setbeamertemplate{enumerate subitem}{\Alph{enumii}} \setbeamerfont{itemize/enumerate ...
4
votes
2answers
782 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

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
3answers
5k views

How can I label \rightleftarrows above and below?

How can I label $\rightleftarrows$ above the top arrow and below the bottom arrow?
4
votes
2answers
654 views

Nested labeled colored boxes with TikZ

I need nested boxes, as they are shown in this question, but colored ones. I tried both solutions. Using shapes.multipart I totally failed when tried to generate the nodeparts by a foreach command. ...
4
votes
1answer
124 views

Non-ASCII character in label

Here's my MWE: \documentclass[norsk]{article} \usepackage{babel} \usepackage[utf8]{inputenc} \begin{document} \begin{figure} \caption{Skjærgårdsøl} \label{Skjærgårdsøl} \end{figure} ...
4
votes
2answers
162 views

Labels in diagram too far from lines

I'm having trouble with the labels in my diagram. I want them closer to the lines, but I can't seem to find a way. Is there any way to put the labels closer to the lines? Here is the code: ...
4
votes
2answers
92 views

list of current labels in lyx

I would like to see all the currently created labels in my document in LyX. I am creating a label and this label already exists somewhere in my document. Lyx relabels my item adding a "-1" to it. When ...
4
votes
1answer
143 views

An equation tag which goes over two lines

I would like to make an 2-line equation tag, for a single equation. I am using the \tag command, and it works as long as I don't store a label for the equation. The moment I store a label, LaTeX barfs ...
4
votes
2answers
580 views

Equation numbers of different types within a same document

I want to display the equation as (1) , (2), (3) and so on...... for one set of equations (section) and then I want to display the other set of equation (in another section) as (a), (b), (c), ...... ...
4
votes
1answer
3k views

How to place a textnode at the center of a drawed rectangle

A rectangle label does not appear inside the rectangle but on the corner of it. \tikzstyle{every node} = [align=center] \begin{tikzpicture} \draw (0, 0) rectangle (2, 2) node [center] ...
4
votes
2answers
528 views

Start a new line in label using pgf-pie

I'm using pgf-pie. It is not a standard package. I found it on google code. As its name, it is used to create pie chart. \begin{figure}[htp] \centering \begin{tikzpicture}[scale=0.9] ...
4
votes
2answers
113 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
4
votes
2answers
2k views

How to make an xbar plot, with pgfplots, having different y tick labels on the left and right side y axis?

I am making an xbar plot with pgfplots. I want this plot to show the results from a test, where people in different age classes are given scores. For each of these age classes a single person is the ...
4
votes
1answer
217 views

how to label equations in this way?

Suppose Alice has an equation labelled by (3). After several pages, she wants to label a new equation by (3)', to indicate that the new equation (3)' is an analog of (3). How does she type in Latex to ...
4
votes
1answer
294 views

Centering bars on xticks in pgfplots

My wife is working on her master thesis and we are trying to make some bar graphs to use with it. We have managed to create a nice-looking graph, but the labels/xtick does not align in center. When ...
4
votes
2answers
114 views

error while drawing currents in circuitikz

This is my first complete circuit in circuitiks. I'm trying to draw a circuit to show Kirchoff's Law. I was able to draw the nodes and voltages, but putting currents with arrow is giving me trouble. ...
4
votes
2answers
72 views

Combine showing multiple figure labels

I have two sub-figures in a figure (say Figure M) called a and b. How can I combine showing multiple figure labels like this? Figure Ma and b P.S. I can easily get the following figure labels by ...
4
votes
3answers
196 views

How to avoid the poles of the voltages to overlap the resistors?

Using this code in circuitkz I get this circuit \begin{circuitikz}[american] \ctikzset {voltage/distance from node=1}; \draw (0,0) to[battery,l=V] (0,2) to[R,l^=$R_1$,v=$V_1$] ...
4
votes
1answer
124 views

Beamerposter does not automatically change font size of equation number

I'm using the beamerposter package. While I'm able to change the font size of my equations, I cannot change the size of their corresponding labels. Consider the code below as a MWE. Is this ...
4
votes
1answer
1k views

label curve and/or contour name created with pgfplot via gnuplot

I will want to name different contour as one can see it on topographic card. How to do that? I want label on different curve with the parameter that distinguish the curves. I have created 10+10 curves ...
4
votes
2answers
2k views

How to create a figure with latex labels and handling transparency in gnuplot?

I am very fond of latex labels in my gnuplot figures, and the way I generate most of them is via the pslatex terminal. Here, I would like to take advantage of transparency in a figure (superimposed ...
4
votes
1answer
23 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...
4
votes
2answers
48 views

Labels not referencing correct number figure

I have a report where it's required to have sections from another report both in the main body as well as in an appendix, and I'm including them by using the \input{some_section} command. I'm ...
4
votes
1answer
114 views

Arrows and label for equivalent resistance with Circuitikz

I have the circuit in black. But I would like to add the red part (label and arrows, no matter the color) using Circuitikz. Here is the code I'm using: \begin{circuitikz}[american, scale = 0.7, ...
4
votes
1answer
311 views

Differing left and right axis labels in psplot

This question is related to psgraph with y-axis on left and right of graph and axis labels but can stand alone, as it is really about loops and variables. I'm really sad that I have to ask this ...
4
votes
1answer
523 views

Labeling a box in tikz

As shown in the working example below, I have red box around all the boxes. I want to label the box but I couldn't manage to do it. I tried to use some of the ways in given in the tikz examples but I ...
4
votes
1answer
79 views

Label inside mdframed messes up spacing

I have a problem with mdframed in combination with \parskip and \label. Consider the following code, which is a MWE stripped down from a large document. \documentclass{article} ...
4
votes
1answer
278 views

Positioning Labels in Asymptote

How can I control the position of the $x$ label below? Created with draw("$x$",O--X,blue,Arrow3) I know I can manually control label positions with label("$x$",<position>,blue), but is there a ...
4
votes
1answer
196 views

circuitikz label malfunction

This may be a total newbie problem, but I cannot find a single reference of this behaviour anywhere I look and thus this question: This is my code: \documentclass{article} ...
4
votes
1answer
320 views

How to remove multiply-defined label in pgfplotstable using longtable

I need to add caption to a longtable possibly with a label to reference in text, however SIAM format fails when it encounters multiply-defined labels because of the repeated caption. Is there an easy ...