Re: Choice of fonts in LaTeX
Hi, Paul schrieb: Also, the italic chapter names in the header at the top of every page (memoir document class) were coming out as an embedded NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic text was just using a standard Times-Italic non-embedded font. Nimbus Roman is the name of the Times Roman clone from URW latex ships with. I assume there's some difference between Italic and Slanted - italic is a properly-designed font but slanted is done programatically by shearing the standard roman font maybe? Nope. Both are font variants, in italic the letters have their own shapes (i.e. the a can be completely different), wheras slated fonts are shifted sideways *by the font designer*. Yours, Karsten -- | ~ Karsten Heymann ~ | Christian-Albrecht-Universität zu Kiel | | Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum| | Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de | | - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |
Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: No one answered a simple topic :(
[EMAIL PROTECTED] wrote: I just wanna know: What's worth to use, PDF (dvipdfm) or PDF (pdflatex)? And why? pdflatex is much faster, because PDF is produced directly from the .tex file lyx makes. One step only. dvipdfm is slower, as a dvi is produced first, followed by conversion to pdf. Helge Hafting
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular lyxtabular version=3 rows=5 columns=5 features column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard t \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Re: Choice of fonts in LaTeX
Karsten Heymann wrote: Also, the italic chapter names in the header at the top of every page (memoir document class) were coming out as an embedded NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic text was just using a standard Times-Italic non-embedded font. Nimbus Roman is the name of the Times Roman clone from URW latex ships with. Strange that it would output some text as Times Italic and others as Nimbus Slanted, then. Maybe it's something to do with the available font sizes Or maybe a hard-coded font in the memoir class? Or maybe one uses \textsl and the other \textit somewhere inside the class definition? Is there any typographical reason why you might want slanted instead of italic or vice-versa? Paul.
Preamble code from the layout file gets double linespacing
I just tried recompiling todays cvs. Running this lyx gave strange results. Any latex code from the preamble gets double linespacing, like this: \newcommand{\mycommand}{ \something \something } which go wrong, as paragraph breaks are not allowed in commands. I am rebuilding after a make clean, to see if that makes things better. Helge Hafting
AW: Re: Chapter with numbering but without word chapter - more questions...
Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? Liliann [EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: Preamble code from the layout file gets double linespacing
Helge Hafting wrote: I just tried recompiling todays cvs. Running this lyx gave strange results. Any latex code from the preamble gets double linespacing, like this: \newcommand{\mycommand}{ \something \something } which go wrong, as paragraph breaks are not allowed in commands. I am rebuilding after a make clean, to see if that makes things better. It will not help. You found a bug in the new layout file converter. You need to add the line Format 2 as first non-comment line in all layout files that are already in 1.4 format. Georg
Horizontal Rule
I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Re: Horizontal Rule
Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan In ERT, centered in a paragraph: \rule[raise]{width}{thickness} All three arguments are measurements. The mandatory arguments are the horizontal width of the line and the thickness. The optional argument is how much to raise it within its paragraph. I don't know if there is a preferred width. I would say to use whatever appeals to you visually. Paul
Re: Horizontal Rule
The Elements of Typographic Style, by Robert Bringhurst, uses horizontal rules only sparingly, but they extend across the type block. Of The Elements, the great Hermann Zapf wrote, I wish to see this book become the Typographers' Bible. Bruce On Monday, October 24, 2005, at 03:01 PM, Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Is this possible in lyx?
Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Re: Is this possible in lyx?
Jose Capco wrote: Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com Try writing your formula in LyX the normal way, then putting \mbox{ in ERT to the left of it and } in ERT to the right of it. Paul
Re: Horizontal Rule
The Elements of Typographic Style, by Robert Bringhurst, uses horizontal rules only sparingly, but they extend across the type block. Of The Elements, the great Hermann Zapf wrote, I wish to see this book become the Typographers' Bible. That's as may be, but I'm currently using LyX to recreate an old book, in which there /is/ a horizontal rule. :p Evidently they hadn't read The Elements of Typographic Style in 1830... ;) Dan
Fwd: Choice of fonts in LaTeX
(I assumed the Reply-to: would be the list) On 24/10/05, Paul [EMAIL PROTECTED] wrote: Is there any typographical reason why you might want slanted instead of italic or vice-versa? In the original edition describing TeX Knuth is very very strident about the need for slanted fonts, the wave of the future. To be honest, slanted appears to be a very good way to differentiate input/output in the typography of human-computer interaction. Reading early published versions of Knuth makes the typographic rationale behind slanted clear. Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. Slanted also just feels forcefully, brutally, ultramodern, like Bauhaus typefaces or London Underground. I expect to see early Soviet era designers appear from a montage, shouting in slanted slogans of better typography through science. If you want your readers to expect the avantegarde of suprematism and constructivism to burst out of your text, set in slanted. Slanted is not very good at replacing the humanities uses of italics (/Title/, /mild emphasis/, /foreign words in body text/, etc). In humanities texts slanted breaks rules regarding reader familiarity with typesetting styles, it also breaks the aesthetic beauty of well set type. So if we go to the heart of Knuth's initial research/engineering problem (beautiful typography), then the Slanted type he pushes so hard in the late 1970s, at least in humanities, works against him. Personally, I find that there's a great deal of beauty in well designed Italic faces. At the level of readability, I also find the difference in the format of characters (a, g, etc) provided by italic, acts as an extra cue for me that the text has a different meaning (other than just the slant). yours, Sam R. -- I will give you Tacos, such Tacos as you have never seen. -- I will give you Tacos, such Tacos as you have never seen.
Re: Fwd: Choice of fonts in LaTeX
In [EMAIL PROTECTED], Sam Russell [EMAIL PROTECTED] typed: (I assumed the Reply-to: would be the list) Bad assumption. The list isn't broken. Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. So can they get a slanted face out of an MM font? Thanks, mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Re: Fwd: Choice of fonts in LaTeX
On 25/10/05, Mike Meyer [EMAIL PROTECTED] wrote: Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. So can they get a slanted face out of an MM font? This is my recollection of Knuth's assertion[1]. Then again, those kinds of big assertions often come with new products (I did it overnight, the permutations were easy and attractive). I've never touched metafont, other than enjoying the beauty of its results, computer modern. I'd be interested in hearing if anyone else has made beautiful families of fonts from metafont. yours, Sam R. [1] Knuth, Donald E. /TeX and METAFONT: new directions in typesetting/. Bedford, Mass. : Digital Press, 1979. (cyclostyled from conference papers).
Re: Is this possible in lyx?
Try writing your formula in LyX the normal way, then putting \mbox{ in ERT to the left of it and } in ERT to the right of it. Paul I just feared that.. so the answer to my question is actually no but yes , oh well.. I guess there is no other way. Thanks Sincerely, Jose Capco __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Re: Choice of fonts in LaTeX
Hi, Paul schrieb: Also, the italic chapter names in the header at the top of every page (memoir document class) were coming out as an embedded NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic text was just using a standard Times-Italic non-embedded font. Nimbus Roman is the name of the Times Roman clone from URW latex ships with. I assume there's some difference between Italic and Slanted - italic is a properly-designed font but slanted is done programatically by shearing the standard roman font maybe? Nope. Both are font variants, in italic the letters have their own shapes (i.e. the a can be completely different), wheras slated fonts are shifted sideways *by the font designer*. Yours, Karsten -- | ~ Karsten Heymann ~ | Christian-Albrecht-Universität zu Kiel | | Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum| | Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de | | - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |
Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: No one answered a simple topic :(
[EMAIL PROTECTED] wrote: I just wanna know: What's worth to use, PDF (dvipdfm) or PDF (pdflatex)? And why? pdflatex is much faster, because PDF is produced directly from the .tex file lyx makes. One step only. dvipdfm is slower, as a dvi is produced first, followed by conversion to pdf. Helge Hafting
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular lyxtabular version=3 rows=5 columns=5 features column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard t \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Re: Choice of fonts in LaTeX
Karsten Heymann wrote: Also, the italic chapter names in the header at the top of every page (memoir document class) were coming out as an embedded NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic text was just using a standard Times-Italic non-embedded font. Nimbus Roman is the name of the Times Roman clone from URW latex ships with. Strange that it would output some text as Times Italic and others as Nimbus Slanted, then. Maybe it's something to do with the available font sizes Or maybe a hard-coded font in the memoir class? Or maybe one uses \textsl and the other \textit somewhere inside the class definition? Is there any typographical reason why you might want slanted instead of italic or vice-versa? Paul.
Preamble code from the layout file gets double linespacing
I just tried recompiling todays cvs. Running this lyx gave strange results. Any latex code from the preamble gets double linespacing, like this: \newcommand{\mycommand}{ \something \something } which go wrong, as paragraph breaks are not allowed in commands. I am rebuilding after a make clean, to see if that makes things better. Helge Hafting
AW: Re: Chapter with numbering but without word chapter - more questions...
Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? Liliann [EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: Preamble code from the layout file gets double linespacing
Helge Hafting wrote: I just tried recompiling todays cvs. Running this lyx gave strange results. Any latex code from the preamble gets double linespacing, like this: \newcommand{\mycommand}{ \something \something } which go wrong, as paragraph breaks are not allowed in commands. I am rebuilding after a make clean, to see if that makes things better. It will not help. You found a bug in the new layout file converter. You need to add the line Format 2 as first non-comment line in all layout files that are already in 1.4 format. Georg
Horizontal Rule
I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Re: Horizontal Rule
Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan In ERT, centered in a paragraph: \rule[raise]{width}{thickness} All three arguments are measurements. The mandatory arguments are the horizontal width of the line and the thickness. The optional argument is how much to raise it within its paragraph. I don't know if there is a preferred width. I would say to use whatever appeals to you visually. Paul
Re: Horizontal Rule
The Elements of Typographic Style, by Robert Bringhurst, uses horizontal rules only sparingly, but they extend across the type block. Of The Elements, the great Hermann Zapf wrote, I wish to see this book become the Typographers' Bible. Bruce On Monday, October 24, 2005, at 03:01 PM, Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Is this possible in lyx?
Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Re: Is this possible in lyx?
Jose Capco wrote: Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com Try writing your formula in LyX the normal way, then putting \mbox{ in ERT to the left of it and } in ERT to the right of it. Paul
Re: Horizontal Rule
The Elements of Typographic Style, by Robert Bringhurst, uses horizontal rules only sparingly, but they extend across the type block. Of The Elements, the great Hermann Zapf wrote, I wish to see this book become the Typographers' Bible. That's as may be, but I'm currently using LyX to recreate an old book, in which there /is/ a horizontal rule. :p Evidently they hadn't read The Elements of Typographic Style in 1830... ;) Dan
Fwd: Choice of fonts in LaTeX
(I assumed the Reply-to: would be the list) On 24/10/05, Paul [EMAIL PROTECTED] wrote: Is there any typographical reason why you might want slanted instead of italic or vice-versa? In the original edition describing TeX Knuth is very very strident about the need for slanted fonts, the wave of the future. To be honest, slanted appears to be a very good way to differentiate input/output in the typography of human-computer interaction. Reading early published versions of Knuth makes the typographic rationale behind slanted clear. Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. Slanted also just feels forcefully, brutally, ultramodern, like Bauhaus typefaces or London Underground. I expect to see early Soviet era designers appear from a montage, shouting in slanted slogans of better typography through science. If you want your readers to expect the avantegarde of suprematism and constructivism to burst out of your text, set in slanted. Slanted is not very good at replacing the humanities uses of italics (/Title/, /mild emphasis/, /foreign words in body text/, etc). In humanities texts slanted breaks rules regarding reader familiarity with typesetting styles, it also breaks the aesthetic beauty of well set type. So if we go to the heart of Knuth's initial research/engineering problem (beautiful typography), then the Slanted type he pushes so hard in the late 1970s, at least in humanities, works against him. Personally, I find that there's a great deal of beauty in well designed Italic faces. At the level of readability, I also find the difference in the format of characters (a, g, etc) provided by italic, acts as an extra cue for me that the text has a different meaning (other than just the slant). yours, Sam R. -- I will give you Tacos, such Tacos as you have never seen. -- I will give you Tacos, such Tacos as you have never seen.
Re: Fwd: Choice of fonts in LaTeX
In [EMAIL PROTECTED], Sam Russell [EMAIL PROTECTED] typed: (I assumed the Reply-to: would be the list) Bad assumption. The list isn't broken. Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. So can they get a slanted face out of an MM font? Thanks, mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Re: Fwd: Choice of fonts in LaTeX
On 25/10/05, Mike Meyer [EMAIL PROTECTED] wrote: Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. So can they get a slanted face out of an MM font? This is my recollection of Knuth's assertion[1]. Then again, those kinds of big assertions often come with new products (I did it overnight, the permutations were easy and attractive). I've never touched metafont, other than enjoying the beauty of its results, computer modern. I'd be interested in hearing if anyone else has made beautiful families of fonts from metafont. yours, Sam R. [1] Knuth, Donald E. /TeX and METAFONT: new directions in typesetting/. Bedford, Mass. : Digital Press, 1979. (cyclostyled from conference papers).
Re: Is this possible in lyx?
Try writing your formula in LyX the normal way, then putting \mbox{ in ERT to the left of it and } in ERT to the right of it. Paul I just feared that.. so the answer to my question is actually no but yes , oh well.. I guess there is no other way. Thanks Sincerely, Jose Capco __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Re: Choice of fonts in LaTeX
Hi, Paul schrieb: Also, the italic chapter names in the header at the top of every page (memoir document class) were coming out as an embedded NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic text was just using a standard Times-Italic non-embedded font. Nimbus Roman is the name of the "Times Roman" clone from URW latex ships with. I assume there's some difference between Italic and Slanted - italic is a properly-designed font but slanted is done programatically by shearing the standard roman font maybe? Nope. Both are font variants, in italic the letters have their own shapes (i.e. the "a" can be completely different), wheras slated fonts are "shifted" sideways *by the font designer*. Yours, Karsten -- | ~ Karsten Heymann ~ | Christian-Albrecht-Universität zu Kiel | | Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum| | Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de | | - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |
Re: Chapter with numbering but without word "chapter" - more questions...
[EMAIL PROTECTED] wrote: > Hi! > > Thanks for your advice! Eventhough I'm using the Report style, I still got > rid of the word chapter by adding the command (eventhough I had to type it > as Tex at the beginning of the document, it wouldn't work in the > preamble). > > Do you by any chance also know, if it is now also possible to get the > number of the chapter in front of my own chapter title instead of on top > of it? And is there a possibility to get around the pagebreaks when a new > chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: No one answered a simple topic :(
[EMAIL PROTECTED] wrote: I just wanna know: What's worth to use, PDF (dvipdfm) or PDF (pdflatex)? And why? pdflatex is much faster, because PDF is produced directly from the .tex file lyx makes. One step only. dvipdfm is slower, as a dvi is produced first, followed by conversion to pdf. Helge Hafting
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become "Figure" and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the "Here definitely" placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Standard t \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none b \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none l \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none e \end_layout \end_inset \end_inset \end_layout \begin_layout Caption \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none table-caption \end_layout
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: > Johan Ingvast wrote: > > Yes, that's an alternative from using the 1 x 2 table. But my problem > > is with the captions. I want a table caption for the table and a > > figure caption for the figure. If I put everything in a figure float > > both captions will become "Figure" and vice versa. > > /johan > > This works for me: > > 1. In the preamble: \usepackage{multicol} > > 2. Before your figures, in ERT: \begin{multicols}{2} > > 3. Then the figure float with the figure, followed by the table > float with the table. In both floats, check the "Here definitely" > placement options. They should otherwise be normal floats. > > 4. After your floats: \end{multicols} > > > Now your two floats will be placed side by side because that section of the > document is set with two columns. You will get a table caption and a > figure caption, as you really have two ordinary floats. > > Example attached. I don't know what happens if the floats appear > near the bottom of a page, you may have to tweak placement > yourself instead of relying on auto placement. > > Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Re: Choice of fonts in LaTeX
Karsten Heymann wrote: >> Also, the italic chapter names in the header at the top of every page >> (memoir document class) were coming out as an embedded >> NimbusRomNo9L-Regu-Slant_167 font for some reason. All other italic >> text was just using a standard Times-Italic non-embedded font. > > Nimbus Roman is the name of the "Times Roman" clone from URW latex ships > with. Strange that it would output some text as Times Italic and others as Nimbus Slanted, then. Maybe it's something to do with the available font sizes Or maybe a hard-coded font in the "memoir" class? Or maybe one uses \textsl and the other \textit somewhere inside the class definition? Is there any typographical reason why you might want slanted instead of italic or vice-versa? Paul.
Preamble code from the layout file gets "double linespacing"
I just tried recompiling todays cvs. Running this lyx gave strange results. Any latex code from the preamble gets double linespacing, like this: \newcommand{\mycommand}{ \something \something } which go wrong, as paragraph breaks are not allowed in commands. I am rebuilding after a make clean, to see if that makes things better. Helge Hafting
AW: Re: Chapter with numbering but without word "chapter" - more questions...
Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? Liliann >[EMAIL PROTECTED] wrote: > >> Hi! >> >> Thanks for your advice! Eventhough I'm using the Report style, I still got >> rid of the word chapter by adding the command (eventhough I had to type it >> as Tex at the beginning of the document, it wouldn't work in the >> preamble). >> >> Do you by any chance also know, if it is now also possible to get the >> number of the chapter in front of my own chapter title instead of on top >> of it? And is there a possibility to get around the pagebreaks when a new >> chapter starts? > >http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header > >Herbert >
Re: Preamble code from the layout file gets "double linespacing"
Helge Hafting wrote: > I just tried recompiling todays cvs. Running this lyx gave strange > results. Any latex code from the preamble gets double linespacing, > like this: > > \newcommand{\mycommand}{ > > \something > > \something > > } > > > > which go wrong, as paragraph breaks are not allowed in commands. > I am rebuilding after a make clean, to see if that makes things > better. It will not help. You found a bug in the new layout file converter. You need to add the line Format 2 as first non-comment line in all layout files that are already in 1.4 format. Georg
Horizontal Rule
I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Re: Horizontal Rule
Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan In ERT, centered in a paragraph: \rule[raise]{width}{thickness} All three arguments are measurements. The mandatory arguments are the horizontal width of the line and the thickness. The optional argument is how much to raise it within its paragraph. I don't know if there is a preferred width. I would say to use whatever appeals to you visually. Paul
Re: Horizontal Rule
The Elements of Typographic Style, by Robert Bringhurst, uses horizontal rules only sparingly, but they extend across the type block. Of The Elements, the great Hermann Zapf wrote, "I wish to see this book become the Typographers' Bible." Bruce On Monday, October 24, 2005, at 03:01 PM, Daniel Watkins wrote: I'm looking to place a horizontal rule in a document I'm currently working on. However, the standard horizontal rule is ugly (it just goes from one side of the page to the other). How can I tell LyX to put in a line that isn't as long (and what's a typographically good length to have it?)? Thanks in advance, Dan
Is this possible in lyx?
Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a "lyx" way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Re: Is this possible in lyx?
Jose Capco wrote: Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a "lyx" way too so that I could also have the benefit of actually seeing to formula. Sincerely, Jose Capco __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com Try writing your formula in LyX the normal way, then putting \mbox{ in ERT to the left of it and } in ERT to the right of it. Paul
Re: Horizontal Rule
> The Elements of Typographic Style, by Robert Bringhurst, uses > horizontal rules only sparingly, but they extend across the type > block. Of The Elements, the great Hermann Zapf wrote, "I wish to see > this book become the Typographers' Bible." That's as may be, but I'm currently using LyX to recreate an old book, in which there /is/ a horizontal rule. :p Evidently they hadn't read "The Elements of Typographic Style" in 1830... ;) Dan
Fwd: Choice of fonts in LaTeX
(I assumed the Reply-to: would be the list) On 24/10/05, Paul <[EMAIL PROTECTED]> wrote: > Is there any typographical reason why you might want slanted instead of > italic or vice-versa? In the original edition describing TeX Knuth is very very strident about the need for slanted fonts, the wave of the future. To be honest, slanted appears to be a very good way to differentiate input/output in the typography of human-computer interaction. Reading early published versions of Knuth makes the typographic rationale behind slanted clear. Knuth also argues in METAFONT that slanted will make it easier for typeface designers to produce multiple faces from a single style. Slanted also just feels forcefully, brutally, ultramodern, like Bauhaus typefaces or London Underground. I expect to see early Soviet era designers appear from a montage, shouting in slanted slogans of better typography through science. If you want your readers to expect the avantegarde of suprematism and constructivism to burst out of your text, set in slanted. Slanted is not very good at replacing the humanities uses of italics (/Title/, /mild emphasis/, /foreign words in body text/, etc). In humanities texts slanted breaks rules regarding reader familiarity with typesetting styles, it also breaks the aesthetic beauty of well set type. So if we go to the heart of Knuth's initial research/engineering problem (beautiful typography), then the Slanted type he pushes so hard in the late 1970s, at least in humanities, works against him. Personally, I find that there's a great deal of beauty in well designed Italic faces. At the level of readability, I also find the difference in the format of characters (a, g, etc) provided by italic, acts as an extra cue for me that the text has a different meaning (other than just the slant). yours, Sam R. -- I will give you Tacos, such Tacos as you have never seen. -- I will give you Tacos, such Tacos as you have never seen.
Re: Fwd: Choice of fonts in LaTeX
In <[EMAIL PROTECTED]>, Sam Russell <[EMAIL PROTECTED]> typed: > (I assumed the Reply-to: would be the list) Bad assumption. The list isn't broken. > Knuth also argues in METAFONT that slanted will make it easier for > typeface designers to produce multiple faces from a single style. So can they get a slanted face out of an MM font? Thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Re: Fwd: Choice of fonts in LaTeX
On 25/10/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > > Knuth also argues in METAFONT that slanted will make it easier for > > typeface designers to produce multiple faces from a single style. > > So can they get a slanted face out of an MM font? This is my recollection of Knuth's assertion[1]. Then again, those kinds of big assertions often come with new products (I did it overnight, the permutations were easy and attractive). I've never touched metafont, other than enjoying the beauty of its results, computer modern. I'd be interested in hearing if anyone else has made beautiful families of fonts from metafont. yours, Sam R. [1] Knuth, Donald E. /TeX and METAFONT: new directions in typesetting/. Bedford, Mass. : Digital Press, 1979. (cyclostyled from conference papers).
Re: Is this possible in lyx?
> Try writing your formula in LyX the normal way, then > putting \mbox{ in > ERT to the left of it and } in ERT to the right of > it. > > Paul I just feared that.. so the answer to my question is actually "no but yes" , oh well.. I guess there is no other way. Thanks Sincerely, Jose Capco __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com