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
BIBINPUTS
This is more of a latex question. Bibtex finds the location of BIB files from the environmental variable BIBINPUTS. This is true on both Windows and Mac, and has worked so far. But suddenly, today, it doesn't work on Mac anymore. What I have used until now is the following method In finder, choose Go-go to folder... ~/.MacOSX Edit environment.plist Add BIBINPUTS as a new key, and put path(s). Restart computer (seems necessary). But again, this doesn't work anymore. Any suggestions? I did some search on the internet, and it seems the /.MacOSX doesn't work any longer in Mountain Lion (but I'm pretty sure I did compile after installing mountain lion). People say things should now be set in launchd. But, hey, that's too technical for me. Anyone have a solution for directing bibtex to look for bib files in a central location?
Re: BIBINPUTS
The alternative is to give direct paths to the BIB files. However, that is an issue when you collaborate with people on a document. Furthermore, it seems there is a bug in LyX. When I give direct paths to the BIB files, the citation dialog box becomes superwide, stretching beyond the width of my large screen. How can I solve that?
Re: BIBINPUTS
Sorry for posting to quick, the last issue with wide citation dialog box solved itself. But still, the question is how to set the path for bibtex.
Re: BIBINPUTS
I solved the problem through help on the Apple discussions. I will post the solution here for reference in case others have the same issue. Perhaps I can put it on a wiki? 1) In finder, choose Go-go to folder... /etc 2) Edit launchd.conf This file may not exist. In that case create it. Make sure it's called launchd.conf and not lauchd.conf.txt 3) add setenv BIBINPUTS path(s). Separate multiple paths with : Notice that the string after BIBINPUTS cannot contain spaces. 4) Restart computer.
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
BIBINPUTS
This is more of a latex question. Bibtex finds the location of BIB files from the environmental variable BIBINPUTS. This is true on both Windows and Mac, and has worked so far. But suddenly, today, it doesn't work on Mac anymore. What I have used until now is the following method In finder, choose Go-go to folder... ~/.MacOSX Edit environment.plist Add BIBINPUTS as a new key, and put path(s). Restart computer (seems necessary). But again, this doesn't work anymore. Any suggestions? I did some search on the internet, and it seems the /.MacOSX doesn't work any longer in Mountain Lion (but I'm pretty sure I did compile after installing mountain lion). People say things should now be set in launchd. But, hey, that's too technical for me. Anyone have a solution for directing bibtex to look for bib files in a central location?
Re: BIBINPUTS
The alternative is to give direct paths to the BIB files. However, that is an issue when you collaborate with people on a document. Furthermore, it seems there is a bug in LyX. When I give direct paths to the BIB files, the citation dialog box becomes superwide, stretching beyond the width of my large screen. How can I solve that?
Re: BIBINPUTS
Sorry for posting to quick, the last issue with wide citation dialog box solved itself. But still, the question is how to set the path for bibtex.
Re: BIBINPUTS
I solved the problem through help on the Apple discussions. I will post the solution here for reference in case others have the same issue. Perhaps I can put it on a wiki? 1) In finder, choose Go-go to folder... /etc 2) Edit launchd.conf This file may not exist. In that case create it. Make sure it's called launchd.conf and not lauchd.conf.txt 3) add setenv BIBINPUTS path(s). Separate multiple paths with : Notice that the string after BIBINPUTS cannot contain spaces. 4) Restart computer.
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
BIBINPUTS
This is more of a latex question. Bibtex finds the location of BIB files from the environmental variable BIBINPUTS. This is true on both Windows and Mac, and has worked so far. But suddenly, today, it doesn't work on Mac anymore. What I have used until now is the following method In finder, choose Go->go to folder... ~/.MacOSX Edit "environment.plist" Add BIBINPUTS as a new key, and put path(s). Restart computer (seems necessary). But again, this doesn't work anymore. Any suggestions? I did some search on the internet, and it seems the /.MacOSX doesn't work any longer in Mountain Lion (but I'm pretty sure I did compile after installing mountain lion). People say things should now be set in launchd. But, hey, that's too technical for me. Anyone have a solution for directing bibtex to look for bib files in a central location?
Re: BIBINPUTS
The alternative is to give direct paths to the BIB files. However, that is an issue when you collaborate with people on a document. Furthermore, it seems there is a bug in LyX. When I give direct paths to the BIB files, the citation dialog box becomes superwide, stretching beyond the width of my large screen. How can I solve that?
Re: BIBINPUTS
Sorry for posting to quick, the last issue with wide citation dialog box solved itself. But still, the question is how to set the path for bibtex.
Re: BIBINPUTS
I solved the problem through help on the Apple discussions. I will post the solution here for reference in case others have the same issue. Perhaps I can put it on a wiki? 1) In finder, choose Go->go to folder... /etc 2) Edit "launchd.conf" This file may not exist. In that case create it. Make sure it's called "launchd.conf" and not "lauchd.conf.txt" 3) add "setenv BIBINPUTS path(s)". Separate multiple paths with : Notice that the string after BIBINPUTS cannot contain spaces. 4) Restart computer.