Re: replace text

2008-07-27 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-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 mo

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 in

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

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

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-21 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 s

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 subs

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