5
votes
3answers
70 views

Cross reference in tex code in LyX

I'm working with LyX. Do you know how to apply cross reference when using "Tex code" option in LyX? That's the example of what I'm writing in Tex code: \begin{table}[htbp] \begin{threeparttable} ...
2
votes
1answer
26 views

How to correctly cross reference program listing in Lyx

I learnt from another question that best way to include code was to make a child document with a program listing, which is great. My question is how do I correctly label the program listing? For a ...
0
votes
0answers
30 views

latex and cross references [closed]

I have defined my own enumerable environment in the layout and cls files and I have set a marker behind the automatic enumerations in the lyx file which reads A1, the name of the marker is A:1 When I ...
3
votes
1answer
55 views

Lyx cross refernce to figures not working when there is a new line between caption and label

When I put a new line between the caption and label of a figure float, the cross referencing is shown as "Figure ??" in the resulting PDF file. The hyperlink in the PDF however, works just fine. After ...
3
votes
1answer
71 views

How to change all caption to single spacing and not have reference turn up after every chapter

I've two questions when using LyX: How to change all caption to single spacing? I've tried to insert these into the LaTeX preample but they don't work due to some error message. ...
3
votes
0answers
89 views

LyX: crossreference keeps popping up in ToC [closed]

I have a slight problem with LyX in my latest document. I do have a rather large appendix and have inserted titles to structure it a bit. Since my appendix has to be unnumbered I used \subsubsection* ...
2
votes
1answer
480 views

How to cross-reference labels in the text using LyX?

I'm having trouble using labels and cross-referencing in Lyx. I put a label into the document where I want it. It is not embedded in anything, it's just in the text. Then I put a cross-reference to ...
4
votes
0answers
72 views

hyperref link to file at position

I'm a newbie. I've figured out how to set up a hyperlink link to a file (in my case, a PDF) on the hard drive. But I would also like to change the starting position when this PDF opens up. This PDF ...
6
votes
2answers
131 views

Putting labels inside section headings

I usually work with LyX, and when I want to label a section (in order to reference it later), I put the label inside the section heading. This usually works, but recently I tried to create an article ...
2
votes
1answer
173 views

Cross reference line number within program listing in lyx

I'm trying to cross reference program code line numbers within a program listing using lyx. From what I can tell, both labels and ERT are disabled within the program listing, but I'm not sure why. I ...
3
votes
0answers
61 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
1
vote
1answer
94 views

Problems with labels inside a floating with a table

I have this strange problem with the labels inside the floating that contains a table. For my first table I put the label inside the floating area, then I added the cross reference somewhere in the ...
5
votes
2answers
99 views

Finding cross references in Lyx

Is there any way to find all the cross references to a label in a LyX document? One solution is to search through the source file, but I was wondering if there is anything provided in the GUI.
3
votes
1answer
125 views

Combining threeparttable with cross references - LyX

I was wondering if there was a known issue with combining threeparttable with cross references inside a float. I have my labels inside the table captions, and this works just fine unless ...
3
votes
2answers
650 views

Problem with changing refname with autoref in Lyx

Update 1 - @Andrew provided a very helpful partial answer. The \renewcommands work if you put them after begin document in the latex version. So the real question is why does the preamble not do this ...
4
votes
2answers
1k views

Cross reference in LyX

I would like to use the \autoref function in LyX, so that when I refer to a labeled figure or theorem, it is typeset as "Figure #" or "Theorem #". According to this answer, I can redefine the \ref ...
3
votes
0answers
104 views

LyX Jurabib Style References Not Possible [closed]

I was able to write the bulk of my thesis on LyX and I thought it will end that way. With the whooshing sound of the deadline in my ears, I am desperately looking for your help. I am trying to insert ...
1
vote
1answer
235 views

Get rid of the word “equation” in cross references

I'm using the thesis template that comes with LyX and whenever I make a cross reference for an equation it comes along with the word "Equation XX.YY" and I just want the number "XX.YY". The document ...
3
votes
1answer
362 views

Refer to label in another chapter (another file)

I am writing my thesis using LyX's thesis template, and each chapter is a different file (chapter-x.lyx). However, sometimes, I need to refer to a section from another chapter, which is in a ...
1
vote
0answers
115 views

Lyx : change cross reference color [duplicate]

When i make a refference to a figure , the text appears black. How can i change cross reference's default black color to blye or cyan ? I had the same issue with citations but i figured it out with ...
4
votes
1answer
239 views

Lyx cross-referencing between branches

I'm writing a paper in LyX, of which there are two versions -- a short and a long version. I've created two branches in the (single) LyX file, and will switch them on and off appropriately. I'd like ...
3
votes
2answers
1k views

Referencing a table vs. a figure in LyX, format

Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
2
votes
1answer
2k views

How to refer to table in lyx

Inside the float table box I add lyx:label but when inside the text and choose insert crossreference and choose the table label the text appears as ?? The reference to numbered equations appear ...
2
votes
2answers
489 views

Hyperref to external file in LyX

I have two separated folders, each includes LyX files with the needed attachments (pictures...etc.) , I found that I need to to use zref-xr package to make hyper cross references between those files ...
4
votes
1answer
1k views

Lyx 2.0 Formatted references to theorem/lemma/claim environments

In Lyx 2.0, I'm trying to use a formatted reference to a claim, but I cannot get the "formatted" part, i.e. I can't get it to typeset "claim" as well as the claim number. I'm using modules "Theorems ...
2
votes
1answer
311 views

Cross references broken in Lyx master document [closed]

I've got a child document which contains cross references. When I export the child document to PDF, the cross references are fine. However, when I export the master document to PDF the cross ...
2
votes
1answer
585 views

How to find out the counter of theorems etc. in LyX

I have a document that has a lot of theorems - all introduced in LyX via the "Theorems"-Module (for those who don't know LyX, that means, that I didn't define my own theorem environment via ...
6
votes
1answer
244 views

Clicking on a link I don't jump to the **exact** location of the label, just somewhere around it

When I label an equation and later have a reference to it, then by clicking the corresponding link the pdf I jump to that equation, with the equation being exactly at the top of the page. Same goes ...
3
votes
2answers
1k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
6
votes
2answers
713 views

Using the xr package in LyX (for cross-referencing an external LyX document)

Question: What steps are required to use the xr package in LyX in order to reference items in other, independent LyX documents? Steps already taken: The tools package (that contains the xr package) ...
2
votes
1answer
255 views

How to reference list items in another TeX document?

Problem in a nutshell: I would like to reference items in an external LyX document (containing a list of definitions and theorems). Problem in detail: I am a Math student. I maintain a LyX document ...
6
votes
2answers
3k views

How to make the reference label start with a capital letter?

I have the following lines in my document: In \secref{2}, a very basic review is presented. \secref{3} compares different structures. \secref{3} must start with a capital letter. However, LaTeX ...
1
vote
1answer
544 views

Cross-reference to an entry in the toc?

Is there any way to cross-reference to sections/subsections via their title? I find myself writing "Please see section 4 for more details", and it gets annoying very soon, especially when I have to ...
1
vote
1answer
512 views

Unequivocally force first reference to same page as the referred item?

Background Writing a manual using LyX. All tables, figures, and source listings are always referenced in the paragraph (or enumerated step) that immediately precedes them. The preamble to the manual ...
3
votes
2answers
1k views

Table, Figure, and Listing prefixes

Background Using LyX and KOMA Script to author a technical manual. Problem The documents are strewn with the following references: \ref{fig:Example-Database-Type} When converted to PDF, this ...
4
votes
1answer
882 views

How can I disable the linking for figures in LyX?

Complete LaTeX and LyX newbie here. I am currently writing a document in LyX and I'm using hyperref to have links in the ToC, citations etc. The problem is that I added a figure (with float) and when ...