Re: Is there a way to change the header font to san serif?
On Fri, Sep 14, 2012 at 7:01 PM, Daisuke Koya wrote: > Hello all, > > I didn't know that there was a flood of help! I found this accidentally by > reading the archives. Thank you all very much. Is there a way to ensure > receiving posts related to the original question in your e-mail inbox? > You're likely not subscribed to lyx-users. Please consider doing that. Liviu > Anyhow, I solved my problem by myself by copying and pasting random text from > the fancyhdr documentation, and then reshaping it until the stars aligned. I > know nothing about LaTeX, but this is the code in the preamble that worked in > the end (that is, moulded the default, italicised, all-capital, serif header > text into non-italicised, title-case, san-serif text). > > \lhead{\sffamily{\nouppercase{\rightmark}}} > > Best regards, > > Daisuke -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Is there a way to change the header font to san serif?
Hello all, I didn't know that there was a flood of help! I found this accidentally by reading the archives. Thank you all very much. Is there a way to ensure receiving posts related to the original question in your e-mail inbox? Anyhow, I solved my problem by myself by copying and pasting random text from the fancyhdr documentation, and then reshaping it until the stars aligned. I know nothing about LaTeX, but this is the code in the preamble that worked in the end (that is, moulded the default, italicised, all-capital, serif header text into non-italicised, title-case, san-serif text). \lhead{\sffamily{\nouppercase{\rightmark}}} Best regards, Daisuke
Re: Is there a way to change the header font to san serif?
Actually, it should be included and as a previous poster stated, should be accessible as texdoc scrguien el On 2012-09-08 15:20 , Wolfgang Keller wrote: [...] > Your local CTAN mirror will hold a copy of the Koma-Script > documentation scrguien.pdf. [...]
Re: Is there a way to change the header font to san serif?
> Sorry for the repeated posting, but I haven't been able to find a > solution to my problem. > > I'd like to know how I can change the header font from italicised > serif to non-italicised san-serif. > > If anyone knows where I can place the \sffamily, or \textsf commands > for the desired result, I will be most chuffed. > > I am using the report (KOMA-SCRIPT) document class. The class/package documentation files on CTAN are usually your friend. >;-> Your local CTAN mirror will hold a copy of the Koma-Script documentation scrguien.pdf. There, in section 5.1.3 "Formatting of Header and Footer", you will find the following explanation: [blockquote] The command \headfont contains the commands which determine the font of header and footer lines. Command \footfont contains the difference of the footer to that. The difference for the style of the page number is defined by the command \pnumfont. Example: If, for example, one wants the header to be typeset in bold sans serif, the footer in non-bold sans serif, and the page number in a slanted serif style, then one can use the following definitions: \renewcommand {\headfont}{\normalfont \sffamily\bfseries} \renewcommand* {\footfont} {\normalfont\sffamily} \renewcommand {\pnumfont}{\normalfont \rmfamily \slshape} >From version 2.8p of the KOMA-Script classes a new unified user interface scheme is implemented for font attributes. If scrpage2 is used together with one of these classes, then it is recommended to set up font attributes in the manner described in section 3.6 from page 50 onward. Example: Instead of \renewcommand the command \setkomafont should be used to configure the font attributes. The previous definitions can then be written as: \setkomafont{pagehead}{\normalfont\sffamily\bfseries} \setkomafont {pagefoot}{\normalfont\sffamily} \setkomafont{pagenumber}{\normalfont\rmfamily\slshape} [end of blockquote] So, to use an upright sans-serif for the header you would use this (I haven't tried it): \setkomafont{pagehead}{\normalfont\sffamily\upshape} In LyX, this command would have to be included in the preamble, in Documents->Settings->Preamble. Preferably at the last line. Sincerely, Wolfgang Keller
Re: Is there a way to change the header font to san serif?
On 2012-09-07, Daisuke Koya wrote: > Hello all, > Sorry for the repeated posting, but I haven't been able to find a > solution to my problem. > I'd like to know how I can change the header font from italicised serif > to non-italicised san-serif. > If anyone knows where I can place the \sffamily, or \textsf commands > for the desired result, I will be most chuffed. > I am using the report (KOMA-SCRIPT) document class. Have a look at the KOMA-SCRIPT documentation (scrguien.pdf) for the required (re)definition. In LyX, this should go to Document>Settings>LaTeX preamble. Günter
Re: Is there a way to change the header font to san serif?
This link should give you ideas on how to proceed: http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters SteveT Steve Litt* http://www.troubleshooters.com/ * http://twitter.com/stevelitt Troubleshooting Training * Human Performance On Fri, 07 Sep 2012 17:38:31 +0100, Daisuke Koya said: > Hello all, > > Sorry for the repeated posting, but I haven't been able to find a > solution to my problem. > > I'd like to know how I can change the header font from italicised > serif to non-italicised san-serif. > > If anyone knows where I can place the \sffamily, or \textsf commands > for the desired result, I will be most chuffed. > > I am using the report (KOMA-SCRIPT) document class. > > Many, many thanks, > > Daisuke > > On 17 Aug 2012, at 18:46, Richard Heck wrote: > > > On 08/17/2012 01:06 PM, Daisuke Koya wrote: > >> Hello all, > >> > >> I am using LyX 2.0.4 on Mac OS 10.7.4. > >> > >> I am using the "fancy" headings style to display headings (LyX: > >> Document Settings >> Page Layout >> Headings style). > >> > >> I'd like to know whether the header font can be changed from the > >> default serif font to a san-serif one. Is this possible, and if so > >> how is it done? > > Yes, just use the corresponding LaTeX command, in this case, > > \sffamily, or \textsf, depending. > > > > rh > > >
Re: Is there a way to change the header font to san serif?
Hello all, Sorry for the repeated posting, but I haven't been able to find a solution to my problem. I'd like to know how I can change the header font from italicised serif to non-italicised san-serif. If anyone knows where I can place the \sffamily, or \textsf commands for the desired result, I will be most chuffed. I am using the report (KOMA-SCRIPT) document class. Many, many thanks, Daisuke On 17 Aug 2012, at 18:46, Richard Heck wrote: > On 08/17/2012 01:06 PM, Daisuke Koya wrote: >> Hello all, >> >> I am using LyX 2.0.4 on Mac OS 10.7.4. >> >> I am using the "fancy" headings style to display headings (LyX: Document >> Settings >> Page Layout >> Headings style). >> >> I'd like to know whether the header font can be changed from the default >> serif font to a san-serif one. >> Is this possible, and if so how is it done? > Yes, just use the corresponding LaTeX command, in this case, \sffamily, or > \textsf, depending. > > rh >
Re: Is there a way to change the header font to san serif?
Thank you Richard for your help, However, may I get further help please? I understand that changing the header font involves inserting \sffamily or \textsf, but I'm not sure where. If it's no great trouble, can you tell me how and where to put these LaTeX commands please? Is it one of those "renewcommand" things? Sorry, I don't understand this markup thing at all... I appreciate any sympathy for my inability to digest any computer code. Many thanks, Daisuke On 17 Aug 2012, at 18:46, Richard Heck wrote: > On 08/17/2012 01:06 PM, Daisuke Koya wrote: >> Hello all, >> >> I am using LyX 2.0.4 on Mac OS 10.7.4. >> >> I am using the "fancy" headings style to display headings (LyX: Document >> Settings >> Page Layout >> Headings style). >> >> I'd like to know whether the header font can be changed from the default >> serif font to a san-serif one. >> Is this possible, and if so how is it done? > Yes, just use the corresponding LaTeX command, in this case, \sffamily, or > \textsf, depending. > > rh >
Re: Is there a way to change the header font to san serif?
On 08/17/2012 01:06 PM, Daisuke Koya wrote: Hello all, I am using LyX 2.0.4 on Mac OS 10.7.4. I am using the "fancy" headings style to display headings (LyX: Document Settings >> Page Layout >> Headings style). I'd like to know whether the header font can be changed from the default serif font to a san-serif one. Is this possible, and if so how is it done? Yes, just use the corresponding LaTeX command, in this case, \sffamily, or \textsf, depending. rh
Is there a way to change the header font to san serif?
Hello all, I am using LyX 2.0.4 on Mac OS 10.7.4. I am using the "fancy" headings style to display headings (LyX: Document Settings >> Page Layout >> Headings style). I'd like to know whether the header font can be changed from the default serif font to a san-serif one. Is this possible, and if so how is it done? I thank you all kindly. Best regards, Daisuke