To set helvetica to be the default font, I believe the instruction is
\renewcommand{\familydefault}{\sfdefault} Put that in the preamble, and it should work. All a template is is a Lyx file, in the directory /usr/local/share/lyx/templates So open one that looks about right, put the above line in the preamble, and save it with a different name. That should work. BTW, to save something in the /usr/share/... directories, you'll need to be logged in as a superuser. Alternatively, just save a .lyx file somewhere handy. As for the header problem, have a read of the documentation for fancyhdr.sty. It has some examples where the heading is set to be equal to the chapter name. It also tells you how to use the section name etc. instead. To use an abbreviated title, it would be easier just to type it in, using fancyhdr. If you don't have the documentation, you might need to install another debian package. Rod On Thu, 13 Dec 2001, cmasters wrote: > Greetings all, > > Firstly, thank you to those posters that helped me in tracking down and > resolving the problems I experienced with helvitca font and spacing options > in Lyx. It turned out that my "default" installation was not the standard > default that others have/had experienced. > > That said, I am still having issues with customizing Lyx to operate in the > manner that I need it to. I thought that maybe some background may halp to > explain what and why I am desiring "global" changes in my use of Lyx. > > -- begin background > > I run a small at-home business providing typing / and layout services in > Fredericton, NB. The vast majority of interested / prospective clients are > students at the two universities here. As such, as must be able to provide > them with exactly their needs in order to attract and maintain them as > clients. > > The students are required (near universally) to submit papers and reports in > any of three formats: > > 1. APA style article > 2. MLA style article / essay > 3. General essay -- little internal formatting, although a "cover" page and > reference page are often required. > > In addition, there are some conventions that, I believe, are unique to the > university environment; some also seem to be unique to the current likes / > dislikes or students and professors. They are: > > 1. For both APA and MLA articles, many professors ~insist~ that each page > include a right justified header, that includes an abbreviated title of the > paper (in smaller font than the body). > > 2. Also for both APA and MLA papers, the convention is that a "cover page" > precede the first numbered page of the paper. This page includes that title, > date, author(s), course, professor, and (in the case of publication > submission) school / program of study. > > 3. Finally, by some twist of fate, the "times" and "courier" fonts have gone > out of style. Again, the majority of my clients ~insist~ on the use of > Helvetica - 12 pt. It's lines considered cleaner and often easier to read > than the default (here referred to as "newspaper") fonts of times and courier. > > I am only myslef, becoming familiar with the concept of font families and > classes and don't feel that I need to explain an inability to give my > clients what they desire, due to difficulty in getting Lyx to provide it. > > -- end of background > > I have sampled all the templates that are provided in my Lyx distribution. > However, I seem to have problems with them. > > 1. Many of them -- aapaper, revtex, revtex4, aastex -- don't work as > expected when viewing dvi output. They ~all~ have a number of errors dealing > with Latex commands / variables imbedded in the initial style. As this is > (once again) an issue of having to learn Latex (which I'm directly told > should be unnecessay -- User's Guide), I can't even adust the bare content > that is in them in order to preview the layout. A viscous cirle ensues. > > 2. As the majority of my clients prefer Helvetica, I would like ~this font~ > to be considered the default: in all cases, for all environments, in all > chosen templates. I looked at the lyxrc and made a copy to my home > directory, but can find no place in which to make a global change. Changing > 'font_encoding "default"' to 'font_encoding "helvetica"' resulted in an > error from lyx while it was loading. > > 3. As I am unable to preview any template (other than book and letter > variations), I am also unable to determine whether any of the templates > offered include my header requirement for APA and MLA papers. > > So, I ~am willing~ to make the necessary changes to templates and learn the > Latex that is required to get the job done, BUT I would like to be able to > use the templated ~already provided~ if that is all possible. > > Does someone have specific (as in "this worked for me ... look to <man, > website, etc.>) guidelines for accomplishing: > > 1. Universal change to Helvetica font as "default". > 2. Mathods to modify (and save locally) templates as provided by Lyx. > > I am not asking to have my hand held, I have read the Introduction and > User's Guide, and have skimmed the Advanced Usage (which seems directed at > technical writing). I am willing to invest the hours to get Lyx customized > to my needs. I decided on Lyx after long association with "other" programs > available. All suffered from crashing on large documents, requiring ~far~ > too many mouse or keyboard commands, or hitting <return> 12 times to get 12 > empty lines. I don't want Lyx to do my thinking, I just want it to think > about things that I shouldn't have to in every document. > > Many thanks to those that can help, > > C-Cose Masters > _________________________________________________________________________ rpinna |"Sometime in the next 10,000 years @civil.uwa| A comet's going to wipe out all trace of man, I'm .edu.au |banking on it coming before my end of year exams." TISM 1995