how write any character (greek, unit, ...) in text mode inside a formula
Hello, I use LyX-1.2.0cvs and I would like to know how can I write any greek character in text mode ? And what must I do for writing any character like unit (m, kg, ..) in text mode inside a formula ? For example, I have to write the following sentence : "0,4 um < l < 0,8 um", where u is mu, l is lambda and m is for meter. The problem is that u, m and l are in math mode and so they are displayed and printed in italics ... Thanks in advance and best regards, Pierrick.
Re: how write any character (greek, unit, ...) in text mode inside a formula
Pierrick Mellerin wrote: > Hello, > > I use LyX-1.2.0cvs and I would like to know how can I write any greek > character in text mode ? And what must I do for writing any character like > unit (m, kg, ..) in text mode inside a formula ? For example, I have to write > the following sentence : "0,4 um < l < 0,8 um", where u is mu, l is lambda > and m is for meter. The problem is that u, m and l are in math mode and so > they are displayed and printed in italics ... in preamble \usepackage[amssymb,Gray,textstyle,thinqspace]{SIunits} and in text in tex(red) \micro\meter for µm Herbert -- http://www.lyx.org/help/
Multiple bibliographies in a single doc
I would like to make a bibliography wich would be divided in multiple parts and wich would cite all the things in my .bib files. The problem is that only the first bibliography is created. In the second part, i have the good bibliography title but the first bibliography is repeted, and nowhere i can see the references from the second bib file. What shall i do to have the second bibliography too? Here how my lyx file looks like: # \nocite{*} # \renewcommand\refname{Bibliographie} # *** Here the box who calls the biblio Bibliographie # \nocite{*} # \renewcommand\refname{Archives} # *** Here the box who calls the biblio Archives [lyx-1.1.6fix4 on debian woody] Here the same message in french: Je voudrais faire une bibliographie divisée en plusieurs parties, qui donne les références de tous les ouvrages de mes fichiers de bibliographie. L'ennui c'est que seule la première bibliographie est créée, et elle est répétée dans la deuxième partie (qui a bien le titre que je lui demande). Comment faire pour que la deuxième biblio ne soit pas une répétition de la première? Voilà à quoi ressemble le fichier lyx: # \nocite{*} # \renewcommand\refname{Bibliographie} # *** Ici la boîte qui appelle la biblio Bibliographie # \nocite{*} # \renewcommand\refname{Archives} # *** Ici la boîte qui appelle la biblio Archives -- Fabrice
Re: Multiple bibliographies in a single doc
Fabrice wrote: > I would like to make a bibliography wich would be divided in multiple > parts and wich would cite all the things in my .bib files. > > The problem is that only the first bibliography is created. In the second > part, i have the good bibliography title but the first bibliography is > repeted, and nowhere i can see the references from the second bib file. > > What shall i do to have the second bibliography too? > > Here how my lyx file looks like: > > # \nocite{*} > # \renewcommand\refname{Bibliographie} > # *** Here the box who calls the biblio Bibliographie > # \nocite{*} > # \renewcommand\refname{Archives} > # *** Here the box who calls the biblio Archives I don't know if I understand well. You can insert more than one bibfile into Insert->Lists&TOC->Insert Bibfile->Data devide them by a comma. Herbert -- http://www.lyx.org/help/
Re: Exporting to PDF
On Sat, Apr 13, 2002 at 12:13:48PM -0300, Roberto Hernandez wrote: > Hi all, > > I've been trying to export some documents to PDF with partial success. > The instructions I used are in section 3.3.6 of the Extended Features > manual. > > The first thing I did was to create ~/.dvipsrc and add the following lines: > > p+ psfonts.cmz > p+ psfonts.amz What is your version of ghostscript ? You must use gs >= 6.0 > > Then I tried changing the document's font to "pslatex". When doing this, > the output looks good on Acrobat Reader, except for a couple of symbols > (for example the \mathscr{F} I use to denote the Fourier transform). Which package you use for the \mathscr command ?
Re: Inserting figures
On Sat, Apr 13, 2002 at 08:34:33PM +0200, Herbert Voss wrote: > Rendell Stevens wrote: > > > I am new to LyX, using LyX Version 1.1.6fix4 of fri, Jan 11 2002 and > > have some questions about inserting figures. 1. Is it right, that it is > > only possible to insert eps or ps - figures? > > I draw my pictures with Star Offic 5.2. SO does not allow me to save the > > drawings as Postscript, so I use the print-funktion: I change the > > papersize to the size of my figure, draw it, and print it to a (ps-) > > file. Ghostview shows the resulting file without problems, but when I > > try to include this file in Lyx, I get the error: > > "LaTeX Error: Cannot determine size of graphics in file.ps (no Boundin > > \centering \includegraphics{file.ps} \vspace{0.3cm}" > > > the ps-file is buggy. do a simple > > ps2ps yourFile.ps yourNewFile.ps Or ps2eps http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ps2eps.html
Re: Multiple bibliographies in a single doc
On Sun, Apr 14, 2002 at 06:45:55PM +0200, Fabrice wrote: > I would like to make a bibliography wich would be divided in multiple > parts and wich would cite all the things in my .bib files. > > The problem is that only the first bibliography is created. In the second > part, i have the good bibliography title but the first bibliography is > repeted, and nowhere i can see the references from the second bib file. > > What shall i do to have the second bibliography too? > > Here how my lyx file looks like: > > # \nocite{*} > # \renewcommand\refname{Bibliographie} > # *** Here the box who calls the biblio Bibliographie > # \nocite{*} > # \renewcommand\refname{Archives} > # *** Here the box who calls the biblio Archives Use bibtopic.
Re: Multiple bibliographies in a single doc
Herbert Voss <[EMAIL PROTECTED]> a écrit (l'horloge annonçait Sun, 14 Apr 2002 19:51:25 +0200): HV > HV > I don't know if I understand well. HV > You can insert more than one bibfile into HV > Insert->Lists&TOC->Insert Bibfile->Data HV > HV > devide them by a comma. HV > HV > Herbert HV > But when i do so, the multiple bibliographies (bib1, bib2, bib3) are put together in a single one (bibA), with an unique title ("Références"). What i want is :* Title for the complete Bibliographie * (sub)Title of bib1 * bib1 * (sub)Title of bib2 * bib2 * (sub)Title of bib3 * bib3 i'll try bibtopic like Dekel Tsur recommends. -- Fabrice
custom_export_command format
In lyxrc there's a section for Export with this example: #\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf" I want to make a pdf file, and having epstopdf on my system, I've been printing to ps, then doing: epstopdf --filter xxx.pdf Following the lyxrc example, I tried making the custom command as: \custom_export_command "epstopdf -f -o=`basename '$$FName'`.pdf" and several other variations on that form, but no pdf file results. I do get a .ps_tmp file and a very small .ps_tmp.pdf file in /tmp/lyx_tmp.../lyx_buf... but I was hoping for a pdf file in my working directory. Since I don't have ".ps_tmp" in my custom_export definition, I guess the suffix must be wired in somewhere. Can someone translate that example? I'm assuming "`basename '$$FName'`" means "xxx" in my little example above, but since I get no output, I'm probably assuming wrong. FWIW, I'm using lyx1.1.5. TIA, Jim
Crash when viewing a file
Hello! This is a bug report for lyx 1.1.6fix4 built from source with gcc 2.95.3 on a recently installed machine (used slack for install). The xforms library is 0.89, and all the demo programs run well. The problem occurs when i go to the View menu and try to view the current document as anything (pdf, ps, dvi); it crashes with sigsegv. I tried with any documents: one-letter only, the lyx documentation, and some small one-line + eps ones, all without success. If i go to /tmp i can see the files generated correctly; everything looks like the problem happens when the converter finish running. This behaviour is completely reproductible. The top of the backtrace follows; i have the rest but it didn't seem relevant. Please tell me if you need anything, or want to try something. Thanks, Alberto PS: i'm not subscribed to the list, so please CC. -- Backtrace (cut at 76 chars, indented by hand): #0 0x405249f1 in __kill () from /lib/libc.so.6 #1 0x405246d4 in raise (sig=6) at ../sysdeps/posix/raise.c:27 #2 0x40525e31 in abort () at ../sysdeps/generic/abort.c:88 #3 0x4051efd2 in __assert_fail () at assert.c:60 #4 0x824ec1b in basic_string, __default_alloc_template >::replace (this=0xbfffedf0, pos1=0, n1=4294967295, str=@0xbfffedec, pos2=137618496, n2=137618912) at /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/std/bastring.cc:126 #5 0x823ca01 in LSubstring::operator basic_string, __default_alloc_template > (this=0xbfffed00) at /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/std/bastring.h:216 #6 0x806d6cd in LaTeX::deplog (this=0xb1a4, head=@0xb06c) at LaTeX.C:656 #7 0x8067b94 in LaTeX::run (this=0xb1a4, terr=@0xb1c4, minib=0x8346dc8) at LaTeX.C:207 #8 0x80b6d20 in Converters::runLaTeX (this=0x82fd840, buffer=0x836ef68, command=@0xb2c4) at converter.C:825
Display formula in Description environment
Hi, I would like to nest display formulas in the description environment. I want the output to look like: Jumpsx = x + 1 where "Jumps" is the description label and "x = x + 1" is the (centered) display formula. The problem is, I can't get the display formula to be centered. The formula is always left-justified. For example, if I enter the description environment, type the word "Jumps", click "Insert... Display Formula", the formula box is left-justified instead of centered. thanks Melissa
Re: Display formula in Description environment
Melissa wrote: > I would like to nest display formulas in the description environment. > I want the output to look like: > >Jumpsx = x + 1 > > where "Jumps" is the description label and "x = x + 1" is the > (centered) display formula. The problem is, I can't get the display > formula to be centered. The formula is always left-justified. For > example, if I enter the description environment, type the word > "Jumps", click "Insert... Display Formula", the formula box is > left-justified instead of centered. Jump alt-m-d otherwise the formula is part of the descriptionlable and this is leftaligned. Herbert -- http://www.lyx.org/help/
Re: custom_export_command format
Jim Osborn wrote: > In lyxrc there's a section for Export with this example: > > #\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf" > > I want to make a pdf file, and having epstopdf on my system, I've been > printing to ps, then doing: try the script from Steffen, makes life easier ... http://tex2pdf.berlios.de/ Herbert -- http://www.lyx.org/help/
Re: Display formula in Description environment
> > I would like to nest display formulas in the description environment. > > I want the output to look like: > > > >Jumpsx = x + 1 > > > > where "Jumps" is the description label and "x = x + 1" is the > > (centered) display formula. The problem is, I can't get the display > > formula to be centered. The formula is always left-justified. For > > example, if I enter the description environment, type the word > > "Jumps", click "Insert... Display Formula", the formula box is > > left-justified instead of centered. > > > Jump alt-m-d > > > otherwise the formula is part of the descriptionlable and > this is leftaligned. > > Herbert Hi, But this puts the display formula on the next line. I would like the display formula to be on the same line as the label... thanks Melissa
Re: Display formula in Description environment
Melissa wrote: >>>I would like to nest display formulas in the description environment. >>>I want the output to look like: >>> >>> Jumpsx = x + 1 >>> >>>where "Jumps" is the description label and "x = x + 1" is the >>>(centered) display formula. The problem is, I can't get the display >>>formula to be centered. The formula is always left-justified. For >>>example, if I enter the description environment, type the word >>>"Jumps", click "Insert... Display Formula", the formula box is >>>left-justified instead of centered. >>> >> >>Jump alt-m-d >> >> >>otherwise the formula is part of the descriptionlable and >>this is leftaligned. >> >>Herbert >> > > > Hi, > > But this puts the display formula on the next line. I would like the > display formula to be on the same line as the label... a display formula is always in an own line. ok, than try this: Jump special character->hfill> alt-m-d special character->hfill> than the formula is centered see attached file. HErbert -- http://www.lyx.org/help/ #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \language ngerman \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Description Jump \SpecialChar ~ \hfill \begin_inset Formula \( f(x)=dx \) \end_inset \hfill \SpecialChar ~ \the_end
Re: Display formula in Description environment
Herbert Voss wrote: > Jump special character->hfill> alt-m-d sorry, should be alt-m-m for an inline one. Herbert -- http://www.lyx.org/help/
\mathbf{}
Hi, Is there a way by which I can get a \mathbf{x} to appear as it does in the final document (that is, bold x) in the LyX window itself? i.e., just like \alpha shows up as the symbol alpha in the LyX window, can \mathbf{x} show up as bold-x somehow? Thanks, nirmal
Re: \mathbf{}
On Mon, Apr 15, 2002 at 02:09:54AM -0400, Nirmal Govind wrote: > Is there a way by which I can get a \mathbf{x} to appear as it does in the > final document (that is, bold x) in the LyX window itself? i.e., just like > \alpha shows up as the symbol alpha in the LyX window, can \mathbf{x} show > up as bold-x somehow? I think you can either type '\mathbfb' or 'b' to get a bold 'b' on screen that gets written to LaTeX as '\mathbf{b}' 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: how write any character (greek, unit, ...) in text mode inside a formula
On Mon, Apr 15, 2002 at 01:32:30PM +0200, Pierrick Mellerin wrote: > I use LyX-1.2.0cvs and I would like to know how can I write any greek > character in text mode ? There are no Greek characters available in text mode, even 'M-m g m' which produces '\mu' in text mode fakes this by entering math mode. > And what must I do for writing any character like unit (m, kg, ..) in > text mode inside a formula? Textmode inside math is not very well supported, especially re-entering math from there is not possible. > For example, I have to write the following > sentence : "0,4 um < l < 0,8 um", where u is mu, l is lambda and m is for > meter. The problem is that u, m and l are in math mode and so they are > displayed and printed in italics ... I think there are things like \textmu for this, but this won't show up in LyX, only in the .dvi. 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: \mathbf{}
I think you can either type '\mathbfb' or 'b' to get a bold 'b' on screen that gets written to LaTeX as '\mathbf{b}' Thanks.. the latter does it.. the former does appear in the document as bold-b but not on-screen.. nirmal
Re: how write any character (greek, unit, ...) in text mode inside a formula
> And what must I do for writing any character like unit (m, kg, ..) in > text mode inside a formula? The standard LaTeX command \mbox{} should do this for you.. so within a formula, if you type \mbox{text} (all in red, since you should be in TeX mode), the text will appear as normal text and not italicized text... nirmal
changing the default Date format
How do I change the default format of the Date? Right now it says "15th April 2002" but say I want it to be "April 15, 2002" instead? I know I can do it manually with \date{} but how do I change the default so that it looks like this when I just say \today for instance.. Thanks, nirmal