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
0
votes
1answer
83 views

Texstudio suggestions from inside new figure command

because of some ugly corporate design I needed to create the following figure environment/design with the caption on the right side. Problem is, that I don't get suggestions from the label inside the ...
0
votes
0answers
122 views

texstudio cref completion for labels in macros

Is there a way to have completion for cref references for labels defined in a command macro? \newcommand{\midpict}[4]{ \begin{center} \begin{figure}[H] \begin{center} ...
0
votes
0answers
18 views

How can I display the Short Title from \caption[Short Title]{Long description} below the Figure? [duplicate]

I am aware that when using \caption[Short Title]{Longer Description} Short Title is usually used for the List of Figures. Now I would like it to also be displayed below the figure, and in bold if ...
0
votes
1answer
309 views

Figure label caption different for figure and figure index

I have a problem with a figure description. I already found how to put a legend part into a figure index, but below the figure the legend is in two row. How can I fix it in the same row but whiteout ...
0
votes
0answers
38 views

Equation number primed [duplicate]

Many times in mathematics one has an assumption (call it Assumption A) that has an interesting variant (call it Assumption A'). I often see in textbooks Assumption A will be written with an equation ...
0
votes
1answer
52 views

Align only the label of a caption right

I am using caption package and wanted to set the label of a caption (which is in a different line) to be aligned right, but the main text of the caption is aligned left, something like this: How ...
0
votes
0answers
150 views

Custom compound labeling with chemstyle

Even though I made extensive use of the help given from this forum, it's the first time I actually ask a question, so I hope to not mess it up :) I'm writing my chemistry project proposal with LaTeX, ...
0
votes
1answer
100 views

How to add a left bracket in subequations environment while keeping the equation number displayed [duplicate]

There are three equations to be edited, where each of them need an equation label. Besides, the latter two ones need to gathered by a left bracket {. The final result is like this:
0
votes
2answers
41 views

How can I center align a label of a node in pgfplots?

How can I make the label {stable \\ equilibrium} in the below code, so that there is a line break, and with the text center aligned? \documentclass{article} \usepackage{lipsum, pgfplots} \begin{...
0
votes
0answers
87 views

Insert X, Y, and Z labels for 3D Graph in latex (overleaf)

I tried to insert X, Y, and Z labels into the 3-D graph, but I cannot. My Latex codes (I use Overleaf) are like that. Please help me. \begin{figure}[htp] \caption[Caption for LOF]{The Plot of ...
0
votes
0answers
32 views

Can I refer to specific align line numeration, in similar way how I can refer to \bibitem with \cite?

If I make bibliography, then I can make unique name for any position, for example by \bibitem{tutor}, then refer to it in the text with \cite{tutor}. Now, let's say that I am writing some bigger text,...
0
votes
0answers
22 views

How to change the text Bibliography to References in scrreprt [duplicate]

\documentclass{scrreprt} . . . \addcontentsline{toc}{chapter}{References} \begin{thebibliography}{ZZ} \end{thebibliography} What should I add to these lines?
0
votes
0answers
44 views

Auto relabel all labels in a tex file

I have a standard .tex file and I use Kile on Ubuntu 16.04. My question is the following: I would like to find all strings with \label{***} and replace them automatically with \label{***_B}. How ...
0
votes
1answer
233 views

Right Aligned labels lists of non-math text

I'm trying to produce a labelled list of axioms like so: \documentclass{article} \usepackage{amsmath, amsthm, amssymb} \begin{document} \begin{itemize} \item[(Reflexivity)] For all $a \in P$ we ...
0
votes
1answer
14 views

Use different tags for different terms of the same unlabeled equation [duplicate]

I have a long equation (but that fits in just one line), with three terms: \begin{equation*}\label{eq:threeterms} A = \underbrace{A_1}_{(1)} + \underbrace{A_2}_{(2)} + \underbrace{A_3}_{(3)}. \end{...
0
votes
0answers
160 views

How to annotate a figure with latex? [duplicate]

I would like to annotate a figure with subfigures using latex such that the columns are labelled 'models' 1 -3 and rows labelled 'parameter 1 - 5'. Here is an example of desired output: The only ...
0
votes
0answers
36 views

Equation labelling - automatic updating and format change [duplicate]

I am currently writing my physics bachelors thesis and it is the first time i have written a document in latex. I have two questions: The current document class is article, i have partitioned my ...
0
votes
0answers
16 views

Figure labels not showing up [duplicate]

I have the following code: \documentclass{article} \usepackage{graphicx} \begin{document} Introduction \begin{figure}[h!] \includegraphics[width = 0.5\textwidth]{example-image-a} \label{fig:a} ...
0
votes
0answers
365 views

numbering equations sectionwise [duplicate]

I have align environments in each section of my TeX file and I use \numberthis\label to label the last equation in the align environment. But this labels or numbers the equations in the order they are ...
0
votes
0answers
30 views

Automatic text for labeling lemmas, examples etc [duplicate]

If I label an equation I use \label{bla} \eqref{bla} since then it automaticalls copies the number of the equation e.g. 1.1 and with \eqref{bla} I get (1.1) with the link to the equation - perfect.....
0
votes
1answer
348 views

Left Side Caption on Graphics

I have an included graphic in my report generated with this code: \begin{figure} \centering \captionsetup{justification=centering,margin=2cm} \begin{center}Class guessed by the program \...
0
votes
0answers
13 views

\ref{table:x} PROBLEM [duplicate]

this is my simplified code: Text ... \ref{table:x} and \ref{table:y}. \begin{table}[!h] \begin{tabular}{lcc} \toprule AAA & BBB & CCC\\ \midrule DDD & \( 1 \) & \( A ...
0
votes
1answer
85 views

create a line of labels above and for each subimage (using includegraphics)

Here is my code: \begin{figure*} \begin{center} \includegraphics[width=1in]{ch_f_25-eps-converted-to.pdf}\includegraphics[width=1in]{ch_f_30-eps-converted-to.pdf}\includegraphics[width=1in]{ch_f_35-...
0
votes
0answers
29 views

When is it the good time to label formulas and how to organize the labels? [duplicate]

When writing an article in LaTeX, I don't usually have a specific formula in mind that might be refereed to later. So I have to label all of them. I find manually adding \label{} slow. Is there a ...
0
votes
1answer
119 views

How to create cross-references in a Mail Merge

When I wanted to make a mail merge in which I used \label{} and \footref{} I got the warning There were multiply-defined labels and also the reference pointed to the last label with the same name. I ...
0
votes
1answer
475 views

enumitem: multiline label with text following label

How can I make a multi-line description label with the description following the label instead of under the label, on a new line? I currently use: \usepackage{enumitem} : \setlist[description]{...
0
votes
1answer
226 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
0
votes
0answers
25 views

priming labeled arrows correctly

Using two macros to get the labeled arrows and its primed counterpart: \newcommand{\labarrow}[1]{\ensuremath{\overset{#1}{\rightarrow} }} \newcommand{\labarrowprime}[1]{\ensuremath{\overset{#1}{\...
0
votes
1answer
776 views

Customized bold labels for enumerate [duplicate]

I would like to have bold enumerate labels that both have a Roman numeral and a custom text in them, like on page 26 (pdf page 2) of http://www.ams.org/bookstore/pspdf/stml-48-prev.pdf. I'm using ...
0
votes
0answers
59 views

How to make a test on the current page number? [duplicate]

How could I test whether some label is on the current page, or on the previous or next one. Typically I would like to build a macro \onthispage{label}{text1}{text2} which would print text1 if the page ...
0
votes
0answers
114 views

Label at the end of document is lost, bug?

I'm having a long document in memoir at the end of which I set a label, and so far it has worked. I did some changes to my document, at unrelated places, and suddenly I'm getting the warning that that ...
0
votes
1answer
699 views

Side by side figures with side captions

I want my figures to be side by side with a side caption, and I thought I had succeeded in doing this until I've realised every time I have two figures side by side it will label this, say, Figure 1, ...
0
votes
0answers
22 views

Label and Ref with Table [duplicate]

I defined a Table with lable the following way: \begin{table}[t] \centering \begin{tabular}{|c|c|} \hline Transaktionsnummer & Enthaltene Items \\ \hline 1 & f,a,c,d,g,i,m,...
0
votes
0answers
144 views

Dealing with strange character in arabictex using TeXnicCenter

I'm using TeXnicCenter 32bit on Windows 7 and i want to try Typesetting a document using Arabic script i tired to read Typesetting a document using Arabic script and https://www.sharelatex.com/learn/...
0
votes
0answers
161 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
0
votes
1answer
488 views

Show table caption only on first page [duplicate]

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
0
votes
0answers
167 views

Calling filename@parse inside a command definition fails [duplicate]

I am trying to redefine \includegraphics to both auto-label the included figure and to restrict the maximum width. The auto-labeling is done by transforming the base filename to camelcase using the ...
0
votes
0answers
93 views

Label in cyclic arrow diagram [duplicate]

Consider the following code from TeXample.net: How to refactor it for adding sloped labels on the outside of the arrows? Do you have a more elegant solution with TikZ? % Overlapping arrows % Author: ...
0
votes
0answers
82 views

Global label in a LaTeX “align” [duplicate]

I use \begin{align} \label{blah} ... \end{align} in order to do equations of multiple lines. Unfortunately the equation number (coming from label{blah}) is not centered vertically in the middle of ...
0
votes
1answer
5k views

`\ref` including “lemma”, “theorem”, “section” or whatever [duplicate]

Possible Duplicate: How to get more complete references \ref itself only prints the number of whatever I am referencing - e.g. a chapter/section/subsection or a theorem/lemma/definition (from ...
0
votes
0answers
347 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'...
-1
votes
1answer
112 views

LyX how to reproduce a label [closed]

What can I do in LyX to to reproduce (borders included) you can find a source file (.odt) for the label at address https://mega.co.nz/#F!x1Bx1QaB!wVg-o2BV_RX97PveXMpBGA
-3
votes
1answer
225 views

How to manually reference figure so that fonts are consistent [closed]

I have a pdf figure that includes subplots (e.g. a,b,c, etc) but these subplots are not part of latex, they are in the actual pdf. I have actual latex subplots later in my paper. When I reference ...