Re: keeping words together

2002-11-20 Thread Nirmal Govind
Thanks everyone for the translations. I will try out Dekel's suggestion
abt controlling the spaces using the nolbreaks package with ERT... 

Thanks again,
nirmal





Re: keeping words together

2002-11-20 Thread Nirmal Govind
Thanks everyone for the translations. I will try out Dekel's suggestion
abt controlling the spaces using the nolbreaks package with ERT... 

Thanks again,
nirmal





Re: keeping words together

2002-11-20 Thread Nirmal Govind
Thanks everyone for the translations. I will try out Dekel's suggestion
abt controlling the spaces using the nolbreaks package with ERT... 

Thanks again,
nirmal





Re: keeping words together

2002-11-19 Thread Juergen Spitzmueller
Nirmal Govind wrote:
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line..

write in ERT
\mbox{First M. Last}

Jürgen.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Nirmal Govind wrote:

 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?

Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung 
solange keine walisische Silbentrennung installiert ist.

-- 
Moritz Moeller-Herrmann ICQ #3585990
(wiss. Mitarbeiter, IMGB, Mannheim)





Re: keeping words together

2002-11-19 Thread Nirmal Govind
 
 Sprache für den Text auf z.B. Walisisch setzen, verhindert die
 Trennung solange keine walisische Silbentrennung installiert ist.
 

Hmm.. unfortunately, I do not understand German.. can someone please
translate?

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Nirmal Govind
 
 write in ERT
 \mbox{First M. Last}

I just noticed that using the math-editor and \mbox with ERT results in
bad spacing.. so in the final output, after Last and the next word,
the space seems a bit less than what's normal between two words.. if I
try adding additional space with the protected space _ then it seems
like it's too much.. is this behavior normal or am I seeing things
now?!? (I really hope it's not the latter! :-))

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Nirmal Govind wrote:

  
  Sprache für den Text auf z.B. Walisisch setzen, verhindert die
  Trennung solange keine walisische Silbentrennung installiert ist.
  
 
 Hmm.. unfortunately, I do not understand German.. can someone please
 translate?
 
Here goes...

Setting the language for the text to for instance Walisisch??, prevents 
the separation as long as there is no walisische something-separation 
installed.

This doesn't help me, but maybe it gives you some idea :-)

LOL

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 10:53:49AM -0500, Nirmal Govind wrote:
  
  write in ERT
  \mbox{First M. Last}
 
 I just noticed that using the math-editor and \mbox with ERT results in
 bad spacing.. so in the final output, after Last and the next word,
 the space seems a bit less than what's normal between two words.. if I
 try adding additional space with the protected space _ then it seems
 like it's too much.. is this behavior normal or am I seeing things
 now?!? (I really hope it's not the latter! :-))

You are correct.
The solution is to use \nolbreaks{First M. Last}, and add
\usepackage{nolbreaks} to the preamble.

Another solution is to write First~M.~Last (using protected spaces),
and in the preamble or text add \hyphenation{First}.



Re: keeping words together

2002-11-19 Thread Andre Poenitz
On Tue, Nov 19, 2002 at 04:50:50PM +0100, Christian Ridderström wrote:
 On Tue, 19 Nov 2002, Nirmal Govind wrote:
 
   Sprache für den Text auf z.B. Walisisch setzen, verhindert die
   Trennung solange keine walisische Silbentrennung installiert ist.
  
  Hmm.. unfortunately, I do not understand German.. can someone please
  translate?
  
 Here goes...
 
 Setting the language for the text to for instance Walisisch??, prevents 
 the separation as long as there is no walisische something-separation 
 installed.

Welsh. separation == hyphenation.  ...  as long as there is no Welsh
hyphenation installed.

I guess the idea is to fool the hyphenation by asking for a language it
does not understand. Welsh seems to be the typical example for that trick
;-)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
  Setting the language for the text to for instance Walisisch??, prevents 
  the separation as long as there is no walisische something-separation 
  installed.
 
 Welsh. separation == hyphenation.  ...  as long as there is no Welsh
 hyphenation installed.
 
 I guess the idea is to fool the hyphenation by asking for a language it
 does not understand. Welsh seems to be the typical example for that trick
 ;-)

There is a simpler way to disable hyphenation:
\hyphenpenalty=1.
This can be done for only one paragraph: write \hyphenpenalty=1 at the
before the paragraph, and \hyphenpenalty=50 after it.

It is also possible to disable hyphenation for specific words:
\hyphenation{foo} will disable hyphenation for the word foo.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Moritz Moeller-Herrmann wrote:

 Nirmal Govind wrote:
 
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?
 
 Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung
 solange keine walisische Silbentrennung installiert ist.
 

Sorry for the German. 

Set the language to something like Welsh. This prevents hyphenation as long
as you don't have Welsh hyphenation installed.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Dekel Tsur wrote:

 On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
  Setting the language for the text to for instance Walisisch??,
  prevents the separation as long as there is no walisische
  something-separation installed.
 
 Welsh. separation == hyphenation.  ...  as long as there is no Welsh
 hyphenation installed.
 
 I guess the idea is to fool the hyphenation by asking for a language it
 does not understand. Welsh seems to be the typical example for that trick
 ;-)
 
 There is a simpler way to disable hyphenation:
 \hyphenpenalty=1.
 This can be done for only one paragraph: write \hyphenpenalty=1 at the
 before the paragraph, and \hyphenpenalty=50 after it.
 
 It is also possible to disable hyphenation for specific words:
 \hyphenation{foo} will disable hyphenation for the word foo.

I don't think using ERT is easier then setting the language via GUI.
Especially if you look at the start of the thread.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-19 Thread Juergen Spitzmueller
Nirmal Govind wrote:
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line..

write in ERT
\mbox{First M. Last}

Jürgen.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Nirmal Govind wrote:

 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?

Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung 
solange keine walisische Silbentrennung installiert ist.

-- 
Moritz Moeller-Herrmann ICQ #3585990
(wiss. Mitarbeiter, IMGB, Mannheim)





Re: keeping words together

2002-11-19 Thread Nirmal Govind
 
 Sprache für den Text auf z.B. Walisisch setzen, verhindert die
 Trennung solange keine walisische Silbentrennung installiert ist.
 

Hmm.. unfortunately, I do not understand German.. can someone please
translate?

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Nirmal Govind
 
 write in ERT
 \mbox{First M. Last}

I just noticed that using the math-editor and \mbox with ERT results in
bad spacing.. so in the final output, after Last and the next word,
the space seems a bit less than what's normal between two words.. if I
try adding additional space with the protected space _ then it seems
like it's too much.. is this behavior normal or am I seeing things
now?!? (I really hope it's not the latter! :-))

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Nirmal Govind wrote:

  
  Sprache für den Text auf z.B. Walisisch setzen, verhindert die
  Trennung solange keine walisische Silbentrennung installiert ist.
  
 
 Hmm.. unfortunately, I do not understand German.. can someone please
 translate?
 
Here goes...

Setting the language for the text to for instance Walisisch??, prevents 
the separation as long as there is no walisische something-separation 
installed.

This doesn't help me, but maybe it gives you some idea :-)

LOL

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 10:53:49AM -0500, Nirmal Govind wrote:
  
  write in ERT
  \mbox{First M. Last}
 
 I just noticed that using the math-editor and \mbox with ERT results in
 bad spacing.. so in the final output, after Last and the next word,
 the space seems a bit less than what's normal between two words.. if I
 try adding additional space with the protected space _ then it seems
 like it's too much.. is this behavior normal or am I seeing things
 now?!? (I really hope it's not the latter! :-))

You are correct.
The solution is to use \nolbreaks{First M. Last}, and add
\usepackage{nolbreaks} to the preamble.

Another solution is to write First~M.~Last (using protected spaces),
and in the preamble or text add \hyphenation{First}.



Re: keeping words together

2002-11-19 Thread Andre Poenitz
On Tue, Nov 19, 2002 at 04:50:50PM +0100, Christian Ridderström wrote:
 On Tue, 19 Nov 2002, Nirmal Govind wrote:
 
   Sprache für den Text auf z.B. Walisisch setzen, verhindert die
   Trennung solange keine walisische Silbentrennung installiert ist.
  
  Hmm.. unfortunately, I do not understand German.. can someone please
  translate?
  
 Here goes...
 
 Setting the language for the text to for instance Walisisch??, prevents 
 the separation as long as there is no walisische something-separation 
 installed.

Welsh. separation == hyphenation.  ...  as long as there is no Welsh
hyphenation installed.

I guess the idea is to fool the hyphenation by asking for a language it
does not understand. Welsh seems to be the typical example for that trick
;-)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
  Setting the language for the text to for instance Walisisch??, prevents 
  the separation as long as there is no walisische something-separation 
  installed.
 
 Welsh. separation == hyphenation.  ...  as long as there is no Welsh
 hyphenation installed.
 
 I guess the idea is to fool the hyphenation by asking for a language it
 does not understand. Welsh seems to be the typical example for that trick
 ;-)

There is a simpler way to disable hyphenation:
\hyphenpenalty=1.
This can be done for only one paragraph: write \hyphenpenalty=1 at the
before the paragraph, and \hyphenpenalty=50 after it.

It is also possible to disable hyphenation for specific words:
\hyphenation{foo} will disable hyphenation for the word foo.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Moritz Moeller-Herrmann wrote:

 Nirmal Govind wrote:
 
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?
 
 Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung
 solange keine walisische Silbentrennung installiert ist.
 

Sorry for the German. 

Set the language to something like Welsh. This prevents hyphenation as long
as you don't have Welsh hyphenation installed.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Dekel Tsur wrote:

 On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
  Setting the language for the text to for instance Walisisch??,
  prevents the separation as long as there is no walisische
  something-separation installed.
 
 Welsh. separation == hyphenation.  ...  as long as there is no Welsh
 hyphenation installed.
 
 I guess the idea is to fool the hyphenation by asking for a language it
 does not understand. Welsh seems to be the typical example for that trick
 ;-)
 
 There is a simpler way to disable hyphenation:
 \hyphenpenalty=1.
 This can be done for only one paragraph: write \hyphenpenalty=1 at the
 before the paragraph, and \hyphenpenalty=50 after it.
 
 It is also possible to disable hyphenation for specific words:
 \hyphenation{foo} will disable hyphenation for the word foo.

I don't think using ERT is easier then setting the language via GUI.
Especially if you look at the start of the thread.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-19 Thread Juergen Spitzmueller
Nirmal Govind wrote:
> Thanks everyone for the prompt replies.. the protected space does
> hyphenate words so I get "Fi-" on one line and "rst M. Last" on the next
> line..

write in ERT
\mbox{First M. Last}

Jürgen.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Nirmal Govind wrote:

> Thanks everyone for the prompt replies.. the protected space does
> hyphenate words so I get "Fi-" on one line and "rst M. Last" on the next
> line.. the text-within-math-editor works but shouldn't there be a more
> elegant way of doing this?

Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung 
solange keine walisische Silbentrennung installiert ist.

-- 
Moritz Moeller-Herrmann ICQ #3585990
(wiss. Mitarbeiter, IMGB, Mannheim)





Re: keeping words together

2002-11-19 Thread Nirmal Govind
> 
> Sprache für den Text auf z.B. Walisisch setzen, verhindert die
> Trennung solange keine walisische Silbentrennung installiert ist.
> 

Hmm.. unfortunately, I do not understand German.. can someone please
translate?

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Nirmal Govind
> 
> write in ERT
> \mbox{First M. Last}

I just noticed that using the math-editor and \mbox with ERT results in
bad spacing.. so in the final output, after "Last" and the next word,
the space seems a bit less than what's normal between two words.. if I
try adding additional space with the protected space "_" then it seems
like it's too much.. is this behavior normal or am I seeing things
now?!? (I really hope it's not the latter! :-))

Thanks,
nirmal





Re: keeping words together

2002-11-19 Thread Christian Ridderström
On Tue, 19 Nov 2002, Nirmal Govind wrote:

> > 
> > Sprache für den Text auf z.B. Walisisch setzen, verhindert die
> > Trennung solange keine walisische Silbentrennung installiert ist.
> > 
> 
> Hmm.. unfortunately, I do not understand German.. can someone please
> translate?
> 
Here goes...

Setting the language for the text to for instance "Walisisch"??, prevents 
the separation as long as there is no "walisische" -separation 
installed.

This doesn't help me, but maybe it gives you some idea :-)

LOL

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 10:53:49AM -0500, Nirmal Govind wrote:
> > 
> > write in ERT
> > \mbox{First M. Last}
> 
> I just noticed that using the math-editor and \mbox with ERT results in
> bad spacing.. so in the final output, after "Last" and the next word,
> the space seems a bit less than what's normal between two words.. if I
> try adding additional space with the protected space "_" then it seems
> like it's too much.. is this behavior normal or am I seeing things
> now?!? (I really hope it's not the latter! :-))

You are correct.
The solution is to use \nolbreaks{First M. Last}, and add
\usepackage{nolbreaks} to the preamble.

Another solution is to write First~M.~Last (using protected spaces),
and in the preamble or text add \hyphenation{First}.



Re: keeping words together

2002-11-19 Thread Andre Poenitz
On Tue, Nov 19, 2002 at 04:50:50PM +0100, Christian Ridderström wrote:
> On Tue, 19 Nov 2002, Nirmal Govind wrote:
> >
> > > Sprache für den Text auf z.B. Walisisch setzen, verhindert die
> > > Trennung solange keine walisische Silbentrennung installiert ist.
> > 
> > Hmm.. unfortunately, I do not understand German.. can someone please
> > translate?
> > 
> Here goes...
> 
> Setting the language for the text to for instance "Walisisch"??, prevents 
> the separation as long as there is no "walisische" -separation 
> installed.

Welsh. separation == hyphenation.  ...  as long as there is no Welsh
hyphenation installed.

I guess the idea is to fool the hyphenation by asking for a language it
does not understand. Welsh seems to be the typical example for that trick
;-)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: keeping words together

2002-11-19 Thread Dekel Tsur
On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
> > Setting the language for the text to for instance "Walisisch"??, prevents 
> > the separation as long as there is no "walisische" -separation 
> > installed.
> 
> Welsh. separation == hyphenation.  ...  as long as there is no Welsh
> hyphenation installed.
> 
> I guess the idea is to fool the hyphenation by asking for a language it
> does not understand. Welsh seems to be the typical example for that trick
> ;-)

There is a simpler way to disable hyphenation:
\hyphenpenalty=1.
This can be done for only one paragraph: write \hyphenpenalty=1 at the
before the paragraph, and \hyphenpenalty=50 after it.

It is also possible to disable hyphenation for specific words:
\hyphenation{foo} will disable hyphenation for the word foo.



Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Moritz Moeller-Herrmann wrote:

> Nirmal Govind wrote:
> 
>> Thanks everyone for the prompt replies.. the protected space does
>> hyphenate words so I get "Fi-" on one line and "rst M. Last" on the next
>> line.. the text-within-math-editor works but shouldn't there be a more
>> elegant way of doing this?
> 
> Sprache für den Text auf z.B. Walisisch setzen, verhindert die Trennung
> solange keine walisische Silbentrennung installiert ist.
> 

Sorry for the German. 

Set the language to something like Welsh. This prevents hyphenation as long
as you don't have Welsh hyphenation installed.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-19 Thread Moritz Moeller-Herrmann
Dekel Tsur wrote:

> On Tue, Nov 19, 2002 at 05:34:14PM +0100, Andre Poenitz wrote:
>> > Setting the language for the text to for instance "Walisisch"??,
>> > prevents the separation as long as there is no "walisische"
>> > -separation installed.
>> 
>> Welsh. separation == hyphenation.  ...  as long as there is no Welsh
>> hyphenation installed.
>> 
>> I guess the idea is to fool the hyphenation by asking for a language it
>> does not understand. Welsh seems to be the typical example for that trick
>> ;-)
> 
> There is a simpler way to disable hyphenation:
> \hyphenpenalty=1.
> This can be done for only one paragraph: write \hyphenpenalty=1 at the
> before the paragraph, and \hyphenpenalty=50 after it.
> 
> It is also possible to disable hyphenation for specific words:
> \hyphenation{foo} will disable hyphenation for the word foo.

I don't think using ERT is easier then setting the language via GUI.
Especially if you look at the start of the thread.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] wiss. Mitarbeiter, IMGB
La loi, dans un grand souci d'égalité, interdit aux riches comme aux
pauvres de coucher sous les ponts, de mendier dans les rues et de voler
du pain. 
(ANATOLE FRANCE)
 





Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 15:39, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

 Thanks,
 nirmal

Use protected spaces: CTRL-SPACE, like
First_M._Last
where _ is a protected space (CTRL-SPACE)

If that still splits your word_with_spaces (e.g. through hyphenation) you can 
do an less elegant thing and type it in math-mode as text.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



Re: keeping words together

2002-11-18 Thread Nirmal Govind
Thanks everyone for the prompt replies.. the protected space does
hyphenate words so I get Fi- on one line and rst M. Last on the next
line.. the text-within-math-editor works but shouldn't there be a more
elegant way of doing this?

Thanks,
nirmal





Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?

 Thanks,
 nirmal

There is a way to prevent hyphenation/set hyphenation points in latex. I 
remember reading sg. about it in the lyx documentation. I think it will be 
much easier to just use text in mathed.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Thomas Templin
On Tuesday 19 November 2002 06:59, Steven Homolya wrote:
 On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
  Thanks everyone for the prompt replies.. the protected space
  does hyphenate words so I get Fi- on one line and rst M.
  Last on the next line.. the text-within-math-editor works but
  shouldn't there be a more elegant way of doing this?
[...]
 There is a way to prevent hyphenation/set hyphenation points in
 latex. I remember reading sg. about it in the lyx documentation.
 I think it will be much easier to just use text in mathed.
[...]
The hyphenation package may help:
http://www.dante.de/CTAN/macros/latex/contrib/supported/hyphenat/
I've never used it up to now, may be I should have a closer look on 
it :)
bye,
Thomas



Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 15:39, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

 Thanks,
 nirmal

Use protected spaces: CTRL-SPACE, like
First_M._Last
where _ is a protected space (CTRL-SPACE)

If that still splits your word_with_spaces (e.g. through hyphenation) you can 
do an less elegant thing and type it in math-mode as text.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
 Hi.. have a really simple question ... if I'm trying to get all parts of
 a name, say First M. Last to stay together on the same line, then how
 do I do it in LyX? Basically, I'm trying to avoid getting First at the
 end of one line and then M. Last at the beginning of the next line. I
 vaguely remember something of this sort exists in Latex but is there a
 way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



Re: keeping words together

2002-11-18 Thread Nirmal Govind
Thanks everyone for the prompt replies.. the protected space does
hyphenate words so I get Fi- on one line and rst M. Last on the next
line.. the text-within-math-editor works but shouldn't there be a more
elegant way of doing this?

Thanks,
nirmal





Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
 Thanks everyone for the prompt replies.. the protected space does
 hyphenate words so I get Fi- on one line and rst M. Last on the next
 line.. the text-within-math-editor works but shouldn't there be a more
 elegant way of doing this?

 Thanks,
 nirmal

There is a way to prevent hyphenation/set hyphenation points in latex. I 
remember reading sg. about it in the lyx documentation. I think it will be 
much easier to just use text in mathed.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Thomas Templin
On Tuesday 19 November 2002 06:59, Steven Homolya wrote:
 On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
  Thanks everyone for the prompt replies.. the protected space
  does hyphenate words so I get Fi- on one line and rst M.
  Last on the next line.. the text-within-math-editor works but
  shouldn't there be a more elegant way of doing this?
[...]
 There is a way to prevent hyphenation/set hyphenation points in
 latex. I remember reading sg. about it in the lyx documentation.
 I think it will be much easier to just use text in mathed.
[...]
The hyphenation package may help:
http://www.dante.de/CTAN/macros/latex/contrib/supported/hyphenat/
I've never used it up to now, may be I should have a closer look on 
it :)
bye,
Thomas



Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 15:39, Nirmal Govind wrote:
> Hi.. have a really simple question ... if I'm trying to get all parts of
> a name, say "First M. Last" to stay together on the same line, then how
> do I do it in LyX? Basically, I'm trying to avoid getting "First" at the
> end of one line and then "M. Last" at the beginning of the next line. I
> vaguely remember something of this sort exists in Latex but is there a
> way in LyX to do this?
>
> Thanks,
> nirmal

Use protected spaces: CTRL-SPACE, like
First_M._Last
where _ is a protected space (CTRL-SPACE)

If that still splits your word_with_spaces (e.g. through hyphenation) you can 
do an less elegant thing and type it in math-mode as text.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Peter Harkins
On Mon, Nov 18, 2002 at 11:39:58PM -0500, Nirmal Govind wrote:
> Hi.. have a really simple question ... if I'm trying to get all parts of
> a name, say "First M. Last" to stay together on the same line, then how
> do I do it in LyX? Basically, I'm trying to avoid getting "First" at the
> end of one line and then "M. Last" at the beginning of the next line. I
> vaguely remember something of this sort exists in Latex but is there a
> way in LyX to do this?

Instead of typing a normal space, hold ctrl and hit space for a
protected blank. It won't be broken across lines. (Hey, finally a question I
can answer.)



Re: keeping words together

2002-11-18 Thread Nirmal Govind
Thanks everyone for the prompt replies.. the protected space does
hyphenate words so I get "Fi-" on one line and "rst M. Last" on the next
line.. the text-within-math-editor works but shouldn't there be a more
elegant way of doing this?

Thanks,
nirmal





Re: keeping words together

2002-11-18 Thread Steven Homolya
On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
> Thanks everyone for the prompt replies.. the protected space does
> hyphenate words so I get "Fi-" on one line and "rst M. Last" on the next
> line.. the text-within-math-editor works but shouldn't there be a more
> elegant way of doing this?
>
> Thanks,
> nirmal

There is a way to prevent hyphenation/set hyphenation points in latex. I 
remember reading sg. about it in the lyx documentation. I think it will be 
much easier to just use text in mathed.

Steve

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: keeping words together

2002-11-18 Thread Thomas Templin
On Tuesday 19 November 2002 06:59, Steven Homolya wrote:
> On Tue, 19 Nov 2002 16:51, Nirmal Govind wrote:
> > Thanks everyone for the prompt replies.. the protected space
> > does hyphenate words so I get "Fi-" on one line and "rst M.
> > Last" on the next line.. the text-within-math-editor works but
> > shouldn't there be a more elegant way of doing this?
[...]
> There is a way to prevent hyphenation/set hyphenation points in
> latex. I remember reading sg. about it in the lyx documentation.
> I think it will be much easier to just use text in mathed.
[...]
The hyphenation package may help:
http://www.dante.de/CTAN/macros/latex/contrib/supported/hyphenat/
I've never used it up to now, may be I should have a closer look on 
it :)
bye,
Thomas