Linked Questions

0
votes
0answers
71 views

Increase \label{} counter manually [duplicate]

I use my own version of subsections for definitions: \newcommand{\definition}[2]{\addtocounter{subsection}{1} \subsection*{\thesubsection ~ Definition (#1) \text{\normalfont{#2}}}} I use them as: \...
5
votes
2answers
3k views

Working with labels

I'm not quite sure what the problem is, so I'll just post a MWE: \documentclass{article} \newcommand\twolabels[2] { \label{my:#1} \label{my:#2} } \begin{document} \twolabels{4}{a} I have ...
7
votes
2answers
399 views

Setting a counter for sections

I prepare a document where there are questions as follows and the relevant content \section*{Question 1} ... \section*{Question 2} ... \section*{Question 3} ... ... I want a counter instead of ...
7
votes
1answer
2k views

Tikz picture flowchart with labels inside blocks and referencing them in the main text

I need a way of putting labels inside the blocks of a flowchart, have them numbered or enumerated in some way and then reference the blocks in the main text. I need the hyperlink to go directly to ...
6
votes
4answers
137 views

How do I reference a custom counter that shows the section number?

I am trying to use the proof environment that comes with the amsthm package. And I would like the proof environment to be numbered, such as the theorem environment for the sake of adding a label, so I ...
3
votes
4answers
835 views

Customise my own subsubsection numbers

I am trying to write a thesis and would like to number the subsubsection titles within a section easily so I can refer to them nicely and easily later on in the document. Here is what I have at the ...
1
vote
1answer
267 views

Referencing todonotes by custom counter value?

I have my todonotes set up as follows: \documentclass{article} \usepackage{tikz} \usepackage{todonotes} \usepackage{hyperref} \usepackage{setspace} \usepackage{kantlipsum} \newcounter{todoListItems} ...
3
votes
2answers
70 views

Can I reference a number relative to a counter without changing the counter?

I have a counter called LCount, which I want to use in some text, and i would like to be able to reference numbers that are relative to that counter. for example, I would like this LaTeX code: For ...
1
vote
1answer
49 views

Labelling a custom counter inside align env

I created a new counter and new commands to label and refer to this counter (the latter looks redundant here because I stripped away some formatting I have in it) according to this answer. As the ...
0
votes
1answer
58 views

Special section names and counter in memoir with cleveref

I'm trying to have separately numbered "Resource" sections in a memoir document, but have produced clevereferences that refer to the "current" Resource counter value instead of the referenced Resource'...
0
votes
0answers
41 views

How to add custom numbering to sections or subsections?

I would like to have subsections with "parts" like the following code but possibly managed automatically. \documentclass{article} \begin{document} \section{Lorem} \subsection{Ipsum part 1: Foo} \...