Help: Avant Garde as the default font
Hi list: To change the document font I have in the preamble (from www.educat.hu-berlin.de/~voss/lyx/fonts/fonts.phtml): \renewcommand\familydefault{\sfdefault} With this command I get Helvetica as the default font (except for the equations). Now I want to use avant garde. I have tried to put in the preamble: \renewcommand{\familydefault}{\avant} \renewcommand{\rmdefault}{\avant} but I get a lot of errors. How can i manage that the font text is Avant Garde? Thanks for help. Regards. Pep Roca -- Josep Roca Unitat Epidemiologia Hospital U Germans Trias Pujol Dept. de POG Medicina Preventiva Universitat Autònoma de Barcelona http://blues.uab.es/~ikhp0/ Tel: 93-497-88-82 Fax: 93-497-88-43
Re: upgrading 1.2.1 rpm to 1.2.3
Vinay Ramnath schrieb: Nope, didn't work. My C++ compiler doesn't seem to suffice. I use SuSE 8.0 with gcc as compiler. During configuration, the machine complaints that it cannot execute `cc1plus'. Which compiler do you recommend for compiling LyX. Does it have anything to do with libXpm. I didn't need it when I installed the rpm's, but I need it for the compilation. I just unpacked the package, there was nothing to install. Perhaps that has something to do with it, but it doesn't seem like it, since it only complaints about my C++ compiler. Any idea? Vinay Hello, in every case you are in need of devel-packages of xforms and related when recompiling your upgrade! Thomas
Re: text overlayed onto images
- Weitergeleitet von Robert R Koehler/406/DCAG/DCX am 28.01.2003 12:16 - [EMAIL PROTECTED] 20.11.2002 22:34 Bitte antworten an Herbert.Voss An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: text overlayed onto images Herbert Voss schrieb: > the following is the ert-stuff from inside a float figure: here is a better one to see what is going on. Herbert \centering\savebox{\Imagebox}{\includegraphics{/tmp/eva.eps}} \begin{minipage}{\wd\Imagebox} \begin{pspicture}(\wd\Imagebox,\ht\Imagebox) \setlength\fboxsep{0pt} \rput[lb](0,0){\fbox{\usebox{\Imagebox}}} \rput[l](0,0){Lower Left} \rput[r](\wd\Imagebox,\ht\Imagebox){Upper Right} \rput[r](\wd\Imagebox,0){Lower Right} \rput[l](0,\ht\Imagebox){Upper Left} \end{pspicture} \end{minipage} -- http://www.educat.hu-berlin.de/~voss/lyx/
text overlayed onto images relative to image width/height
Herbert Voss wrote: >here is a better one to see what is going on. > >Herbert > >\centering\savebox{\Imagebox}{\includegraphics{/tmp/eva.eps}} > >\begin{minipage}{\wd\Imagebox} >\begin{pspicture}(\wd\Imagebox,\ht\Imagebox) > \setlength\fboxsep{0pt} > \rput[lb](0,0){\fbox{\usebox{\Imagebox}}} > \rput[l](0,0){Lower Left} > \rput[r](\wd\Imagebox,\ht\Imagebox){Upper Right} > \rput[r](\wd\Imagebox,0){Lower Right} > \rput[l](0,\ht\Imagebox){Upper Left} >\end{pspicture} >\end{minipage} Does anyone know whether one can overlay text to a relative position say, 50% of the width and 30 % of the height of the included graphics? I imagined that I could add an \rput line to Herbert's tip on overlaying text over graphics, something like \rput(0.5*\wd\Imagebox,0.3*\wd\Imagebox){some text I wanna overlay} But this doesn't work nor do all the possible bracket (,{ and [ combinations I thought might help! I tried putting the multiplication factor on the end of the \wd\Imagebox and even addition and subtraction seem not to work. It seems to want plain coords i.e. (3,4), without an algebraic expression like (a+1,b*2) where a and b could be variables or numbers. Am I headed in the right direction, or is this a not achievable? Thanks in advance. Rob
Re: text overlayed onto images relative to image width/height
On Tue, Jan 28, 2003 at 12:34:13PM +0100, [EMAIL PROTECTED] wrote: > But this doesn't work nor do all the possible bracket (,{ and [ combinations > I thought might help! I tried putting the multiplication factor on the end > of the \wd\Imagebox and even addition and subtraction seem not to work. > It seems to want plain coords i.e. (3,4), without an algebraic expression > like (a+1,b*2) where a and b could be variables or numbers. If \rput[r](\wd\Imagebox,0){Lower Right} is accepted, your statement can't be true. Neither '*' nor '+' are valid "operators" to do math in TeX. Have you tried \rput[r](0.5\wd\Imagebox,0){Lower Right} ? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Stand-alone lyx binary
At work I do not have root access and don't have xforms or the right glib version installed it seems (the computer is running 2.2.17 and some old slackware distro it seems). Is there a stand-alone (non-rpm) lyx binary I could download to run at work? Any help is very much appreciated. Cheers, Raphael
Tipps & Tricks on www.lyx.org: C-->C++ - Symbol
Hello, I copy pasted the source into my latex file: \DeclareRobustCommand{\Cpp} {\valign{\vfil\hbox{##}\vfil\cr \textsf{C\kern-.1em}\cr $\hbox{\fontsize{\ssf@size}{0}\textbf{+\kern-0.05em+}}$\cr}% } But I get the following error message when compiling my source: ! Undefined control sequence. \ssf @sizel.7 \Cpp I trie to figure out where the problem is but was not able to! Could you please help me to get this workin' ? Here is a basic latex file which does not compile on my system: \documentclass{article} \DeclareRobustCommand{\Cpp}{\valign{\vfil\hbox{##}\vfil\cr%\textsf{C\kern-.1em}\cr%$\hbox{\fontsize{\ssf@size}{0}\textbf{+\kern-0.05em+}}$\cr}%} \begin{document} Test of the \Cpp command. \end{document} Thank you for your help, Konstantinos Kampouridis.
Re: Tipps & Tricks on www.lyx.org: C-->C++ - Symbol
On Tue, Jan 28, 2003 at 12:59:11PM +0100, Konstantinos Kampouridis wrote: > Hello, > > I copy pasted the source into my latex file: > \DeclareRobustCommand{\Cpp} > {\valign{\vfil\hbox{##}\vfil\cr >\textsf{C\kern-.1em}\cr >$\hbox{\fontsize{\ssf@size}{0}\textbf{+\kern-0.05em+}}$\cr}% > } > But I get the following error message when compiling my source: > ! Undefined control sequence. \ssf @sizel.7 \Cpp Shouldn't macro names containing @ be used only with \makeatletter ... \makeatother ? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Help: Avant Garde as the default font
Try this: In Layout -> Document -> Font choose Avant. Then put \renewcommand\familydefault{sfdefault} in preamble.
Re: Help: Avant Garde as the default font
Hi Persio: A Dimarts 28 Gener 2003 13:21, Persio Barros va escriure: > Try this: > > In Layout -> Document -> Font choose Avant. Then put > \renewcommand\familydefault{sfdefault} > in preamble. Thanks a lot. It works!! -- Josep Roca Unitat Epidemiologia Hospital U Germans Trias Pujol Dept. de POG Medicina Preventiva Universitat Autònoma de Barcelona http://blues.uab.es/~ikhp0/ Tel: 93-497-88-82 Fax: 93-497-88-43
Antwort: Re: text overlayed onto images relative to image width/height
Andre wrote: >Neither '*' nor '+' are valid "operators" to do math in TeX. > >Have you tried > >\rput[r](0.5\wd\Imagebox,0){Lower Right} :) Thanks I didn't try that combination! Rob
Re: upgrading 1.2.1 rpm to 1.2.3
Vinay Ramnath wrote: > Hi, > > Andre Poenitz wrote: >> On Mon, Jan 27, 2003 at 07:14:06PM +0100, Vinay Ramnath wrote: >> >>>Nope, didn't work. My C++ compiler doesn't seem to suffice. I use SuSE >>>8.0 with gcc as compiler. During configuration, the machine complaints >>>that it cannot execute `cc1plus'. >> >> >> Looks like a broken gcc installation. Can you compile a simple "hello >> world" program? > > Well, I just reinstalled gcc, which seems to be a C compiler. Since it > was my C++ compiler that was lacking, if I did have any, I also > installed gpp, the C++ compiler. This probably solved it, 'cause > configuration went fine. The machine recognized gcc as my C compiler and > gpp as my C++ compiler, I needed both. > > Now I'm facing new difficulties. > > 1. It can not find libforms or libxforms. Since I do have XForms > installed, the 0.89-1 rpm, I have to direct it there with the > --with-extra-lib option, according to the INSTALL file. I do not have > the faintest idea where these files should be. Could you help? > > 2. It cannot find forms.h. I suppose they should be part of XForms as > well. Might there be something wrong with my XForms package? According > to the INSTALL file, this could be the case if I haven't installed the > kernel sources. Does that mean that I shouldn't have the rpm installed > but have compiled it from source code instead? Do you have a good > solution for this. If I do have to remove my current XForms installation > and install it from source instead, LyX 1.2.1, which uses my current > XForms, might not work anymore, even if I install the new version, > right? Or will everything go fine as long as i run ldconfig after make > install? > > Well, there is progress though... :) > > Vinay Hello, Vinay. Your you should find your xforms library at PATH/libforms.so, where PATH is probably /usr/lib but may be /usr/local/lib. If that doesn't find it, type at the command line $ find / -name "libforms.so*" You may need to run this as root. Similarly, forms.h should be found in one of /usr/include, /usr/include/X11, /usr/local/include or /usr/local/X11/include. I would recommend (strongly) however, that you consider throwing out xforms 0.89.1 and replacing it with the newly released xforms 1.0; it fixes many, many bugs. If you are bent on compiling everything, get it from ftp://ftp.lyx.org/pub/lyx/contrib/xforms-1.0-release.src.rpm If you don't care about compiling xforms but still want to compile LyX, then you'll want ftp://ftp.lyx.org/pub/lyx/contrib/libforms-devel-1.0-release.i386.rpm Finally, if you just want a working LyX, get ftp://ftp.lyx.org/pub/lyx/contrib/libforms-1.0-release.i386.rpm and the appropriate LyX rpm from ftp://ftp.lyx.org/pub/lyx/bin/1.2.3/ HTH, -- Angus
Extra vertical spaces added between parapgraph in two sided book
Hi, I am writing my thesis, and it seems that sometimes there are some additionnal vertical spaces added between my paragraph when I format my document in two sided book, instead of one side book. For example, I have attached the following files : test.lyx : is the example test file i made test1side.ps : is the corresponding one side document test2sides.ps : is the corresponding two sided document. When comparing test2sides.ps to test1side.ps you can see additionnal vertical spacing everywhere between Chapter and sections and paragraphs. I have noticed that the vertical spaces are not always added, it depends of the length of paragraph. The test.lyx file was created to reproduce the problem. Is this a bug ? How to avoid this disgraceful formating ? Thanks for your help. PS: i am using lyx 1.1.6 fix4 _ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France test.lyx Description: Binary data test1side.ps.gz Description: application/gunzip test2sides.ps.gz Description: application/gunzip
Re: [wm-user] have I upgraded?
Thanks! Thorsten Mika wrote: Try "ls -l /your/path/to/wmaker" and watch the creation date. If it's not too old, it's your new wmaker. Allright, it is created yesterday. It did upgrade. Funny that they didn't change the number in the info panel. Well, anyway, I wouldn't call it a bug. Everything works allright. Thank you for your help and words of comfort, Vinau
Re: Help: Avant Garde as the default font
Pep Roca wrote: > \renewcommand{\familydefault}{\avant} > > \renewcommand{\rmdefault}{\avant} Where have you defined macro \avant? The value of \*default should be NFSS name of the font family. Read fntguide (available in $TEXMF/latex/base/ directory as DVI) and you will understand, that the proper value of \rmdefault (or \sfdefault -- depends on what you want) should be pag. Have a nice day Matej -- Matej Cepl, Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The American Republic will endure, until politicians realize they can bribe the people with their own money. -- Alexis de Tocqueville
lyx to html
What's the best way to convert a lyx document to html. I have tried exporting to latex and then using latex2html but the result was a mess. I have a document using foiltex as well and I tried lyx->latex->latex2html with foilhtml and the results were even worse. The only foilhtml file I could find was dated 1998 as well which made me slightly suspicious. Any help is very much appreciated. Raphael