Re: replace text

2008-07-28 Thread Jürgen Spitzmüller
G. Milde wrote:
  Maybe LyX need chemistry mode similar to the math mode (with certainly
  less options).

 In LyX 1.6, this could (probably) be done with a character style (similar
 to an URL, say).

character styles are also avaliable in 1.5.

Jürgen


Re: replace text

2008-07-28 Thread Jürgen Spitzmüller
G. Milde wrote:
  Maybe LyX need chemistry mode similar to the math mode (with certainly
  less options).

 In LyX 1.6, this could (probably) be done with a character style (similar
 to an URL, say).

character styles are also avaliable in 1.5.

Jürgen


Re: replace text

2008-07-28 Thread Jürgen Spitzmüller
G. Milde wrote:
> > Maybe LyX need chemistry mode similar to the math mode (with certainly
> > less options).
>
> In LyX 1.6, this could (probably) be done with a "character style" (similar
> to an URL, say).

character styles are also avaliable in 1.5.

Jürgen


Re: replace text

2008-07-27 Thread G. Milde
On 24.07.08, Manveru wrote:
 2008/7/23 Christopher Reeve [EMAIL PROTECTED]:

 Maybe LyX need chemistry mode similar to the math mode (with certainly less
 options).

In LyX 1.6, this could (probably) be done with a character style (similar
to an URL, say).


Günter


Re: replace text

2008-07-27 Thread G. Milde
On 24.07.08, Manveru wrote:
 2008/7/23 Christopher Reeve [EMAIL PROTECTED]:

 Maybe LyX need chemistry mode similar to the math mode (with certainly less
 options).

In LyX 1.6, this could (probably) be done with a character style (similar
to an URL, say).


Günter


Re: replace text

2008-07-27 Thread G. Milde
On 24.07.08, Manveru wrote:
> 2008/7/23 Christopher Reeve <[EMAIL PROTECTED]>:

> Maybe LyX need chemistry mode similar to the math mode (with certainly less
> options).

In LyX 1.6, this could (probably) be done with a "character style" (similar
to an URL, say).


Günter


Re: replace text

2008-07-24 Thread Manveru
Maybe LyX need chemistry mode similar to the math mode (with certainly less
options).

2008/7/23 Christopher Reeve [EMAIL PROTECTED]:

 I don't know about you, but I find having lots of ERTs in my document
 distracting and a bit annoying!

 My solution is similar but instead I use the math mode - that way I see the
 actual symbol I typed...

 eg, include the following line in your Preamble
 \newcommand{\hho}{\text{H}_2\text{O}}

 Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
 starts the equation editor
 enter \hho as your equation and hit space a couple of times.

 You should now have a nice compiled H20 to look at in your LyX document.

 So that I can see for example the Angstrom symbol I type Command-m \text
 space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
 than an annoying ERT.

 Chris.




-- 
Manveru
jabber: [EMAIL PROTECTED]
gg: 1624001
http://www.manveru.pl


Re: replace text

2008-07-24 Thread Manveru
Maybe LyX need chemistry mode similar to the math mode (with certainly less
options).

2008/7/23 Christopher Reeve [EMAIL PROTECTED]:

 I don't know about you, but I find having lots of ERTs in my document
 distracting and a bit annoying!

 My solution is similar but instead I use the math mode - that way I see the
 actual symbol I typed...

 eg, include the following line in your Preamble
 \newcommand{\hho}{\text{H}_2\text{O}}

 Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
 starts the equation editor
 enter \hho as your equation and hit space a couple of times.

 You should now have a nice compiled H20 to look at in your LyX document.

 So that I can see for example the Angstrom symbol I type Command-m \text
 space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
 than an annoying ERT.

 Chris.




-- 
Manveru
jabber: [EMAIL PROTECTED]
gg: 1624001
http://www.manveru.pl


Re: replace text

2008-07-24 Thread Manveru
Maybe LyX need chemistry mode similar to the math mode (with certainly less
options).

2008/7/23 Christopher Reeve <[EMAIL PROTECTED]>:

> I don't know about you, but I find having lots of ERTs in my document
> distracting and a bit annoying!
>
> My solution is similar but instead I use the math mode - that way I see the
> actual symbol I typed...
>
> eg, include the following line in your Preamble
> \newcommand{\hho}{\text{H}_2\text{O}}
>
> Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
> starts the equation editor
> enter \hho as your equation and hit space a couple of times.
>
> You should now have a nice compiled H20 to look at in your LyX document.
>
> So that I can see for example the Angstrom symbol I type Command-m \text
> space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
> than an annoying ERT.
>
> Chris.
>



-- 
Manveru
jabber: [EMAIL PROTECTED]
gg: 1624001
http://www.manveru.pl


Re: replace text

2008-07-23 Thread Christopher Reeve
I don't know about you, but I find having lots of ERTs in my document
distracting and a bit annoying!

My solution is similar but instead I use the math mode - that way I see the
actual symbol I typed...

eg, include the following line in your Preamble
\newcommand{\hho}{\text{H}_2\text{O}}

Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
starts the equation editor
enter \hho as your equation and hit space a couple of times.

You should now have a nice compiled H20 to look at in your LyX document.

So that I can see for example the Angstrom symbol I type Command-m \text
space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
than an annoying ERT.

Chris.


Re: replace text

2008-07-23 Thread Christopher Reeve
I don't know about you, but I find having lots of ERTs in my document
distracting and a bit annoying!

My solution is similar but instead I use the math mode - that way I see the
actual symbol I typed...

eg, include the following line in your Preamble
\newcommand{\hho}{\text{H}_2\text{O}}

Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
starts the equation editor
enter \hho as your equation and hit space a couple of times.

You should now have a nice compiled H20 to look at in your LyX document.

So that I can see for example the Angstrom symbol I type Command-m \text
space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
than an annoying ERT.

Chris.


Re: replace text

2008-07-23 Thread Christopher Reeve
I don't know about you, but I find having lots of ERTs in my document
distracting and a bit annoying!

My solution is similar but instead I use the math mode - that way I see the
actual symbol I typed...

eg, include the following line in your Preamble
\newcommand{\hho}{\text{H}_2\text{O}}

Then inside your document simply type Command-m (or Ctrl-m on a PC?) which
starts the equation editor
enter \hho as your equation and hit space a couple of times.

You should now have a nice compiled H20 to look at in your LyX document.

So that I can see for example the Angstrom symbol I type Command-m \text
space \AA Command-end (ie \text{\AA}) so that I actuall can see it rather
than an annoying ERT.

Chris.


Re: replace text

2008-07-22 Thread Nicolas Ferré

Jon Brauer a écrit :

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon




Hi,

The mhchem package is rather convenient for typing chemical formulae and 
reaction equations. The water molecule can be written as \ce{H2O}.


--
Nicolas Ferre'
Laboratoire Chimie Provence
Universite' de Provence - France
Tel: +33 491282733
http://sites.univ-provence.fr/lcp-ct


Re: replace text

2008-07-22 Thread Sylvain
 Try this in the preamble:
 
 \usepackage{fixltx2e}
 \newcommand{\HHO}{H\textsubscript{2}O}
 
 Then in your text, put \HHO{} in ERT.
 
 /Paul
 
 
What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain





Re: replace text

2008-07-22 Thread Paul A. Rubin

Sylvain wrote:

Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul



What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain



If they are all chemical formulae, I suspect the package Nicolas Ferre' 
recommended is the answer.  If they are something else, and assuming you 
use them frequently, I would suggest either putting them all in a text 
file that you can \include in any document where you need them, or else 
modify your layout file(s) to include them in the preamble (the former 
being less work).


/Paul



Re: replace text

2008-07-22 Thread Sylvain
 If they are all chemical formulae, I suspect the package Nicolas Ferre' 
 recommended is the answer.  If they are something else, and assuming you 
 use them frequently, I would suggest either putting them all in a text 
 file that you can \include in any document where you need them, or else 
 modify your layout file(s) to include them in the preamble (the former 
 being less work).
 
 /Paul
 

Thanks, the package mentioned by Nicolas is exactly what I was looking for. It
makes copy-pasting chemistry documents from MS-Word much easier.
Sylvain






Re: replace text

2008-07-22 Thread Nicolas Ferré

Jon Brauer a écrit :

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon




Hi,

The mhchem package is rather convenient for typing chemical formulae and 
reaction equations. The water molecule can be written as \ce{H2O}.


--
Nicolas Ferre'
Laboratoire Chimie Provence
Universite' de Provence - France
Tel: +33 491282733
http://sites.univ-provence.fr/lcp-ct


Re: replace text

2008-07-22 Thread Sylvain
 Try this in the preamble:
 
 \usepackage{fixltx2e}
 \newcommand{\HHO}{H\textsubscript{2}O}
 
 Then in your text, put \HHO{} in ERT.
 
 /Paul
 
 
What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain





Re: replace text

2008-07-22 Thread Paul A. Rubin

Sylvain wrote:

Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul



What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain



If they are all chemical formulae, I suspect the package Nicolas Ferre' 
recommended is the answer.  If they are something else, and assuming you 
use them frequently, I would suggest either putting them all in a text 
file that you can \include in any document where you need them, or else 
modify your layout file(s) to include them in the preamble (the former 
being less work).


/Paul



Re: replace text

2008-07-22 Thread Sylvain
 If they are all chemical formulae, I suspect the package Nicolas Ferre' 
 recommended is the answer.  If they are something else, and assuming you 
 use them frequently, I would suggest either putting them all in a text 
 file that you can \include in any document where you need them, or else 
 modify your layout file(s) to include them in the preamble (the former 
 being less work).
 
 /Paul
 

Thanks, the package mentioned by Nicolas is exactly what I was looking for. It
makes copy-pasting chemistry documents from MS-Word much easier.
Sylvain






Re: replace text

2008-07-22 Thread Nicolas Ferré

Jon Brauer a écrit :

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon




Hi,

The mhchem package is rather convenient for typing chemical formulae and 
reaction equations. The water molecule can be written as \ce{H2O}.


--
Nicolas Ferre'
Laboratoire Chimie Provence
Universite' de Provence - France
Tel: +33 491282733
http://sites.univ-provence.fr/lcp-ct


Re: replace text

2008-07-22 Thread Sylvain
> Try this in the preamble:
> 
> \usepackage{fixltx2e}
> \newcommand{\HHO}{H\textsubscript{2}O}
> 
> Then in your text, put \HHO{} in ERT.
> 
> /Paul
> 
> 
What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain





Re: replace text

2008-07-22 Thread Paul A. Rubin

Sylvain wrote:

Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul



What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain



If they are all chemical formulae, I suspect the package Nicolas Ferre' 
recommended is the answer.  If they are something else, and assuming you 
use them frequently, I would suggest either putting them all in a text 
file that you can \include in any document where you need them, or else 
modify your layout file(s) to include them in the preamble (the former 
being less work).


/Paul



Re: replace text

2008-07-22 Thread Sylvain
> If they are all chemical formulae, I suspect the package Nicolas Ferre' 
> recommended is the answer.  If they are something else, and assuming you 
> use them frequently, I would suggest either putting them all in a text 
> file that you can \include in any document where you need them, or else 
> modify your layout file(s) to include them in the preamble (the former 
> being less work).
> 
> /Paul
> 

Thanks, the package mentioned by Nicolas is exactly what I was looking for. It
makes copy-pasting chemistry documents from MS-Word much easier.
Sylvain






replace text

2008-07-21 Thread Jon Brauer
I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon


Re: replace text

2008-07-21 Thread Paul A. Rubin

Jon Brauer wrote:

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.



Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul



replace text

2008-07-21 Thread Jon Brauer
I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon


Re: replace text

2008-07-21 Thread Paul A. Rubin

Jon Brauer wrote:

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.



Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul



replace text

2008-07-21 Thread Jon Brauer
I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.

--
- jon


Re: replace text

2008-07-21 Thread Paul A. Rubin

Jon Brauer wrote:

I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.



Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul