Setting up labels for and references to tables in LyX

Ricardo Berlasso rgb.mldc at gmail.com
Mon Nov 6 12:10:03 UTC 2023


El lun, 6 nov 2023 a las 12:23, Trevor Jenkins (<bslwannabe at gmail.com>)
escribió:

> I need to create labels/references to multiple tables in my LyX document.
> There is nothing in the various Table menu items for this. The Insert >
> Label and Insert > Cross-Reference… menu items do not appear to function in
> that for example if I set the name of the label to tab:Electoral Roll
> Extract and then pick that name of the list when inserting the cross
> reference neither appears in the final document. The label does not appear
> with the table and the reference does not appear at the point of reference
> either.
>

Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
spaces with dashes. Does it work that way? I think that labels do not
accept spaces or special characters. If this is the case, you have found a
problem as the dialog should warn that the label is invalid.

Regards,
Ricardo




>
> How do I setup labels for each of my tables and then reference them in the
> text of my document?
>
>
> Version information etc.
>
> LyX 2.3.7
> macOS Sonoma 14.1 on a Mac mini M1
> TeXlive 2023
> Python 3.11.5
>
> Document class Tufte Handout
> Local layout “Include ../citeengines/basic.citeengine”(because I am using
> bibtex)
> Also using pdflscape (updated from TeXlive an hour ago) as the tables are
> very wide
>
> Regards, Trevor.
>
> <>< Re: deemed!
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20231106/dd0fbb99/attachment.html>


More information about the lyx-users mailing list