LyXCopy a Formula

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
chicken
Posts: 1
Joined: Sun Jun 03, 2012 7:18 am

Copy a Formula

Post by chicken »

Sorry if this is a question that has been answered numerous times. I have searched for quite a while before making this thread.

My question is, is there a way to quickly repeat a formula I have previously typed up? I have an equation, and it is numbered and referenced later on in the text with (#), however there are certain places where I would like to repeat the entire formula. Is it possible to have the whole thing appear instead of just the number?

again sorry if this is a newbie question. expecting lots of people to tell me to use the search bar. what I'm hoping for is someone can give me a click by click explanation :oops:

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Re: Copy a Formula

Post by Stefan Kottwitz »

Hi,

welcome to the board!

To copy and repeat a formula, is quite unusual. Commonly, one used cross-referencing, that's why the formulas are numbered: for reference, not for counting. So I would simply use a reference, not a copy.

Another reason is: how to tag the copy? A different number would be meaningless. Using the same number would destroy the order. I recommend to view at this issue, if you would do it several times. Could be confusing, mixing original equations and copy-equations.

I would not do the copy, which seems to be convenient to the reader (no look-up for the reference) but do the clear and scientific reference. You know, in PDF documents references can be hyperlinks! So a reader could simply click the reference, and so go to the corresponding formula.

If it's really needed, you could put the formula into a LaTeX macro and use this on both places. Or put the whole equation with the number into a box. There are similar tools for theorems.

Stefan
LaTeX.org admin
Post Reply