# Tag Info

4

\newcounter{<cntr>}[<within>] will reset <cntr> whenever <within> is stepped. In your case the prnum counter will be reset with every section. However, the representation doesn't include the section counter itself. To include it (similar to what the theorem counter includes), you should change \theprnum: \documentclass{article} \...

3

All labels are written out to the .aux file in lines beginning \newlabel. The mechanism is described in this answer. So looking for all instances of \newlabel in the .aux file will give you the information you are looking for. If using the .aux file for reference, copy it under a new name and use the copy, since the "original" will disappear as soon as the ...

3

Here's my (partial) attempt. I've used the memoir class which supports both sidebars and side footnotes. I found the sidebar slightly easier to set up to do this kind of thing, so I used it, rather than the more obvious side footnote. The heavy lifting is done by some expl3 code which keeps track of verse numbers and cross reference numbers and adds things ...

3

You can make prettyref compatible with babel-french (but the fix will only work with it). \documentclass{article} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{prettyref} % fix \prettyref to first detokenize its argument % kudos to daleif for proposing the simplification \makeatletter \def\prettyref#1{\expandafter\@prettyref\detokenize{#1:...

2

2

You need to provide the instructions \captionsetup[subfigure]{labelformat=simple} % default label format is 'parens' \renewcommand\thesubfigure{(\alph{subfigure})} after loading the subcaption package. See also How to change subcaption numbering? A full MWE and associated screenshot: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{...

1

You can detokenize the label/anchor argument: \documentclass{article} \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage{hyperref} \bibliographystyle{unsrt} \newenvironment{articlereview}[2][]{% \expandafter\hypertarget\expandafter{\detokenize{review:#2}}{\texttt{#2:}}\cite{#2} (#1) }{ \medskip } \newcommand\linktoreview[1]{\expandafter\...

1

It is not very obvious what you want to achieve, and you should show a proper minimal example alongside your questions. However: Do you mean you want to have another title for the references? Then use \printbibliography[title=My Title] Do you want the references to be a subheading of the last section? Then use \printbibliography[heading=subbibliography] ...

1

A good old shell solution :) #! /usr/bin/sh match="grep -THn -A 2 --colour" pattern='\\label{.*}' find $1 -name "*.tex" | xargs -n 1$match $pattern Edit: pass an optional directory argument:$ ./labels.sh chapX, as this may produce some output! Prints all matches with filename, line number and two lines of context (label highlighted).

Only top voted, non community-wiki answers of a minimum length are eligible