Re: Citations in Scientific Articles
That is not a LyX issue, but a LaTeX, or rather BibTeX/BibLaTeX one which is the underlying citation processor. Google is your girlfriend :-)-O greetings, el on 2012-01-19 11:13 elloh van said the following: Dear Sir/Madam, I am a LyX user: Please I would like to have a clarification on this pressing issue of mine. I have attached two files depicting two categories of citations. I named them as type-one-citation and type-two-citation. In some processors there is no way one can make a range citation as shown in the second and third citations in the file ''type-one-citation'' when your document is printed. Rather it appears as shown in the second and third citations in the file ''type-two-citation'' when your document is printed. I would like to know if provisions are made in LyX to make range citations as in the second and third citations in the file ''type-one-citation'' when your document is printed ? If yes, where can I find it in LyX ? Hope to hearing from you soon. Thanks. Best regards. Van Wellington Elloh
Re: Citations in Scientific Articles
On 01/19/2012 04:13 AM, elloh van wrote: Dear Sir/Madam, I am a LyX user: Please I would like to have a clarification on this pressing issue of mine. I have attached two files depicting two categories of citations. I named them as type-one-citation and type-two-citation. In some processors there is no way one can make a range citation as shown in the second and third citations in the file ''type-one-citation'' when your document is printed. Rather it appears as shown in the second and third citations in the file ''type-two-citation'' when your document is printed. I would like to know if provisions are made in LyX to make range citations as in the second and third citations in the file ''type-one-citation'' when your document is printed ? If yes, where can I find it in LyX ? Natbib will happily do this. Simply activate it under DocumentSettingsBibliography, choose the numerical style, and then under Document Class enter the class option compress or you can try sortcompress. See section 2.16 of: http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdf for the details. Richard
Re: Lyx2.0.2 for windows cannot display \leq
On the problem machine, go to C:\Program Files (x86)\LyX20\Resources\fonts (assuming LyX is installed in the default location). There should be ten TrueType font files (.ttf), along with a couple of text files. Those fonts are used by LyX to display math on the screen, so it is possible that one of them is not properly installed or is broken. (Broken seems unlikely if reverting to an earlier version of LyX did not cure the problem.) I don't have a Win 7 machine handy at the moment, but there should be a font applet in the control panel. Try reinstalling the ten font files and see if that cures the problem. You probably don't need to reinstall all of them, but offhand I don't know which one would be responsible for \leq. Paul
Re: What is the toolbar icon name for
Julien Rioux jrioux at physics.utoronto.ca writes:/ On 10/08/2011 1:55 AM, Jason Rute wrote: Hello, I added Item Insert | | math-delim | | to my stdtoolbars.inc file. It works fine, except that I can't figure out what the corresponding icon file name should be (in AppData/Roaming/Lyx2.0/images/math). ... Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer?
Re: What is the toolbar icon name for
On 01/19/2012 03:19 PM, Yaniv wrote: Julien Riouxjriouxat physics.utoronto.ca writes:/ On 10/08/2011 1:55 AM, Jason Rute wrote: Hello, I added Item Insert | | math-delim | | to my stdtoolbars.inc file. It works fine, except that I can't figure out what the corresponding icon file name should be (in AppData/Roaming/Lyx2.0/images/math). ... Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer? Doesn't it show up on the toolbar as | | when you do it that way? It does for me. I have similar items for . | and (math-delim langle rangle), and I use these all the time. -- David L. Johnson Do not worry about your difficulties in mathematics, I can assure you that mine are all greater. -- A. Einstein
Novice: How to change the headings color of a document
I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. I probably need \usepackage{color} + a command to color all the document headings. Thanks -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: TOC in 2 columns
Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? When I use the package {multicol} \begin{multicols}{2} TOC \end{multicols} The TOC title Content is in the first column and it looks bad. What's the proper way? Thanks -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. I probably need \usepackage{color} + a command to color all the document headings. I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. If you need more help, please ask. Richard
Re: Novice: TOC in 2 columns
On Fri, 20 Jan 2012 12:03:08 +0900 nomnex nom...@gmail.com wrote: Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? I have to \usepackage{multitoc}, but default it outputs a 2 columns TOC. Can someone help me with the command to set a | vertical bar separation. I don't understand how to do it, reading the multitoc tex manual. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: TOC in 2 columns
On Fri, 20 Jan 2012 12:14:27 +0900 nomnex nom...@gmail.com wrote: On Fri, 20 Jan 2012 12:03:08 +0900 nomnex nom...@gmail.com wrote: Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? I have to \usepackage{multitoc}, but default it outputs a 2 columns TOC. Can someone help me with the command to set a | vertical bar separation. I don't understand how to do it, reading the multitoc tex manual. The multitoc manual (PDF) displays a vertical separator bar | between the TOC 2 columns. I believe it is the default, but it may (assumption) conflict with the lyx TOC feature. \usepackage[toc]{multitoc} in the doc preamble creates a 2 columns TOC, but there is no column separator. I have been looking at the file http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty It is above my competence, but I wonder if I have use a charactertable (see below) in the preamble and how. Can somebody help me? Thank you. %% \CharacterTable snip %% Equals\= Greater than \ Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex\^ Underscore\_ %% Grave accent \` Left brace\{ Vertical bar \| %% Right brace \} Tilde \~} -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: Text in the middle of the page
My apology for many questions in a row. I am a bit overwhelmed with the doc. the default lyx (either article, or report class) document margins -- probably for typographical reason -- do not center the text on the page. The left margin is larger than the right margin. What is the best way to have the text in the middle of the page: a. Can I use the {geometry} package in the preamble, and what is the command to pass. b. Else, should I set Document margins manually (there is no indication of the default L/R margin values). Thank you. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On Thu, 19 Jan 2012 22:04:52 -0500 Richard Heck rgh...@comcast.net wrote: On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. snip I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. If you need more help, please ask. Hello Richard, I do not understand the command syntax to pass in the preamble, after reading the titlesec PDF manual PDF. I am a complete novice. Could you provide an example or two; let say I want to change my document Section headings to a dark blue color. What is the exact command to pass in the document preamble. == \usepakage{titlesec} then what? == Thank you. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On Fri, 20 Jan 2012 14:56:05 +0900 nomnex nom...@gmail.com wrote: On Thu, 19 Jan 2012 22:04:52 -0500 Richard Heck rgh...@comcast.net wrote: On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings snip I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. snip This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Another version (found on http://tex.stackexchange.com) fails equally. \titleformat{\section} {\normalfont\sffamily\Large\bfseries\color{blue}} -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
nomnex wrote: This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Try \usepackage{color} \usepackage{titlesec} \titleformat*{\section}{\color{blue}} HTH Jürgen
Re: Novice: How to change the headings color of a document
On Fri, 20 Jan 2012 07:18:24 +0100 Jürgen Spitzmüller sp...@lyx.org wrote: nomnex wrote: This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Try \usepackage{color} \usepackage{titlesec} \titleformat*{\section}{\color{blue}} HTH Jürgen Thank you Jurgen, I was missing to add the color or xcolor package. I would like to keep the default article class settings of the Chapt/Section/Sub-sec/etc. and only change their color*. a. Where can I find the font information for the Chapt/Section/Sub-sec... b. Could you help with, say, the Section command, so that I have an idea of the complete syntax to pass in the preamble [size, font, etc.]. Thanks in advance, nomnex *in the same way \addtokomafont{sectioning}{\color{blue}} works with the KOMA-Script. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Citations in Scientific Articles
That is not a LyX issue, but a LaTeX, or rather BibTeX/BibLaTeX one which is the underlying citation processor. Google is your girlfriend :-)-O greetings, el on 2012-01-19 11:13 elloh van said the following: Dear Sir/Madam, I am a LyX user: Please I would like to have a clarification on this pressing issue of mine. I have attached two files depicting two categories of citations. I named them as type-one-citation and type-two-citation. In some processors there is no way one can make a range citation as shown in the second and third citations in the file ''type-one-citation'' when your document is printed. Rather it appears as shown in the second and third citations in the file ''type-two-citation'' when your document is printed. I would like to know if provisions are made in LyX to make range citations as in the second and third citations in the file ''type-one-citation'' when your document is printed ? If yes, where can I find it in LyX ? Hope to hearing from you soon. Thanks. Best regards. Van Wellington Elloh
Re: Citations in Scientific Articles
On 01/19/2012 04:13 AM, elloh van wrote: Dear Sir/Madam, I am a LyX user: Please I would like to have a clarification on this pressing issue of mine. I have attached two files depicting two categories of citations. I named them as type-one-citation and type-two-citation. In some processors there is no way one can make a range citation as shown in the second and third citations in the file ''type-one-citation'' when your document is printed. Rather it appears as shown in the second and third citations in the file ''type-two-citation'' when your document is printed. I would like to know if provisions are made in LyX to make range citations as in the second and third citations in the file ''type-one-citation'' when your document is printed ? If yes, where can I find it in LyX ? Natbib will happily do this. Simply activate it under DocumentSettingsBibliography, choose the numerical style, and then under Document Class enter the class option compress or you can try sortcompress. See section 2.16 of: http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdf for the details. Richard
Re: Lyx2.0.2 for windows cannot display \leq
On the problem machine, go to C:\Program Files (x86)\LyX20\Resources\fonts (assuming LyX is installed in the default location). There should be ten TrueType font files (.ttf), along with a couple of text files. Those fonts are used by LyX to display math on the screen, so it is possible that one of them is not properly installed or is broken. (Broken seems unlikely if reverting to an earlier version of LyX did not cure the problem.) I don't have a Win 7 machine handy at the moment, but there should be a font applet in the control panel. Try reinstalling the ten font files and see if that cures the problem. You probably don't need to reinstall all of them, but offhand I don't know which one would be responsible for \leq. Paul
Re: What is the toolbar icon name for
Julien Rioux jrioux at physics.utoronto.ca writes:/ On 10/08/2011 1:55 AM, Jason Rute wrote: Hello, I added Item Insert | | math-delim | | to my stdtoolbars.inc file. It works fine, except that I can't figure out what the corresponding icon file name should be (in AppData/Roaming/Lyx2.0/images/math). ... Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer?
Re: What is the toolbar icon name for
On 01/19/2012 03:19 PM, Yaniv wrote: Julien Riouxjriouxat physics.utoronto.ca writes:/ On 10/08/2011 1:55 AM, Jason Rute wrote: Hello, I added Item Insert | | math-delim | | to my stdtoolbars.inc file. It works fine, except that I can't figure out what the corresponding icon file name should be (in AppData/Roaming/Lyx2.0/images/math). ... Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer? Doesn't it show up on the toolbar as | | when you do it that way? It does for me. I have similar items for . | and (math-delim langle rangle), and I use these all the time. -- David L. Johnson Do not worry about your difficulties in mathematics, I can assure you that mine are all greater. -- A. Einstein
Novice: How to change the headings color of a document
I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. I probably need \usepackage{color} + a command to color all the document headings. Thanks -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: TOC in 2 columns
Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? When I use the package {multicol} \begin{multicols}{2} TOC \end{multicols} The TOC title Content is in the first column and it looks bad. What's the proper way? Thanks -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. I probably need \usepackage{color} + a command to color all the document headings. I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. If you need more help, please ask. Richard
Re: Novice: TOC in 2 columns
On Fri, 20 Jan 2012 12:03:08 +0900 nomnex nom...@gmail.com wrote: Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? I have to \usepackage{multitoc}, but default it outputs a 2 columns TOC. Can someone help me with the command to set a | vertical bar separation. I don't understand how to do it, reading the multitoc tex manual. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: TOC in 2 columns
On Fri, 20 Jan 2012 12:14:27 +0900 nomnex nom...@gmail.com wrote: On Fri, 20 Jan 2012 12:03:08 +0900 nomnex nom...@gmail.com wrote: Most of the PDF manuals in the latex doc directory have: - Content title is centered - 2 column TOC. How can I do that in LyX? I have to \usepackage{multitoc}, but default it outputs a 2 columns TOC. Can someone help me with the command to set a | vertical bar separation. I don't understand how to do it, reading the multitoc tex manual. The multitoc manual (PDF) displays a vertical separator bar | between the TOC 2 columns. I believe it is the default, but it may (assumption) conflict with the lyx TOC feature. \usepackage[toc]{multitoc} in the doc preamble creates a 2 columns TOC, but there is no column separator. I have been looking at the file http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty It is above my competence, but I wonder if I have use a charactertable (see below) in the preamble and how. Can somebody help me? Thank you. %% \CharacterTable snip %% Equals\= Greater than \ Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex\^ Underscore\_ %% Grave accent \` Left brace\{ Vertical bar \| %% Right brace \} Tilde \~} -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: Text in the middle of the page
My apology for many questions in a row. I am a bit overwhelmed with the doc. the default lyx (either article, or report class) document margins -- probably for typographical reason -- do not center the text on the page. The left margin is larger than the right margin. What is the best way to have the text in the middle of the page: a. Can I use the {geometry} package in the preamble, and what is the command to pass. b. Else, should I set Document margins manually (there is no indication of the default L/R margin values). Thank you. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On Thu, 19 Jan 2012 22:04:52 -0500 Richard Heck rgh...@comcast.net wrote: On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. snip I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. If you need more help, please ask. Hello Richard, I do not understand the command syntax to pass in the preamble, after reading the titlesec PDF manual PDF. I am a complete novice. Could you provide an example or two; let say I want to change my document Section headings to a dark blue color. What is the exact command to pass in the document preamble. == \usepakage{titlesec} then what? == Thank you. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On Fri, 20 Jan 2012 14:56:05 +0900 nomnex nom...@gmail.com wrote: On Thu, 19 Jan 2012 22:04:52 -0500 Richard Heck rgh...@comcast.net wrote: On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings snip I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. snip This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Another version (found on http://tex.stackexchange.com) fails equally. \titleformat{\section} {\normalfont\sffamily\Large\bfseries\color{blue}} -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
nomnex wrote: This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Try \usepackage{color} \usepackage{titlesec} \titleformat*{\section}{\color{blue}} HTH Jürgen
Re: Novice: How to change the headings color of a document
On Fri, 20 Jan 2012 07:18:24 +0100 Jürgen Spitzmüller sp...@lyx.org wrote: nomnex wrote: This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Try \usepackage{color} \usepackage{titlesec} \titleformat*{\section}{\color{blue}} HTH Jürgen Thank you Jurgen, I was missing to add the color or xcolor package. I would like to keep the default article class settings of the Chapt/Section/Sub-sec/etc. and only change their color*. a. Where can I find the font information for the Chapt/Section/Sub-sec... b. Could you help with, say, the Section command, so that I have an idea of the complete syntax to pass in the preamble [size, font, etc.]. Thanks in advance, nomnex *in the same way \addtokomafont{sectioning}{\color{blue}} works with the KOMA-Script. -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Citations in Scientific Articles
That is not a LyX issue, but a LaTeX, or rather BibTeX/BibLaTeX one which is the underlying citation processor. Google is your girlfriend :-)-O greetings, el on 2012-01-19 11:13 elloh van said the following: > Dear Sir/Madam, > > I am a LyX user: > > Please I would like to have a clarification on this > pressing issue of mine. > > I have attached two files depicting two categories of > citations. I named them as type-one-citation and > type-two-citation. > > In some processors there is no way one can make a range > citation as shown in the second and third citations in > the file ''type-one-citation'' when your document is > printed. Rather it appears as shown in the second and > third citations in the file ''type-two-citation'' when > your document is printed. > > I would like to know if provisions are made in LyX > to make range citations as in the second > and third citations in the file ''type-one-citation'' when > your document is printed ? > > If yes, where can I find it in LyX ? > > Hope to hearing from you soon. > Thanks. > Best regards. > > Van Wellington Elloh
Re: Citations in Scientific Articles
On 01/19/2012 04:13 AM, elloh van wrote: Dear Sir/Madam, I am a LyX user: Please I would like to have a clarification on this pressing issue of mine. I have attached two files depicting two categories of citations. I named them as type-one-citation and type-two-citation. In some processors there is no way one can make a range citation as shown in the second and third citations in the file ''type-one-citation'' when your document is printed. Rather it appears as shown in the second and third citations in the file ''type-two-citation'' when your document is printed. I would like to know if provisions are made in LyX to make range citations as in the second and third citations in the file ''type-one-citation'' when your document is printed ? If yes, where can I find it in LyX ? Natbib will happily do this. Simply activate it under "Document>Settings>Bibliography", choose the numerical style, and then under Document Class enter the class option "compress" or you can try "sort". See section 2.16 of: http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdf for the details. Richard
Re: Lyx2.0.2 for windows cannot display \leq
On the problem machine, go to C:\Program Files (x86)\LyX20\Resources\fonts (assuming LyX is installed in the default location). There should be ten TrueType font files (.ttf), along with a couple of text files. Those fonts are used by LyX to display math on the screen, so it is possible that one of them is not properly installed or is broken. (Broken seems unlikely if reverting to an earlier version of LyX did not cure the problem.) I don't have a Win 7 machine handy at the moment, but there should be a font applet in the control panel. Try reinstalling the ten font files and see if that cures the problem. You probably don't need to reinstall all of them, but offhand I don't know which one would be responsible for \leq. Paul
Re: What is the toolbar icon name for
Julien Rioux physics.utoronto.ca> writes:/ > > On 10/08/2011 1:55 AM, Jason Rute wrote: > > Hello, I added > > > > Item "Insert | |" "math-delim | |" > > > > to my stdtoolbars.inc file. It works fine, except that I can't figure out > > what the corresponding icon file name should be (in > > AppData/Roaming/Lyx2.0/images/math). ... > > Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer?
Re: What is the toolbar icon name for
On 01/19/2012 03:19 PM, Yaniv wrote: Julien Riouxwrites:/ On 10/08/2011 1:55 AM, Jason Rute wrote: Hello, I added Item "Insert | |" "math-delim | |" to my stdtoolbars.inc file. It works fine, except that I can't figure out what the corresponding icon file name should be (in AppData/Roaming/Lyx2.0/images/math). ... Does anyone know? Is this a bug? I just wanted to share that I also looked for this icon filename but could not find what it was. Anyone knows the answer? Doesn't it show up on the toolbar as | | when you do it that way? It does for me. I have similar items for . | and < > (math-delim langle rangle), and I use these all the time. -- David L. Johnson Do not worry about your difficulties in mathematics, I can assure you that mine are all greater. -- A. Einstein
Novice: How to change the headings color of a document
I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google & the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: "The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. " I probably need \usepackage{color} + a command to color all the document headings. Thanks -- nomnexFreenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: TOC in 2 columns
Most of the PDF manuals in the latex doc directory have: - "Content" title is centered - 2 column TOC. How can I do that in LyX? When I use the package {multicol} \begin{multicols}{2} TOC \end{multicols} The TOC title "Content" is in the first column and it looks bad. What's the proper way? Thanks -- nomnexFreenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
On 01/19/2012 08:54 PM, nomnex wrote: I do not know what package and what command to pass in a document preamble to change the color of all the headings (Chapter, section, sub-sec, etc...), from the default black to another color e.g. dark blue. I do not need to change the color of the header/footer, which probably request a different package or set of commands. Google& the list archive did not help much with my level of knowledge. I got a hint (see below), about changing the document class, but I don't know how: "The reason, as Jurgen pointed out, is because the chapter headings turn up in the page headers---not to mention the TOC. So you really don't want to change its color anyway, not manually. If you want chapter headings to be colored, you change that in the document class. " I probably need \usepackage{color} + a command to color all the document headings. I would suggest you look into the titlesec package. This provides specifically for custom styling of section, etc, headings, without affecting the page headers. If you need more help, please ask. Richard
Re: Novice: TOC in 2 columns
> On Fri, 20 Jan 2012 12:03:08 +0900 > nomnexwrote: > > Most of the PDF manuals in the latex doc directory have: > - "Content" title is centered > - 2 column TOC. > > How can I do that in LyX? I have to \usepackage{multitoc}, but default it outputs a 2 columns TOC. Can someone help me with the command to set a "|" vertical bar separation. I don't understand how to do it, reading the multitoc tex manual. -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: TOC in 2 columns
> On Fri, 20 Jan 2012 12:14:27 +0900 > nomnexwrote: > > > On Fri, 20 Jan 2012 12:03:08 +0900 > > nomnex wrote: > > > > Most of the PDF manuals in the latex doc directory have: > > - "Content" title is centered > > - 2 column TOC. > > > > How can I do that in LyX? > > I have to \usepackage{multitoc}, but default it outputs a 2 columns > TOC. > > Can someone help me with the command to set a "|" vertical bar > separation. I don't understand how to do it, reading the multitoc tex > manual. > The multitoc manual (PDF) displays a vertical separator bar "|" between the TOC 2 columns. I believe it is the default, but it may (assumption) conflict with the lyx TOC feature. \usepackage[toc]{multitoc} in the doc preamble creates a 2 columns TOC, but there is no column separator. I have been looking at the file http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty It is above my competence, but I wonder if I have use a "charactertable" (see below) in the preamble and how. Can somebody help me? Thank you. %% \CharacterTable %% Equals\= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex\^ Underscore\_ %% Grave accent \` Left brace\{ Vertical bar \| %% Right brace \} Tilde \~} -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Novice: Text in the middle of the page
My apology for many questions in a row. I am a bit overwhelmed with the doc. the default lyx (either article, or report class) document margins -- probably for typographical reason -- do not center the text on the page. The left margin is larger than the right margin. What is the best way to have the text in the middle of the page: a. Can I use the {geometry} package in the preamble, and what is the command to pass. b. Else, should I set Document margins manually (there is no indication of the default L/R margin values). Thank you. -- nomnexFreenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
> On Thu, 19 Jan 2012 22:04:52 -0500 > Richard Heckwrote: > > On 01/19/2012 08:54 PM, nomnex wrote: > > I do not know what package and what command to pass in a document > > preamble to change the color of all the headings (Chapter, section, > > sub-sec, etc...), from the default black to another color e.g. dark > > blue. I do not need to change the color of the header/footer, which > > probably request a different package or set of commands. > I would suggest you look into the titlesec package. This provides > specifically for custom styling of section, etc, headings, without > affecting the page headers. > > If you need more help, please ask. Hello Richard, I do not understand the command syntax to pass in the preamble, after reading the titlesec PDF manual PDF. I am a complete novice. Could you provide an example or two; let say I want to change my document Section headings to a dark blue color. What is the exact command to pass in the document preamble. == \usepakage{titlesec} then what? == Thank you. -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
> On Fri, 20 Jan 2012 14:56:05 +0900 > nomnexwrote: > > > On Thu, 19 Jan 2012 22:04:52 -0500 > > Richard Heck wrote: > > > > On 01/19/2012 08:54 PM, nomnex wrote: > > > I do not know what package and what command to pass in a document > > > preamble to change the color of all the headings > > I would suggest you look into the titlesec package. This provides > > specifically for custom styling of section, etc, headings, without > > affecting the page headers. This fails and generates an error message when I view to DVI \usepackage{titlesec} \titleformat*{\section}{\color{blue}} Another version (found on http://tex.stackexchange.com) fails equally. \titleformat{\section} {\normalfont\sffamily\Large\bfseries\color{blue}} -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net
Re: Novice: How to change the headings color of a document
nomnex wrote: > This fails and generates an error message when I view to DVI > > \usepackage{titlesec} > \titleformat*{\section}{\color{blue}} Try \usepackage{color} \usepackage{titlesec} \titleformat*{\section}{\color{blue}} HTH Jürgen
Re: Novice: How to change the headings color of a document
> On Fri, 20 Jan 2012 07:18:24 +0100 > Jürgen Spitzmüllerwrote: > > nomnex wrote: > > This fails and generates an error message when I view to DVI > > > > \usepackage{titlesec} > > \titleformat*{\section}{\color{blue}} > > Try > > \usepackage{color} > \usepackage{titlesec} > \titleformat*{\section}{\color{blue}} > > HTH > Jürgen Thank you Jurgen, I was missing to add the "color" or "xcolor" package. I would like to keep the default article class settings of the Chapt/Section/Sub-sec/etc. and only change their color*. a. Where can I find the font information for the Chapt/Section/Sub-sec... b. Could you help with, say, the "Section" command, so that I have an idea of the complete syntax to pass in the preamble [size, font, etc.]. Thanks in advance, nomnex *in the same way \addtokomafont{sectioning}{\color{blue}} works with the KOMA-Script. -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net