On Thu, Dec 20, 2012 at 12:56 AM, "Jörg Kühne" <[email protected]> wrote:
> Dear Stefano > > Many thanks for your email. How I could insert a simple footer or a header > in Lyx? How I could use differnt styles f.e. different fonts in the same > area/chapter? > Is the style and the fonts under Document>>Settings adjustable? > > Best regards > > Joerg > > > Joerg, Headers an footers are usually controlled by the document class you are using and you don't need to do anything to set them. However, you can insert custom headers/footers by following the instructions in the User's guide, section 6.11 (llok it up, it's very short). As for changing fonts: if you mean changing to a different fonts within the same typeface (i.e from roman to bold or bold italic, or small caps), you can do it by selecting the text in question, and then going to Edit>>Text Style>>Customized. If by "changing fonts" you mean "changing typefaces" (e.g. going from Times to Palatino), well, that it is typically not done at the text level. You can select the typeface at the document level (go Document>>Settings>>Fonts). Changing the typeface for different elements in your documents (i.e. headers, TOC, etc) may be done in different ways depending on which Document class you are using. The Koma-script classes, for instance, have their own commands that allow you to change the fonts in various areas of the documents (Headings, Footnotes, etcetera). I forget the details, but their documentation it's excellent: Look up the file scrguien.pdf or the more comprehensive German version: scrguide.pdf (both should be part of your TeX installation). The memoir class offers similar font-changing commands (see memman.pdf) If you really need to change typefaces at the micro level, you may want to look into the fontspec package (which, however, requires the XeTeX or LuaTeX backends, not the standard pdfLaTeX). Or you may want to use the Latex commands detailed in this page: http://latex.computersci.org/Reference/Typefaces Notice that, as that page says, these commands are typically NOT used in a document---they are meant for classes definitions. The same is true for the fontspec commands.Or take a look at the LaTex Companion to Latex---the font chapter (I believe it's chapter 6 or chapter 7). If you are trying to use Lyx as a standard word processor, changing styles and typefaces on a ad hoc basis, you are on the wrong track and you'll be wasting a lot of time. LyX is meant to be used in conjunction with a document class. It is the class that takes the design decisions (with some fine tuning, if necessary). If you want to constantly override the decisions taken by the document class, you may be using the wrong approach. I would switch to either a standard word-processor, plain TeX, or a page layout application (e.g. InDesign, Scribus), depending on your needs and background skills. Cheers, Stefano -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA [email protected] http://stefano.cleinias.org
