Hi,

If you directly edit the .lyx file, you will see 

\begin_inset CommandInset ref
LatexCommand ref
reference "eq:1"

\end_inset

for ref without parentheses, and 

\begin_inset CommandInset ref
LatexCommand eqref
reference "eq:1"


\end_inset

for ref with parentheses. (ref -> eqref)

So if you don't want to change those manually, you can just open up the lyx file in a text editor and replace every "LatexCommand ref" with "LatexCommand eqref".
Of course, to avoid replacing something you don't want, you will have to make the finding condition more restrictive (including the following line or using regular expressions).

Hope this is helpful.

-Joon


On Fri, 13 May 2011 11:20:56 -0500, Julio Rojas <[email protected]> wrote:

Up to mi knowledge, yes, you'll have to do it every time. I don't really know how to automate this process.

Regards.
-------------------------------------------------
Julio Rojas
[email protected]


On Fri, May 13, 2011 at 6:08 PM, Ken <[email protected]> wrote:
Thanks Julio,

Your method requires me to fix each occurrence manually.  Is there a
setting for the pre-amble that will apply the (#) format through the
document?

Thanks,
Ken


On 13 May 2011 17:06, Julio Rojas <[email protected]> wrote:
> Right button over the reference. You'll see the different formats there.
> Regards.
> -------------------------------------------------
> Julio Rojas
> [email protected]
>
>
> On Fri, May 13, 2011 at 6:00 PM, Ken <[email protected]> wrote:
>>
>> In LyX, if I write "Eq. " and then add a [reference] to an equation
>> label, the pdf shows:
>> Eq. 1
>>
>> How do I change the format to show...?
>> Eq. (1)
>>
>> Do I have to do this on an item by item basis? That is, should I
>> simply be adding the parenthesis manually by writing
>> Eq. ([reference])
>> or is there a setting which will change all of my #'s to (#)'s
>> automatically?
>>
>> Thanks,
>> Ken
>
>




--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to