Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [fancyref]

{fancyref} is for questions dealing with fancy cross-referencing.

Filter by
Sorted by
Tagged with
2
votes
1answer
57 views

Language settings (fancyref) with fontspec and polyglossia

I have problems getting fancyref to properly work for German together with the fontspec/polyglossia set-up. This is the bare set-up without any language settings: \documentclass{scrartcl} \...
9
votes
2answers
2k views

What's the convention for label prefixes?

fancyref's documentation gives the prefixes chap, for chapters sec, for sections eq fig tab enum, for ``Enumeration'' fn, for footnotes The LaTeX Wikibook has some differences, ch instead of chap ...
0
votes
1answer
133 views

Stylistic question regarding \label and fancyref: what to do with redundancy?

Suppose you are writing a document that is fairly structured, e.g. documentation to a package or a compound thesis describing many experiments. One may come across redundant section titles e.g. ...
2
votes
1answer
152 views

fancyref's \fref produces a line which is to long

I have the problem, that the line, where I have a \fref, is longer than the lines in the rest of the document. I am using KOMA Script with latexmk and xelatex, to generate the document. I have ...
0
votes
1answer
157 views

adding a lable to a newcommand in the preamble using mhchem and fancyref

I'm using [version=4]{mhchem} and fancyref as packages. In mchem's manual there is a code given for the preamble that allows easily to enumberate the chemical equations like the normal equations: \...
4
votes
1answer
291 views

Fancyref with fmtcount

When I use fancyref with the vario package option: \usepackage[vario]{fancyref} \newcommand{\figvref}[1]{\figurename~\vref{#1}} \newcommand{\tabvref}[1]{\tablename~\vref{#1}} The above would produce ...
3
votes
1answer
712 views

Using tikz to create fancy Table of Contents

I am trying to create a fancy thesis style and I am stuck in the table of contents. I am adopting Pluton's idea from How to customize the table of contents using TikZ? but I get an error stating that ...
1
vote
0answers
18 views

Fancyref using wrong table number [duplicate]

I am currently working on my thesis and I discovered a nasty problem. I use the following code to reference a table: \fref{tab:alternatives} Now I defined the table like this: \begin{table}[h] \...
5
votes
1answer
531 views

How to change Fancyref's page numbering behaviour?

I am using the Fancyref (\Fref{}) package for cross referencing but every reference is in the form "Figure 4 on the next page". How can I tell the package to only include "on page xxx" if the ...
3
votes
1answer
2k views

Different fancyref strings for different reference targets?

I use fancyref with the default prefixes (chap:, fig: and so on). I'm not entirely happy with the way the references are generated when the referenced object is on a different page. For tables and ...
6
votes
1answer
633 views

How to define a macro which declares a fancyref prefix? How to prevent it from outputting text?

In a LaTeX document, I use the fancyref package for in-document references. However, I need a bunch of custom prefixes to reference lemmas, definitions and theorems, which fancyref dos not provide. ...
5
votes
1answer
2k views

How to extend fancyref for listings?

I use a listings environment to format source code such as a JSON file. \begin{lstlisting}[label={lst:json-example},caption=A JSON example] { "title" : "JSON specification", "author" : "Douglas ...
0
votes
1answer
860 views

Problem with fancyref, babel and equation references

I am using fancyref and babel together in a LaTeX document and redefine the label for the equation references by \renewcommand{\frefeqname}{Eq.}, so that they look something like "Eq. (3.4)". However, ...