Re: Document Headers
Jeff Hornsberger wrote: > > Hi, I have to do a paper for school and was planning on using Lyx to do > this, but I need to be able to display the Title and Author names in the > header of each page of the document. Is there any way to do this in Lyx > and if so, how? Thanks. -Jeff have a look at http://www.mail-archive.com/lyx-users@lists.lyx.org/msg09845.html Stefano gave a solution for the author. same is possible for title: \let\oldTitle\title \renewcommand{\title}[1]{\newcommand{\myTitle}{#1}\oldTitle{#1}} \rhead{\myTitle} Herbert -- http://perce.de/lyx/
Document Headers
Hi, I have to do a paper for school and was planning on using Lyx to do this, but I need to be able to display the Title and Author names in the header of each page of the document. Is there any way to do this in Lyx and if so, how? Thanks. -Jeff
Re: Algorithm Float Reference
Brett Jones wrote: > > Herbert Voss wrote: > > > > Is it possible to insert a label in an algorithm float and reference later (a > > > la table floats, figure floats)? I get an error at the reference (not > > > \def'ed) when I try to do it. (I'm using the report class, 1.1.6fix1 from > > > the rpm). > > > > can you give a short example-file? > > > > Interesting - when trying to create a short example, I find that it only breaks > when I include the hyperref package. I'm pretty much a novice when it comes to > latex... am I using it wrong? the problem is that the algorithm-package is loaded by lyx before the hyperref-package. I'll look for a solution tomorrow. Herbert -- http://perce.de/lyx/
Re: Algorithm Float Reference
Herbert Voss wrote: > > Is it possible to insert a label in an algorithm float and reference later (a > > la table floats, figure floats)? I get an error at the reference (not > > \def'ed) when I try to do it. (I'm using the report class, 1.1.6fix1 from > > the rpm). > > can you give a short example-file? > Interesting - when trying to create a short example, I find that it only breaks when I include the hyperref package. I'm pretty much a novice when it comes to latex... am I using it wrong? Brett -- begin lyx file --- #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass report \begin_preamble \usepackage[dvips]{hyperref} \end_preamble \language american \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 2 \tocdepth 2 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard This is an example file. See Algorithm \begin_inset LatexCommand \ref{algEx} \end_inset please. \begin_float alg \layout LyX-Code This is an example \layout Caption \begin_inset LatexCommand \label{algEx} \end_inset An example \end_float \the_end
Re: Algorithm Float Reference
Brett Jones wrote: > > Is it possible to insert a label in an algorithm float and reference later (a > la table floats, figure floats)? I get an error at the reference (not > \def'ed) when I try to do it. (I'm using the report class, 1.1.6fix1 from > the rpm). can you give a short example-file? Herbert -- http://perce.de/lyx/
Algorithm Float Reference
Hi, Is it possible to insert a label in an algorithm float and reference later (a la table floats, figure floats)? I get an error at the reference (not \def'ed) when I try to do it. (I'm using the report class, 1.1.6fix1 from the rpm). Thx, Brett
Re: GhostScript 6.50
On Fri, 16 Mar 2001, Matej Cepl wrote: > did anybody try it? How does it collaborate with LyX? AFAIK, it has bugs which cause it not to work with LyX. Wait for newer version or apply a patch.
"compose" key doesn't work
A friend of mine told me that the "compose" key of his keyborad doesn't work under LyX but works under Emacs. He's using Xfree4. Ant hint to let it work? Thanks, Emanuele
GhostScript 6.50
Hi, did anybody try it? How does it collaborate with LyX? Matej
Re: alignment in tables
Dekel Tsur wrote: > > On Thu, Mar 15, 2001 at 09:33:21AM +0100, Herbert Voss wrote: > > > > the tex-code for my demo-table is: > > > > \begin{tabular}{|m{1cm}|c|c|c|p{2cm}<{\raggedleft}|} > > > Your suggestion will not generate an error, but it will work only if there > > > is one paragraph in each cell. > > > > it works for more than one paragraph, because it's pure latex. > > you'll get some problems, if you changed horizontal behaviour > > _before_ you write p{2cm}<... lyx don't delete all commands when > > writing p{2cm}< in the alignment field. > > How does it suppose to work ? > The < construct put its argument after the cell contents, so if I have a cell > containing "a \par b" then it will become "a \par b\raggedleft", so only the > 2nd paragraph will be raggedleft ! yes, you're right, i forget to say, that i had a \parbox in each cell, when i need more than one paragraph ... Herbert -- http://perce.de/lyx/
Re: quite many questions
Alexandru Mustatea wrote: > > 1) If I number formulas, numbering is done on the left side of the > page. Can I move the numbers on the right side of the formulas, and closer > to them? in latex preamble: \newlength{\myMargin} \setlength{\myMargin}{1cm}% change the value to any other one % \renewcommand{\@eqnnum}{\hb@xt@.01\p@{}% \llap{\normalfont\normalcolor \hskip -\displaywidth(\theequation)}\hspace{\myMargin}% } > 2) If the numbers of numbered sections appear during the editing process, > why are numbers of theorems or formulas replaced by #'s, actually > appearing only in the compiled (dvi) document? that's lyx-layout, read the chapter in help - custamization > 3) How can I insert numbered lemmas, definitions etc. (not choosing AMS)? \usepackage{ntheorem} an example-file: http://www.educat.hu-berlin.de/~voss/lyx/data/algorithm.lyx > 4) How can I replace the words "theorem", "bibliography" etc. with their > Romanian equivalents ("teorema", "bibliografie" etc.) in documents? have a look at ntheorem-doc bibliography depends to your class-file. look at http://www.educat.hu-berlin.de/~voss/lyx/bibtex/bibtex.html#bibname > 5) In what menu are the symbols for various sets (complex, integer, real, > rational numbers - C, Z, R, Q)? \usepackage{dsfonts} and in text in tex (red) \mathds{R} or look at http://www.educat.hu-berlin.de/~voss/lyx/lyx/symbols/symbols.html#set Herbert -- http://perce.de/lyx/
Re: Newbie: false numbering of bibtex citations
db <[EMAIL PROTECTED]> writes: > I'm trying to use lyx 1.1.6fix1/pybliographer 1.0.8 on Mandrake7.2 and > I have the following problem with the numbering of the citations which > is not crescent within the text. Here is an example: > 1 J.P. Deng and B. Randby,,, > 2 J.P. Deng, W.T. Yang and B. Randby,,, > 3 A. Levy and I. Agrenat,,, The order is alphabetical. Use the 'unsrt' bibtex style (in the 'BibTeX Generated References' box) to list references in order of citation. -- Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet email: you know it already, tel: +46-8-164055, fax:+46-8-167715 the free science campaign: http://ethology.zool.su.se/freescience
Newbie: false numbering of bibtex citations
I'm trying to use lyx 1.1.6fix1/pybliographer 1.0.8 on Mandrake7.2 and I have the following problem with the numbering of the citations which is not crescent within the text. Here is an example: In lyx: Title Abstract text Intro Blabla [DYR00] Results Blabla [DR00, LA00] [BibTex references] (see below) And the resulting DVI/PS: Title Abstract text Intro Blabla [2] Results] Blabla [1,3] References 1 J.P. Deng and B. Randby,,, 2 J.P. Deng, W.T. Yang and B. Randby,,, 3 A. Levy and I. Agrenat,,, What's going on ? The corresponding bibtex file: @comment{This file has been generated by Pybliographer} @Article{LA00, Author = {Levy, A. and Agranat, I.}, Title = {Zinc-mediated reductive dimerizations of telluroxanthone and selenoxanthone. {T}ellurium-selenium selectivity}, Journal= {Tetrahedron Letters}, Volume = {41}, Number = {32}, Pages = {6157-6160}, month = {5 } # aug, year = 2000, } @Article{DYR00, Author = {Deng, JP. and Yang, WT. and Ranby, B.}, Title = {Surface photografting polymerization of vinyl acetate ({VA}c), maleic anhydride, and their charge transfer complex. {I}. {VA}c(1)}, Journal= {Journal of Applied Polymer Science}, Volume = {77}, Number = {7}, Pages = {1513-1521}, Received = {O}, Cote= {744}, year = 2000, month = {15 } # aug, } @Article{DR00, Author = {Deng, JP. and Ranby, B.}, Title = {Surface photografting polymerization of vinyl acetate ({VA}c), maleic anhydride, and their charge transfer complex. {II}. {VA}c(2)}, Journal= {Journal of Applied Polymer Science}, Volume = {77}, Number = {7}, Pages = {1522-1531}, Abstract = {On the basis of our earlier work, extensive Received = {N}, year = 2000, month = {15 } # aug, }
Launching lyx
Hi again, I wrote I was unable to launch lyx on my machine. I forgot to mention that I got the message : Instruction illégale (illegal instruction...). The version I try to use is LyX 1.1.5fix1 of Tue Jul 18, 2000. Jean-Marc Nuzillard Université de Reims
foiltex
Is there a lyx layout file to use FoilTeX? Remzi
Re: Launching lyx
On Fri, 16 Mar 2001, Nuzillard Jean-Marc wrote: > Hi, > > I did not succeed to launch lyx by typing "lyx". > > I am working on an i686 machine under Linux 2.2.17-21mdk (Mandrake 7.2) > The command "lyx -help" works fine. > > Could someone provide some help ? > > Jean-Marc Nuzillard > Université de Reims > France > You need to tell us which version of lyx you are using (and where you got it from) and what output you get when you try to launch lyx john -- "You lose it if you talk about it." - Ernest Hemingway
Launching lyx
Hi, I did not succeed to launch lyx by typing "lyx". I am working on an i686 machine under Linux 2.2.17-21mdk (Mandrake 7.2) The command "lyx -help" works fine. Could someone provide some help ? Jean-Marc Nuzillard Université de Reims France
Re: changing bibtex command
Stefano Ghirlanda <[EMAIL PROTECTED]> writes: > "Jean-Pierre.Chretien" <[EMAIL PROTECTED]> writes: > > > What about an alias instead of a link ? > > I like this better, thanks. But it does not seem to work, probably because LyX does not use the shell to launch bibtex. -- Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet email: you know it already, tel: +46-8-164055, fax:+46-8-167715 the free science campaign: http://ethology.zool.su.se/freescience
Re: changing bibtex command
"Jean-Pierre.Chretien" <[EMAIL PROTECTED]> writes: > What about an alias instead of a link ? I like this better, thanks. -- Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet email: you know it already, tel: +46-8-164055, fax:+46-8-167715 the free science campaign: http://ethology.zool.su.se/freescience