Re: Changing Figure Labelling in LyX

2021-03-19 Thread Dr Eberhard W Lisse

Phillipe,

this is a LaTeX issue, and if asked on a LaTeX related forum
Usenet's comp.text.tex or Stackexchange might yield better
results.

Google is also you friend.

el


On 2021-03-18 20:13 , Philippe Burden wrote:

To whomever this may concern,

I have recently started using LyX to write scientific papers for my 
undergraduate degree. In writing one of my reports, I found myself 
wanting to change the way the figures are labelled. I have managed to 
change the figure labelling from “Figure 1, Figure 2, Figure 3…” to 
labelling per section “Figure 1.1, Figure 1.2, Figure 2.1…” However, I 
was wondering if there was a way to change it to say “Fig. 1.1”, instead 
of “Figure 1.1”


I’ve also changed the size of the font inside the caption to be 
smallest. This works great, no issues. However, the figure label itself 
does not change in size. It simply shows “Figure 1.1: Blah Blah Blah, 
this is only an example…”. Is there a way to make the size of the label 
match that of the caption.


Thank in advance to anyone who can help me.

Cheers,

Philippe Burden





--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Changing Figure Labelling in LyX

2021-03-18 Thread Paul A. Rubin

On 3/18/21 2:13 PM, Philippe Burden wrote:


To whomever this may concern,

I have recently started using LyX to write scientific papers for my 
undergraduate degree. In writing one of my reports, I found myself 
wanting to change the way the figures are labelled. I have managed to 
change the figure labelling from “Figure 1, Figure 2, Figure 3…” to 
labelling per section “Figure 1.1, Figure 1.2, Figure 2.1…” However, I 
was wondering if there was a way to change it to say “Fig. 1.1”, 
instead of “Figure 1.1”


I’ve also changed the size of the font inside the caption to be 
smallest. This works great, no issues. However, the figure label 
itself does not change in size. It simply shows “Figure 1.1: Blah Blah 
Blah, this is only an example…”. Is there a way to make the size of 
the label match that of the caption.


Thank in advance to anyone who can help me.

Cheers,

Philippe Burden


As someone with old eyes, I feel that I should discourage you from using 
"smallest" as the size for captions. That said, if you have the LaTeX 
'caption' package installed, you can put the following in your preamble:


\usepackage{caption}

\captionsetup[figure]{labelfont={scriptsize}, name={Fig.},labelsep=colon}

I think that will do what you want.

Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Changing Figure Labelling in LyX

2021-03-18 Thread Philippe Burden
To whomever this may concern,

I have recently started using LyX to write scientific papers for my 
undergraduate degree. In writing one of my reports, I found myself wanting to 
change the way the figures are labelled. I have managed to change the figure 
labelling from "Figure 1, Figure 2, Figure 3..." to labelling per section 
"Figure 1.1, Figure 1.2, Figure 2.1..." However, I was wondering if there was a 
way to change it to say "Fig. 1.1", instead of "Figure 1.1"

I've also changed the size of the font inside the caption to be smallest. This 
works great, no issues. However, the figure label itself does not change in 
size. It simply shows "Figure 1.1: Blah Blah Blah, this is only an example...". 
Is there a way to make the size of the label match that of the caption.

Thank in advance to anyone who can help me.

Cheers,
Philippe Burden

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: margin text and labelling environment generates a bug

2020-02-08 Thread Jürgen Spitzmüller
Am Samstag, den 08.02.2020, 07:08 + schrieb John Beattie:
> When I create a margin text on the same line as a labelling
> environment, the
> document will not compile.  This happens with lyx 2.3.3 on Windows
> and with lyx
> 2.3.1 on linux mint 18.2.  Details of the two environments are below.

You need to put the margin outside of the description label (the first
item of the line)

> 
> The mwe is attached and the picture shows the error which the
> compiler reports.
> 
> Should I raise a bug?

Thanks, but this is already tracked.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


margin text and labelling environment generates a bug

2020-02-07 Thread John Beattie
Hi,

When I create a margin text on the same line as a labelling environment, the
document will not compile.  This happens with lyx 2.3.3 on Windows and with lyx
2.3.1 on linux mint 18.2.  Details of the two environments are below.

The mwe is attached and the picture shows the error which the compiler reports.

Should I raise a bug?

Thanks,
John



Windows 10
--

LyX help >> about:

LyX Version 2.3.3
(10 June 2019)

Library directory: C:\bin\lyx 2.3\Resources\
User directory: ~\AppData\Roaming\LyX2.3\
Qt Version (run-time): 5.11.3
Qt Version (compile-time): 5.11.3


> pdflatex --version
MiKTeX-pdfTeX  (MiKTeX 2.9.6300)

using bzip2 version 1.0.6, 6-Sept-2010
compiled with curl version 7.53.1; using libcurl/7.53.1 WinSSL
compiled with expat version 2.2; using expat_2.2.0
compiled with jpeg version 9.2
compiled with liblzma version 50020032; using 50020032
compiled with libpng version 1.6.29; using 1.6.29
compiled with libressl version LibreSSL 2.4.5; using LibreSSL 2.4.5
compiled with MiKTeX Application Framework version 1.6300; using 1.6300
compiled with MiKTeX Core version 1.6300; using 1.6300
compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300
compiled with MiKTeX Package Manager version 1.6300; using 1.6300
compiled with poppler version 0.53.0
compiled with uriparser version 0.8.4
compiled with zlib version 1.2.11; using 1.2.11




Mint 18.2
-

> lsb_release -a
mint
Distributor ID: LinuxMint
Description:Linux Mint 18.2 Sonya
Release:18.2
Codename:   sonya


LyX help >> about:

LyX Version 2.3.1
(Monday, 27 August 2018)

Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 4.8.7
Qt Version (compile-time): 4.8.7


> pdflatex --version
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.41.0


ws.2a.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Labelling

2017-10-03 Thread Jean-Marc Lasgouttes

Le 03/10/2017 à 16:11, Patrick Dupre a écrit :

Hello,

I am attaching a file which shows a double numbering of a single equation.
How can I remove the number which has no label?


Do I understand correctly that you want to remove the (1)? In this case, 
put the cursor on the line and unselect Edit>Math>Number this line.


JMarc


Labelling

2017-10-03 Thread Patrick Dupre
Hello,

I am attaching a file which shows a double numbering of a single equation.
How can I remove the number which has no label?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


Eq.lyx
Description: application/lyx


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
 need to put in the manuscript (I certainly need). I use the standard
 article class where the default label for figures is ''Figure''. Is it
 possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (InsertCross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name Fig.. This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 Automatic 
Reference Naming Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


 and for the cross references in the text, you can modify by using
 hyperref package, the example is here:

 http://sites.google.com/site/lyxthesistemplate/4-cross-references

 The cross reference uses formated reference (InsertCross reference)

 Regards
 waluyo


Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
 need to put in the manuscript (I certainly need). I use the standard
 article class where the default label for figures is ''Figure''. Is it
 possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (InsertCross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name Fig.. This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 Automatic 
Reference Naming Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto was.u...@gmail.com wrote:

 does this help?
 http://wiki.lyx.org/LyX/Figures#toc11


 and for the cross references in the text, you can modify by using
 hyperref package, the example is here:

 http://sites.google.com/site/lyxthesistemplate/4-cross-references

 The cross reference uses formated reference (InsertCross reference)

 Regards
 waluyo


Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


Figure labelling

2010-10-14 Thread Grzegorz Sadlok
Dear LyX community,

Im a PhD student working in paleontology and I currently discover LyX.
This is a nice tool especially  for those working in science, so I'm
going to use LyX as my primary editor during thesis preparation. As far,
I find only one problem I could not solve by myself. In LyX there is a
grate tool: automatic numbering and referring to figures that one may
need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I
need to inform I'm a polish user of LyX (Ubuntu OS) since I feel this
can have an impact on the way in which the problem can be solved. I will
not need to switch between LyX and OpenOffice Word Editor (for editing
of labels) if only I have the problem of labelling solved.

Best wishes!

Gregory


Re: Figure labelling

2010-10-14 Thread Pavel Sanda
Grzegorz Sadlok wrote:
> need to put in the manuscript (I certainly need). I use the standard
> article class where the default label for figures is ''Figure''. Is it
> possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.? I

does this help?
http://wiki.lyx.org/LyX/Figures#toc11

pavel


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
>
> does this help?
> http://wiki.lyx.org/LyX/Figures#toc11
>

and for the cross references in the text, you can modify by using
hyperref package, the example is here:

http://sites.google.com/site/lyxthesistemplate/4-cross-references

The cross reference uses formated reference (Insert>Cross reference)

Regards
waluyo


Re: Figure labelling

2010-10-14 Thread Uwe Stöhr

Am 14.10.2010 16:09, schrieb Pavel Sanda:


need to put in the manuscript (I certainly need). I use the standard
article class where the default label for figures is ''Figure''. Is it
possible to change it to ''Plate'', ''Fig.'' or ''Text-fig.'' etc.?


One method is to use what Pavel wrote in his post. There is also another 
method that will additionally automatically write the name "Fig.". This 
has the advantage that you can later change the name of all references 
in your document. This method is described in sec. 3.4.2 "Automatic 
Reference Naming" Of the EmbeddedObjects manual that you find in LyX's 
Help menu.


regards Uwe


Re: Figure labelling

2010-10-14 Thread Waluyo Adi Siswanto
On 15 October 2010 00:24, Waluyo Adi Siswanto  wrote:
>>
>> does this help?
>> http://wiki.lyx.org/LyX/Figures#toc11
>>
>
> and for the cross references in the text, you can modify by using
> hyperref package, the example is here:
>
> http://sites.google.com/site/lyxthesistemplate/4-cross-references
>
> The cross reference uses formated reference (Insert>Cross reference)
>
> Regards
> waluyo
>

Ooops sorry... I mean prettyref not hyperref !

Regards, waluyo


Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
I sorry, but I don't understand your answer completely. I want to give my
equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
purpose of the label function? If not, what function doe that?

To the first part of your answer. The equations I want to label are centered
and stand alone in their row. I centered them after writing them by using
the paragraph settings.

To your answer Bob: I am using a mac book with Mach OS X  version
10.5.3.The version of LyX I am using is LyX/Mac
1.5.5.

Thank you again very much for your help.

Greetings,
Chris

2008/8/1 rgheck [EMAIL PROTECTED]

 Bob Lounsbury wrote:

 On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:


 I admit, that my last sentence is very confusing. Just forget about it.
 What
 I meant was: If I put the cursor before or behind the math box, i.e in
 the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label
 the
 equation in the math box.  As long as I cannot asign a label to the
 equation
 it makes no sense to look at the pdf I guess.




 It sounds as if you have a problem with the installation of LyX. This
 is obviously not normal behavior. I would trying reinstalling LyX. It
 may help developer's to know what platform you are using and what
 version of LyX. You may also need to file a bug report if reinstalling
 doesn't help.



 I see it disabled as well, UNLESS the equation is in display mode---i.e.,
 centered by itself on a separate line. It is meant to work that way. The
 reason is that labeled equations are also NUMBERED equations, and the
 mechanism that's used to do the label isn't available if the equation hasn't
 been set off.

 Perhaps part of the confusion is that what LyX calls labels don't
 normally appear in the text. They're just targets for cross-references. So
 you can label the equation if you like by putting a label after it. But it
 won't have a number, and the only cross-reference you'll be able to do will
 be by page, really.

 rh




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I sorry, but I don't understand your answer completely. I want to give my
 equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
 purpose of the label function? If not, what function doe that?

 To the first part of your answer. The equations I want to label are centered
 and stand alone in their row. I centered them after writing them by using
 the paragraph settings.

 To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
 The version of LyX I am using is LyX/Mac 1.5.5.

 Thank you again very much for your help.

 Greetings,
 Chris


Ok. I understand now. You're just not using the program correctly :-}.

Math equations are not adjusted with 'paragraph settings'. There are
two types of equations in LyX: Inline and Display. Inline is an
equation that is inline with text and Display is an equation centered
on its own line.

To access the two types use: Insert-Math-Inline Formula or Display
Formula. Alternatively, you can use Command-M for Inline formula and
Command+shift-M for Display formula on MacOSX.

You may also want to take some time to read through some of the
documentation available in the Help menu. For instance: Help-User's
Guide Chapter 5 or Help-Math. These issues are explained there.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 9:36 AM, Bob Lounsbury [EMAIL PROTECTED] wrote:
 On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
 I sorry, but I don't understand your answer completely. I want to give my
 equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
 purpose of the label function? If not, what function doe that?

 To the first part of your answer. The equations I want to label are centered
 and stand alone in their row. I centered them after writing them by using
 the paragraph settings.

 To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
 The version of LyX I am using is LyX/Mac 1.5.5.

 Thank you again very much for your help.

 Greetings,
 Chris


 Ok. I understand now. You're just not using the program correctly :-}.

 Math equations are not adjusted with 'paragraph settings'. There are
 two types of equations in LyX: Inline and Display. Inline is an
 equation that is inline with text and Display is an equation centered
 on its own line.

 To access the two types use: Insert-Math-Inline Formula or Display
 Formula. Alternatively, you can use Command-M for Inline formula and
 Command+shift-M for Display formula on MacOSX.

 You may also want to take some time to read through some of the
 documentation available in the Help menu. For instance: Help-User's
 Guide Chapter 5 or Help-Math. These issues are explained there.

 Cheers,
 /Bob


Oops, I forgot to add that Inline formula cannot be labeled whereas
Display formula can. This is why the Label button is grayed out
because you've inserted Inline formula not Display formula.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

Have a nice weekend!

2008/8/2 Bob Lounsbury [EMAIL PROTECTED]

 On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  I sorry, but I don't understand your answer completely. I want to give my
  equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that
 the
  purpose of the label function? If not, what function doe that?
 
  To the first part of your answer. The equations I want to label are
 centered
  and stand alone in their row. I centered them after writing them by using
  the paragraph settings.
 
  To your answer Bob: I am using a mac book with Mach OS X  version
 10.5.3.
  The version of LyX I am using is LyX/Mac 1.5.5.
 
  Thank you again very much for your help.
 
  Greetings,
  Chris
 

 Ok. I understand now. You're just not using the program correctly :-}.

 Math equations are not adjusted with 'paragraph settings'. There are
 two types of equations in LyX: Inline and Display. Inline is an
 equation that is inline with text and Display is an equation centered
 on its own line.

 To access the two types use: Insert-Math-Inline Formula or Display
 Formula. Alternatively, you can use Command-M for Inline formula and
 Command+shift-M for Display formula on MacOSX.

 You may also want to take some time to read through some of the
 documentation available in the Help menu. For instance: Help-User's
 Guide Chapter 5 or Help-Math. These issues are explained there.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread rgheck

Christopher Stowasser wrote:

Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

  
Yes, true. People---especially Uwe---have put a lot of work into those 
guides. Much of what's in them you probably don't need to know, so I 
usually recommend that people read the Tutorial fairly closely, and then 
read the User's Guide quickly, just skimming parts that don't really 
interest them. The other manuals contain tons of useful 
information---but not for everyone, since they're more specialized. I've 
never read the Embedded Objects manual, for example, since it basically 
doesn't apply to me. Remember too that you can use the Navigate menu, or 
open the Outline, to see a table of contents and decide what you might 
want to read. Oh, and that you can ViewPDF and then print the manuals 
so you don't have to read them at your computer.


rh



Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
I sorry, but I don't understand your answer completely. I want to give my
equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
purpose of the label function? If not, what function doe that?

To the first part of your answer. The equations I want to label are centered
and stand alone in their row. I centered them after writing them by using
the paragraph settings.

To your answer Bob: I am using a mac book with Mach OS X  version
10.5.3.The version of LyX I am using is LyX/Mac
1.5.5.

Thank you again very much for your help.

Greetings,
Chris

2008/8/1 rgheck [EMAIL PROTECTED]

 Bob Lounsbury wrote:

 On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:


 I admit, that my last sentence is very confusing. Just forget about it.
 What
 I meant was: If I put the cursor before or behind the math box, i.e in
 the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label
 the
 equation in the math box.  As long as I cannot asign a label to the
 equation
 it makes no sense to look at the pdf I guess.




 It sounds as if you have a problem with the installation of LyX. This
 is obviously not normal behavior. I would trying reinstalling LyX. It
 may help developer's to know what platform you are using and what
 version of LyX. You may also need to file a bug report if reinstalling
 doesn't help.



 I see it disabled as well, UNLESS the equation is in display mode---i.e.,
 centered by itself on a separate line. It is meant to work that way. The
 reason is that labeled equations are also NUMBERED equations, and the
 mechanism that's used to do the label isn't available if the equation hasn't
 been set off.

 Perhaps part of the confusion is that what LyX calls labels don't
 normally appear in the text. They're just targets for cross-references. So
 you can label the equation if you like by putting a label after it. But it
 won't have a number, and the only cross-reference you'll be able to do will
 be by page, really.

 rh




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I sorry, but I don't understand your answer completely. I want to give my
 equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
 purpose of the label function? If not, what function doe that?

 To the first part of your answer. The equations I want to label are centered
 and stand alone in their row. I centered them after writing them by using
 the paragraph settings.

 To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
 The version of LyX I am using is LyX/Mac 1.5.5.

 Thank you again very much for your help.

 Greetings,
 Chris


Ok. I understand now. You're just not using the program correctly :-}.

Math equations are not adjusted with 'paragraph settings'. There are
two types of equations in LyX: Inline and Display. Inline is an
equation that is inline with text and Display is an equation centered
on its own line.

To access the two types use: Insert-Math-Inline Formula or Display
Formula. Alternatively, you can use Command-M for Inline formula and
Command+shift-M for Display formula on MacOSX.

You may also want to take some time to read through some of the
documentation available in the Help menu. For instance: Help-User's
Guide Chapter 5 or Help-Math. These issues are explained there.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 9:36 AM, Bob Lounsbury [EMAIL PROTECTED] wrote:
 On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
 I sorry, but I don't understand your answer completely. I want to give my
 equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
 purpose of the label function? If not, what function doe that?

 To the first part of your answer. The equations I want to label are centered
 and stand alone in their row. I centered them after writing them by using
 the paragraph settings.

 To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
 The version of LyX I am using is LyX/Mac 1.5.5.

 Thank you again very much for your help.

 Greetings,
 Chris


 Ok. I understand now. You're just not using the program correctly :-}.

 Math equations are not adjusted with 'paragraph settings'. There are
 two types of equations in LyX: Inline and Display. Inline is an
 equation that is inline with text and Display is an equation centered
 on its own line.

 To access the two types use: Insert-Math-Inline Formula or Display
 Formula. Alternatively, you can use Command-M for Inline formula and
 Command+shift-M for Display formula on MacOSX.

 You may also want to take some time to read through some of the
 documentation available in the Help menu. For instance: Help-User's
 Guide Chapter 5 or Help-Math. These issues are explained there.

 Cheers,
 /Bob


Oops, I forgot to add that Inline formula cannot be labeled whereas
Display formula can. This is why the Label button is grayed out
because you've inserted Inline formula not Display formula.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

Have a nice weekend!

2008/8/2 Bob Lounsbury [EMAIL PROTECTED]

 On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  I sorry, but I don't understand your answer completely. I want to give my
  equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that
 the
  purpose of the label function? If not, what function doe that?
 
  To the first part of your answer. The equations I want to label are
 centered
  and stand alone in their row. I centered them after writing them by using
  the paragraph settings.
 
  To your answer Bob: I am using a mac book with Mach OS X  version
 10.5.3.
  The version of LyX I am using is LyX/Mac 1.5.5.
 
  Thank you again very much for your help.
 
  Greetings,
  Chris
 

 Ok. I understand now. You're just not using the program correctly :-}.

 Math equations are not adjusted with 'paragraph settings'. There are
 two types of equations in LyX: Inline and Display. Inline is an
 equation that is inline with text and Display is an equation centered
 on its own line.

 To access the two types use: Insert-Math-Inline Formula or Display
 Formula. Alternatively, you can use Command-M for Inline formula and
 Command+shift-M for Display formula on MacOSX.

 You may also want to take some time to read through some of the
 documentation available in the Help menu. For instance: Help-User's
 Guide Chapter 5 or Help-Math. These issues are explained there.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread rgheck

Christopher Stowasser wrote:

Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

  
Yes, true. People---especially Uwe---have put a lot of work into those 
guides. Much of what's in them you probably don't need to know, so I 
usually recommend that people read the Tutorial fairly closely, and then 
read the User's Guide quickly, just skimming parts that don't really 
interest them. The other manuals contain tons of useful 
information---but not for everyone, since they're more specialized. I've 
never read the Embedded Objects manual, for example, since it basically 
doesn't apply to me. Remember too that you can use the Navigate menu, or 
open the Outline, to see a table of contents and decide what you might 
want to read. Oh, and that you can ViewPDF and then print the manuals 
so you don't have to read them at your computer.


rh



Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
I sorry, but I don't understand your answer completely. I want to give my
equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
purpose of the label function? If not, what function doe that?

To the first part of your answer. The equations I want to label are centered
and stand alone in their row. I centered them after writing them by using
the "paragraph settings".

To your answer Bob: I am using a mac book with Mach OS X  version
10.5.3.The version of LyX I am using is LyX/Mac
1.5.5.

Thank you again very much for your help.

Greetings,
Chris

2008/8/1 rgheck <[EMAIL PROTECTED]>

> Bob Lounsbury wrote:
>
>> On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
>> <[EMAIL PROTECTED]> wrote:
>>
>>
>>> I admit, that my last sentence is very confusing. Just forget about it.
>>> What
>>> I meant was: If I put the cursor before or behind the math box, i.e in
>>> the
>>> normal text, I can use the label function. As soon as I put the cursor in
>>> the math box  the label function is inactive.  Therefore I cannot label
>>> the
>>> equation in the math box.  As long as I cannot asign a label to the
>>> equation
>>> it makes no sense to look at the pdf I guess.
>>>
>>>
>>
>>
>> It sounds as if you have a problem with the installation of LyX. This
>> is obviously not normal behavior. I would trying reinstalling LyX. It
>> may help developer's to know what platform you are using and what
>> version of LyX. You may also need to file a bug report if reinstalling
>> doesn't help.
>>
>>
>>
> I see it disabled as well, UNLESS the equation is in "display" mode---i.e.,
> centered by itself on a separate line. It is meant to work that way. The
> reason is that labeled equations are also NUMBERED equations, and the
> mechanism that's used to do the label isn't available if the equation hasn't
> been set off.
>
> Perhaps part of the confusion is that what LyX calls "labels" don't
> normally appear in the text. They're just targets for cross-references. So
> you can label the equation if you like by putting a label after it. But it
> won't have a number, and the only cross-reference you'll be able to do will
> be by page, really.
>
> rh
>
>


-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
> I sorry, but I don't understand your answer completely. I want to give my
> equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
> purpose of the label function? If not, what function doe that?
>
> To the first part of your answer. The equations I want to label are centered
> and stand alone in their row. I centered them after writing them by using
> the "paragraph settings".
>
> To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
> The version of LyX I am using is LyX/Mac 1.5.5.
>
> Thank you again very much for your help.
>
> Greetings,
> Chris
>

Ok. I understand now. You're just not using the program correctly :-}.

Math equations are not adjusted with 'paragraph settings'. There are
two types of equations in LyX: Inline and Display. Inline is an
equation that is inline with text and Display is an equation centered
on its own line.

To access the two types use: Insert->Math->Inline Formula or Display
Formula. Alternatively, you can use Command->M for Inline formula and
Command+shift->M for Display formula on MacOSX.

You may also want to take some time to read through some of the
documentation available in the Help menu. For instance: Help->User's
Guide Chapter 5 or Help->Math. These issues are explained there.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Bob Lounsbury
On Sat, Aug 2, 2008 at 9:36 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
> <[EMAIL PROTECTED]> wrote:
>> I sorry, but I don't understand your answer completely. I want to give my
>> equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the
>> purpose of the label function? If not, what function doe that?
>>
>> To the first part of your answer. The equations I want to label are centered
>> and stand alone in their row. I centered them after writing them by using
>> the "paragraph settings".
>>
>> To your answer Bob: I am using a mac book with Mach OS X  version 10.5.3.
>> The version of LyX I am using is LyX/Mac 1.5.5.
>>
>> Thank you again very much for your help.
>>
>> Greetings,
>> Chris
>>
>
> Ok. I understand now. You're just not using the program correctly :-}.
>
> Math equations are not adjusted with 'paragraph settings'. There are
> two types of equations in LyX: Inline and Display. Inline is an
> equation that is inline with text and Display is an equation centered
> on its own line.
>
> To access the two types use: Insert->Math->Inline Formula or Display
> Formula. Alternatively, you can use Command->M for Inline formula and
> Command+shift->M for Display formula on MacOSX.
>
> You may also want to take some time to read through some of the
> documentation available in the Help menu. For instance: Help->User's
> Guide Chapter 5 or Help->Math. These issues are explained there.
>
> Cheers,
> /Bob
>

Oops, I forgot to add that Inline formula cannot be labeled whereas
Display formula can. This is why the Label button is grayed out
because you've inserted Inline formula not Display formula.

Cheers,
/Bob


Re: Labelling equations

2008-08-02 Thread Christopher Stowasser
Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

Have a nice weekend!

2008/8/2 Bob Lounsbury <[EMAIL PROTECTED]>

> On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser
> <[EMAIL PROTECTED]> wrote:
> > I sorry, but I don't understand your answer completely. I want to give my
> > equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that
> the
> > purpose of the label function? If not, what function doe that?
> >
> > To the first part of your answer. The equations I want to label are
> centered
> > and stand alone in their row. I centered them after writing them by using
> > the "paragraph settings".
> >
> > To your answer Bob: I am using a mac book with Mach OS X  version
> 10.5.3.
> > The version of LyX I am using is LyX/Mac 1.5.5.
> >
> > Thank you again very much for your help.
> >
> > Greetings,
> > Chris
> >
>
> Ok. I understand now. You're just not using the program correctly :-}.
>
> Math equations are not adjusted with 'paragraph settings'. There are
> two types of equations in LyX: Inline and Display. Inline is an
> equation that is inline with text and Display is an equation centered
> on its own line.
>
> To access the two types use: Insert->Math->Inline Formula or Display
> Formula. Alternatively, you can use Command->M for Inline formula and
> Command+shift->M for Display formula on MacOSX.
>
> You may also want to take some time to read through some of the
> documentation available in the Help menu. For instance: Help->User's
> Guide Chapter 5 or Help->Math. These issues are explained there.
>
> Cheers,
> /Bob
>



-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-02 Thread rgheck

Christopher Stowasser wrote:

Ok, now it works perfectly! Thanks you two. Its so much text to read in this
help guides...

  
Yes, true. People---especially Uwe---have put a lot of work into those 
guides. Much of what's in them you probably don't need to know, so I 
usually recommend that people read the Tutorial fairly closely, and then 
read the User's Guide quickly, just skimming parts that don't really 
interest them. The other manuals contain tons of useful 
information---but not for everyone, since they're more specialized. I've 
never read the Embedded Objects manual, for example, since it basically 
doesn't apply to me. Remember too that you can use the Navigate menu, or 
open the Outline, to see a table of contents and decide what you might 
want to read. Oh, and that you can View>PDF and then print the manuals 
so you don't have to read them at your computer.


rh



Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury [EMAIL PROTECTED]

 On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a problem with labelling equations. If I want to label an equation
 I
  put the cursor in the pink box surrounding the equation. Then I go to
  insert and to label. The function label is written in grey letters
  now, i.e. inactive. If the cursor is outside the pink box the function
  label works, but I cannot label the equation.
 
  Thanks in advance!
  Christopher
 

 I'm a little confused you may have to explain further. What do you
 mean the label works, but I cannot label the equation? How do you
 want to label it? What you have done should work. When you create a
 pdf of you file the equation should be numbered for instance (1) in
 article class because you entered Insert-Label.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I admit, that my last sentence is very confusing. Just forget about it. What
 I meant was: If I put the cursor before or behind the math box, i.e in the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label the
 equation in the math box.  As long as I cannot asign a label to the equation
 it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in display 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls labels don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
 I can understand that this behavior is confusing for a new comer that 
 haven't read the tutorial :-). Maybe we should authorize label insertion 
 also for inline formulas and automatically switch to displayed formula 
 if a label is inserted. Maybe with a warning box that explains what LyX 
 did and what the user should do in order to avoid this warning box.
 
 Abdel.
 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury [EMAIL PROTECTED]

 On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a problem with labelling equations. If I want to label an equation
 I
  put the cursor in the pink box surrounding the equation. Then I go to
  insert and to label. The function label is written in grey letters
  now, i.e. inactive. If the cursor is outside the pink box the function
  label works, but I cannot label the equation.
 
  Thanks in advance!
  Christopher
 

 I'm a little confused you may have to explain further. What do you
 mean the label works, but I cannot label the equation? How do you
 want to label it? What you have done should work. When you create a
 pdf of you file the equation should be numbered for instance (1) in
 article class because you entered Insert-Label.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I admit, that my last sentence is very confusing. Just forget about it. What
 I meant was: If I put the cursor before or behind the math box, i.e in the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label the
 equation in the math box.  As long as I cannot asign a label to the equation
 it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in display 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls labels don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
 I can understand that this behavior is confusing for a new comer that 
 haven't read the tutorial :-). Maybe we should authorize label insertion 
 also for inline formulas and automatically switch to displayed formula 
 if a label is inserted. Maybe with a warning box that explains what LyX 
 did and what the user should do in order to avoid this warning box.
 
 Abdel.
 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury <[EMAIL PROTECTED]>

> On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a problem with labelling equations. If I want to label an equation
> I
> > put the cursor in the pink box surrounding the equation. Then I go to
> > "insert" and to "label". The function "label" is written in grey letters
> > now, i.e. inactive. If the cursor is outside the pink box the function
> > "label" works, but I cannot label the equation.
> >
> > Thanks in advance!
> > Christopher
> >
>
> I'm a little confused you may have to explain further. What do you
> mean the "label" works, but I cannot label the equation? How do you
> want to label it? What you have done should work. When you create a
> pdf of you file the equation should be numbered for instance (1) in
> article class because you entered Insert->Label.
>
> Cheers,
> /Bob
>



-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
> I admit, that my last sentence is very confusing. Just forget about it. What
> I meant was: If I put the cursor before or behind the math box, i.e in the
> normal text, I can use the label function. As soon as I put the cursor in
> the math box  the label function is inactive.  Therefore I cannot label the
> equation in the math box.  As long as I cannot asign a label to the equation
> it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in "display" 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls "labels" don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
> I can understand that this behavior is confusing for a new comer that 
> haven't read the tutorial :-). Maybe we should authorize label insertion 
> also for inline formulas and automatically switch to displayed formula 
> if a label is inserted. Maybe with a warning box that explains what LyX 
> did and what the user should do in order to avoid this warning box.
> 
> Abdel.
> 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Labelling equations

2008-07-31 Thread Christopher Stowasser
Hi,

I have a problem with labelling equations. If I want to label an equation I
put the cursor in the pink box surrounding the equation. Then I go to
insert and to label. The function label is written in grey letters
now, i.e. inactive. If the cursor is outside the pink box the function
label works, but I cannot label the equation.

Thanks in advance!
Christopher


Re: Labelling equations

2008-07-31 Thread Bob Lounsbury
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 Hi,

 I have a problem with labelling equations. If I want to label an equation I
 put the cursor in the pink box surrounding the equation. Then I go to
 insert and to label. The function label is written in grey letters
 now, i.e. inactive. If the cursor is outside the pink box the function
 label works, but I cannot label the equation.

 Thanks in advance!
 Christopher


I'm a little confused you may have to explain further. What do you
mean the label works, but I cannot label the equation? How do you
want to label it? What you have done should work. When you create a
pdf of you file the equation should be numbered for instance (1) in
article class because you entered Insert-Label.

Cheers,
/Bob


Labelling equations

2008-07-31 Thread Christopher Stowasser
Hi,

I have a problem with labelling equations. If I want to label an equation I
put the cursor in the pink box surrounding the equation. Then I go to
insert and to label. The function label is written in grey letters
now, i.e. inactive. If the cursor is outside the pink box the function
label works, but I cannot label the equation.

Thanks in advance!
Christopher


Re: Labelling equations

2008-07-31 Thread Bob Lounsbury
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 Hi,

 I have a problem with labelling equations. If I want to label an equation I
 put the cursor in the pink box surrounding the equation. Then I go to
 insert and to label. The function label is written in grey letters
 now, i.e. inactive. If the cursor is outside the pink box the function
 label works, but I cannot label the equation.

 Thanks in advance!
 Christopher


I'm a little confused you may have to explain further. What do you
mean the label works, but I cannot label the equation? How do you
want to label it? What you have done should work. When you create a
pdf of you file the equation should be numbered for instance (1) in
article class because you entered Insert-Label.

Cheers,
/Bob


Labelling equations

2008-07-31 Thread Christopher Stowasser
Hi,

I have a problem with labelling equations. If I want to label an equation I
put the cursor in the pink box surrounding the equation. Then I go to
"insert" and to "label". The function "label" is written in grey letters
now, i.e. inactive. If the cursor is outside the pink box the function
"label" works, but I cannot label the equation.

Thanks in advance!
Christopher


Re: Labelling equations

2008-07-31 Thread Bob Lounsbury
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a problem with labelling equations. If I want to label an equation I
> put the cursor in the pink box surrounding the equation. Then I go to
> "insert" and to "label". The function "label" is written in grey letters
> now, i.e. inactive. If the cursor is outside the pink box the function
> "label" works, but I cannot label the equation.
>
> Thanks in advance!
> Christopher
>

I'm a little confused you may have to explain further. What do you
mean the "label" works, but I cannot label the equation? How do you
want to label it? What you have done should work. When you create a
pdf of you file the equation should be numbered for instance (1) in
article class because you entered Insert->Label.

Cheers,
/Bob


Re: Figure numbering/labelling

2005-07-25 Thread Geoffrey Lloyd
- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Geoffrey Lloyd [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Monday, July 25, 2005 2:38 AM
Subject: Re: Figure numbering/labelling



Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using \renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the 
following colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change the 
label is (here as example for the language ngerman):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package caption. The package option to 
change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe

Many thanks. Worked and the paper is now off to be printed.







Re: Figure numbering/labelling

2005-07-25 Thread Geoffrey Lloyd
- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Geoffrey Lloyd [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Monday, July 25, 2005 2:38 AM
Subject: Re: Figure numbering/labelling



Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using \renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the 
following colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change the 
label is (here as example for the language ngerman):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package caption. The package option to 
change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe

Many thanks. Worked and the paper is now off to be printed.







Re: Figure numbering/labelling

2005-07-25 Thread Geoffrey Lloyd
- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Geoffrey Lloyd" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Monday, July 25, 2005 2:38 AM
Subject: Re: Figure numbering/labelling



Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using \renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the 
following colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change the 
label is (here as example for the language "ngerman"):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package "caption". The package option to 
change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe

Many thanks. Worked and the paper is now off to be printed.







Figure numbering/labelling

2005-07-24 Thread Geoffrey Lloyd
Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 

\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff

Re: Figure numbering/labelling

2005-07-24 Thread Uwe Stöhr

Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change 
the label is (here as example for the language ngerman):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package caption. The package option 
to change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe


Re: Figure numbering/labelling

2005-07-24 Thread Paul A. Rubin

Geoffrey Lloyd wrote:

Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff


You might have a look at the caption package (see, for instance, 
http://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption.pdf).


Paul



Figure numbering/labelling

2005-07-24 Thread Geoffrey Lloyd
Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 

\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff

Re: Figure numbering/labelling

2005-07-24 Thread Uwe Stöhr

Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change 
the label is (here as example for the language ngerman):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package caption. The package option 
to change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe


Re: Figure numbering/labelling

2005-07-24 Thread Paul A. Rubin

Geoffrey Lloyd wrote:

Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff


You might have a look at the caption package (see, for instance, 
http://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption.pdf).


Paul



Figure numbering/labelling

2005-07-24 Thread Geoffrey Lloyd
Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 

\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff

Re: Figure numbering/labelling

2005-07-24 Thread Uwe Stöhr

Geoffrey Lloyd schrieb:


the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?


For those who use another language than english the command to change 
the label is (here as example for the language "ngerman"):


\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{FIG.}}

To format captions use the LaTeX-package "caption". The package option 
to change the label separator is:


\usepackage[labelsep=period]{caption}

regards Uwe


Re: Figure numbering/labelling

2005-07-24 Thread Paul A. Rubin

Geoffrey Lloyd wrote:

Hi

Just had a paper accepted for publication and thanks to Lyx it was a breeze to 
produce in the right way for the publisher.  However the figures are labelled

Figure 1: caption
Figure 2: caption

etc

I need FIG. 1. Caption

Notice the colon has become a period.

At the moment I am using 


\renewcommand{\figurename}{FIG.}

to change the Figure to FIG. and that is fine. How do I change the following 
colon to a period (or full-stop for us English folk)?

Geoff


You might have a look at the caption package (see, for instance, 
http://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption.pdf).


Paul



Re: Equation labelling

2005-01-15 Thread Andre Poenitz
On Wed, Jan 12, 2005 at 01:38:09PM -0500, Vaibhav Srivastava wrote:
 Hi ,
 I am new to Lyx. I have a problem with Lyx in equation labeling in the 
 math  mode. I use the version 1.3.1
 In UserGuide it has shown how to label equations and when I do 
 Insert-Label from the math mode in the users guide and enter a label 
 then it works by showing (mathed:label). However when I am working with 
 my document and do the same then it does not do.
However if I copy and paste from user guide onto my document then it 
 shows that.
 for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
 paste on my document then also it will work
 But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
 did Insert-Label-mathed:first-equn
 
 Please tell me what could be going wrong

Not sure about 1.3.1, but maybe  M-m l and/or M-m n helps.

Andre'


Re: Equation labelling

2005-01-15 Thread Andre Poenitz
On Wed, Jan 12, 2005 at 01:38:09PM -0500, Vaibhav Srivastava wrote:
 Hi ,
 I am new to Lyx. I have a problem with Lyx in equation labeling in the 
 math  mode. I use the version 1.3.1
 In UserGuide it has shown how to label equations and when I do 
 Insert-Label from the math mode in the users guide and enter a label 
 then it works by showing (mathed:label). However when I am working with 
 my document and do the same then it does not do.
However if I copy and paste from user guide onto my document then it 
 shows that.
 for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
 paste on my document then also it will work
 But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
 did Insert-Label-mathed:first-equn
 
 Please tell me what could be going wrong

Not sure about 1.3.1, but maybe  M-m l and/or M-m n helps.

Andre'


Re: Equation labelling

2005-01-15 Thread Andre Poenitz
On Wed, Jan 12, 2005 at 01:38:09PM -0500, Vaibhav Srivastava wrote:
> Hi ,
> I am new to Lyx. I have a problem with Lyx in equation labeling in the 
> math  mode. I use the version 1.3.1
> In UserGuide it has shown how to label equations and when I do 
> Insert->Label from the math mode in the users guide and enter a label 
> then it works by showing (mathed:label). However when I am working with 
> my document and do the same then it does not do.
>However if I copy and paste from user guide onto my document then it 
> shows that.
> for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
> paste on my document then also it will work
> But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
> did Insert->Label->mathed:first-equn
> 
> Please tell me what could be going wrong

Not sure about 1.3.1, but maybe  M-m l and/or M-m n helps.

Andre'


Equation labelling

2005-01-12 Thread Vaibhav Srivastava
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 835 1994(R)
  919 513 2327(O)  



Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
What happens if you have the cursor inside the equation and you use the 
menu Insert - Layout? Does the dialog pops up? If yes what happens when 
you enter some text to this dialog and then press OK?

regards Uwe


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an inline formula (C-m) or a display 
formula (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert-Math-Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
Thanks for replying. When I do Insert-label in math mode it shows eq: 
initially. If I enter mathed:label then it shows nothing
Then you used an inline formula. You can only number displayed formulas 
(formulas in their own paragraph). To create a displayed formula you 
can use the short cut C-S-m (Control-Shift-m) or the menu Insert-Math- 
Display Formula.

*Lyx version* 1.3.1
*Platform *Win XP
BTW. there is a new version available: LyX 1.3.5 for Win, see 
http://www.home.zonnet.nl/rareitsma/lyx/

regards Uwe


Equation labelling

2005-01-12 Thread Vaibhav Srivastava
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 835 1994(R)
  919 513 2327(O)  



Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
What happens if you have the cursor inside the equation and you use the 
menu Insert - Layout? Does the dialog pops up? If yes what happens when 
you enter some text to this dialog and then press OK?

regards Uwe


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an inline formula (C-m) or a display 
formula (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert-Math-Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
Thanks for replying. When I do Insert-label in math mode it shows eq: 
initially. If I enter mathed:label then it shows nothing
Then you used an inline formula. You can only number displayed formulas 
(formulas in their own paragraph). To create a displayed formula you 
can use the short cut C-S-m (Control-Shift-m) or the menu Insert-Math- 
Display Formula.

*Lyx version* 1.3.1
*Platform *Win XP
BTW. there is a new version available: LyX 1.3.5 for Win, see 
http://www.home.zonnet.nl/rareitsma/lyx/

regards Uwe


Equation labelling

2005-01-12 Thread Vaibhav Srivastava
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert->Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert->Label->mathed:first-equn

Please tell me what could be going wrong
Thanks
--
Vaibhav Srivastava
Graduate Student,
Department of Electrical and Computer Engineering,
North Carolina State University,
Raleigh,NC
[EMAIL PROTECTED]
Phone: 919 835 1994(R)
  919 513 2327(O)  



Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
In UserGuide it has shown how to label equations and when I do 
Insert->Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
What happens if you have the cursor inside the equation and you use the 
menu Insert -> Layout? Does the dialog pops up? If yes what happens when 
you enter some text to this dialog and then press "OK"?

regards Uwe


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert->Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert->Label->mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an "inline formula" (C-m) or a "display 
formula" (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert->Math->Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Uwe Stöhr
Vaibhav Srivastava wrote:
Thanks for replying. When I do Insert->label in math mode it shows eq: 
initially. If I enter mathed:label then it shows nothing
Then you used an inline formula. You can only number displayed formulas 
(formulas in their own "paragraph"). To create a displayed formula you 
can use the short cut C-S-m (Control-Shift-m) or the menu Insert->Math-> 
Display Formula.

*Lyx version* 1.3.1
*Platform *Win XP
BTW. there is a new version available: LyX 1.3.5 for Win, see 
http://www.home.zonnet.nl/rareitsma/lyx/

regards Uwe


Problem with labelling eqwation in a box

2004-08-02 Thread shannans
Hi to all

I had try to label a formula inside a box by doing it like this:

\fbox - C - m - C - enter.
Note - C stand for Control.
I added C - enter to be able to add a lable for cross reference.

I gut 5 errors:
1. Missing \endgroup inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
2. Missing } inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
3. You can't use `\halign' in math mode.
 }
  $
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
4. Missing number, treated as zero.
 }
  $
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
5. Missing $ inserted.
 \end{document}
  
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
---
I would like to know how could i fix it, or is it a bug?

thanks


Problem with labelling eqwation in a box

2004-08-02 Thread shannans
Hi to all

I had try to label a formula inside a box by doing it like this:

\fbox - C - m - C - enter.
Note - C stand for Control.
I added C - enter to be able to add a lable for cross reference.

I gut 5 errors:
1. Missing \endgroup inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
2. Missing } inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
3. You can't use `\halign' in math mode.
 }
  $
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
4. Missing number, treated as zero.
 }
  $
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
5. Missing $ inserted.
 \end{document}
  
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
---
I would like to know how could i fix it, or is it a bug?

thanks


Problem with labelling eqwation in a box

2004-08-02 Thread shannans
Hi to all

I had try to label a formula inside a box by doing it like this:

\fbox -> C - m -> C - enter.
Note - C stand for Control.
I added C - enter to be able to add a lable for cross reference.

I gut 5 errors:
1. Missing \endgroup inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
2. Missing } inserted.
 }
  $
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
3. You can't use `\halign' in math mode.
 }
  $
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
4. Missing number, treated as zero.
 }
  $
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
5. Missing $ inserted.
 \end{document}
  
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
---
I would like to know how could i fix it, or is it a bug?

thanks


labelling cases

2004-05-03 Thread Raphael Clifford
Hi,

I have an equation with three cases.. something like

d_i,j = a if blah1
  = b if blah2
  = c if blah3
I am using the cases enviroment to do this? How can I label these cases 
so I can say later something like Case (1) shows...?

Cheers,
Raphael



labelling cases

2004-05-03 Thread Raphael Clifford
Hi,

I have an equation with three cases.. something like

d_i,j =  a if blah1
   b if blah2
   c if blah3
I am using the cases enviroment to do this? How can I label these cases 
so I can say later something like Case (1) shows...?

Cheers,
Raphael



Re: labelling cases

2004-05-03 Thread Rich Shepard
On Mon, 3 May 2004, Raphael Clifford wrote:

 I have an equation with three cases.. something like

 d_i,j =  a if blah1
 b if blah2
 c if blah3

Raphael,

  I use a left curly brace followed by a vector (matrix with one column and
three rows). You can always refer to them as when a ..., if b ... and so
on.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


  1   2   >