Re: chemical formula

2008-05-13 Thread Wolfgang Engelmann
script) one can declare a new command for > > sub-scribing chemical formula such as > > H_2 > > by declaring a new command \Molek > > \newcommand*{\Molek}[2]{#1\texstsubscript{#2}} > > which I did by putting this in the preamble of my Koma-book document. > > In the

Re: chemical formula

2008-05-13 Thread Eric S Fraga
On Tue, May 13, 2008 at 07:12:14AM +, Wolfgang Engelmann wrote: > by declaring a new command \Molek > \newcommand*{\Molek}[2]{#1\texstsubscript{#2}} > which I did by putting this in the preamble of my Koma-book document. > In the text I write in an ERT-box > \Molek H{2} You probably want \Mole

Re: chemical formula

2008-05-13 Thread Helge Hafting
Wolfgang Engelmann wrote: I got stuck with the following: According to Markus Kohm (Koma-script) one can declare a new command for sub-scribing chemical formula such as H_2 by declaring a new command \Molek \newcommand*{\Molek}[2]{#1\texstsubscript{#2}} which I did by putting this in the

chemical formula

2008-05-12 Thread Wolfgang Engelmann
I got stuck with the following: According to Markus Kohm (Koma-script) one can declare a new command for sub-scribing chemical formula such as H_2 by declaring a new command \Molek \newcommand*{\Molek}[2]{#1\texstsubscript{#2}} which I did by putting this in the preamble of my Koma-book document

Re: Re: Re: Q: long table and chemical formula

2001-07-13 Thread Andre Poenitz
> I, see. Thus, it will be removed, once we have a scripting language, right? Correctly so. > Still, we could have it in the documentation (e.g. in an example-bind-file) > with a clear warning about it beeing liable to change. It is semi-documented by its use in several bind files. Anybody act

Re: Q: long table and chemical formula

2001-07-12 Thread Dekel Tsur
On Wed, Jul 11, 2001 at 03:47:39PM +0200, Thomas de Grenier de Latour wrote: > > Could I have a function or macro that does this but > > also changes the font to roman? > > define strange shortcuts. Try something like this: > \bind "C-S-underscore""command-sequence math-insert _; > ma

Re: Q: long table and chemical formula

2001-07-12 Thread Thomas de Grenier de Latour
Guenter Milde wrote: > > Thanks for the tip with "command-sequence". > Thanks for the tip with "font-something", I was thinking it was only a text mode feature (I don't know why, this kind of fix idea you never verify). No more mathrm{blabla} in my formulas! -- Thomas.

Re: Re: Q: long table and chemical formula

2001-07-12 Thread Andre Poenitz
> (Dear documenters: could I have found it somewhere in the documentation?? > ->otherwise this is a documentation request) command-sequence is an awful hack and it not being documeented is a "feature" that should prevent users from using it excessivly in case the hack will change/be removed. A

Re: Q: long table and chemical formula

2001-07-12 Thread Juergen Vigna
Sorry for being late on this but it is possible to create a tabular with M-x tabular-insert 80 2 were 80 is the rows and 2 the columns! This should help to create tabulars in ANY size. Jürgen P.S.: This is with lyx-1.1.6xxx. -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Re: Re: Q: long table and chemical formula

2001-07-12 Thread Guenter Milde
On Wed, 11 Jul 2001 15:47:39 +0200 wrote Thomas de Grenier de Latour <[EMAIL PROTECTED]>: > Guenter Milde wrote: > > > > PS: Question to the gurus: > > > > Could I have a function or macro that does this but > > also changes the font to roman? > > > > \bind "C-S-underscore""math-inse

Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour
Thomas de Grenier de Latour (Hey! It's me!) wrote: > > "command-sequence math-insert _; tex-mode; type m; type a; type t; type > h; type r; type m; type {;" > H... strange... it does work when entered in the minibuffer, but not as a binded shortcut. Sorry for the mistake. (In fact, when t

Re: Q: long table and chemical formula

2001-07-11 Thread Thomas de Grenier de Latour
Guenter Milde wrote: > > PS: Question to the gurus: > > Could I have a function or macro that does this but > also changes the font to roman? > > \bind "C-S-underscore""math-insert _\mathrm{}"does not work > > defining a (math-macro sub 1) does not work either (font changes cannot

Re: Re: Q: long table and chemical formula

2001-07-11 Thread Guenter Milde
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg11775.html The csv2lyx script has improved much since this posting. (Would it be ok to send it to the list?) > > I have to use subscripts and superscripts for chemical formula very often. Is > > there any package that can make my

Re: Q: long table and chemical formula

2001-07-10 Thread Marco . Bravi
On Tue, 10 Jul 2001, Wonil Chang wrote: > I have to use subscripts and superscripts for chemical formula very > often. Is there any package that can make my life a little bit easier? As far as simple, non-structure formulas are concerned, I suggest that you stick to what you already use.

Re: Q: long table and chemical formula

2001-07-10 Thread Dekel Tsur
s 50. How can I increase the limit? You can change the limits only by changing the source. It is also possible to use script for converting a text file into a LyX table. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg11775.html > I have to use subscripts and superscripts for chemical form

Q: long table and chemical formula

2001-07-10 Thread Wonil Chang
Hello all, I need to convert a long data file (more than 100 rows and 5 columns) to a table in lyx. I tried to insert tabular by clicking on the table menubar, but the maximum row configured by default is 50. How can I increase the limit? I have to use subscripts and superscripts for chemical