# Extension talk:CrossReference

Is there a way to make <xr /> use internal links? Right now it is creating links like Figure [1] instead of Figure [[1]].

Kjkeefe (talk) 17:22, 20 February 2014 (UTC)

## How do I display the number to the right of an equation?

I am trying show a reference number to the right of an equation in parentheses, just like it would work in latex. For example:

<equation id="eqn:binom">

${\displaystyle f(k)={\binom {n}{k}}p^{k}(1-p)^{n-k}\quad k=0,1,\dots ,n}$ <xrlabel id="eqn:binom" shownumber/>

</equation>

<xr id="eqn:binom" /> describes the probability mass function of the binomial distribution.

What am I doing wrong here?

Kjkeefe (talk) 17:19, 20 February 2014 (UTC)

The correct will be <equation id="eqn:binom" shownumber> ... </equation> :) Пика Пика (talk) 14:54, 26 February 2018 (UTC)

## Problem with numbering of figures

I like using this extension, but I am not able to correctly numbering my figures. For example:

  <figure id="fig:obr1"> [[Soubor:my_pic.png| <xr id="fig:obr1">Fig. %i:</xr> text]]</figure>
Text text text <xr id="fig:obr1">Fig. %i:</xr>.


After the preview, will appear the same numbering as for equations. At the start of line is shown as (1).

--Jafan 15:59, 14 November 2009 (UTC)

## Does this work within a \begin{align} environment?

Has anyone got it working? If so, please share how to use it with align or any other multi-line equation environment.

Thanks in advance Dc321 21:09, 8 September 2011 (UTC)

## Transclusions

Numbering isn’t accurate when the html tags are transcluded. Is there a way to have the extension compile all the cross references at once, with a final tag at the bottom of the page as is done with <ref> and <references> for citations? Mmiller0712 (talk) 16:27, 4 April 2018 (UTC)

## I would need to see it in action

A picture to show an example or a link, is missing.