RE: Multiple formatting questions with LyX 1.6.5 - book (Memoir)
Hi Günter, Yes, I use vertical space for paragraph separation. I tried your workaround, but Indent separation is ugly, and \usepackage{parskip} still does not remove the first vertical separation completely, so I reverted back to vertical space. I'll see the enuitem package for more control. Yannick | -Original Message- | From: Guenter Milde [mailto:mi...@users.berlios.de] | Sent: jeudi, 20 mai 2010 15:32 | To: lyx-users@lists.lyx.org | Subject: Re: Multiple formatting questions with LyX 1.6.5 - | book (Memoir) | | On 2010-05-20, RIchard Heck wrote: | > On 05/20/2010 02:33 AM, Yannick Fournier wrote: | | >> One more question I forgot to ask: | >> How do you reduce the vertical space, in itemize and | enumerate listings, | >> between the first item and the preceeding paragraph? I | tried the following | >> preamble commands with success only between item lines: | ... | | Do you use vertical space to separate paragraphs? | There is a LyX bug. | | Workaround: in Document>Settings>Text | Format>Paragaph Separator select | | (*) Indent | | and in the LaTeX preamble write | | \usepackage{parskip}. | | Otherwise, search for "enumitem" on wiki.lyx.org. | | Günter | | | |
Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)
On 2010-05-20, RIchard Heck wrote: > On 05/20/2010 02:33 AM, Yannick Fournier wrote: >> One more question I forgot to ask: >> How do you reduce the vertical space, in itemize and enumerate listings, >> between the first item and the preceeding paragraph? I tried the following >> preamble commands with success only between item lines: ... Do you use vertical space to separate paragraphs? There is a LyX bug. Workaround: in Document>Settings>Text Format>Paragaph Separator select (*) Indent and in the LaTeX preamble write \usepackage{parskip}. Otherwise, search for "enumitem" on wiki.lyx.org. Günter
Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)
On 05/20/2010 02:33 AM, Yannick Fournier wrote: |> a) Changing cross-references links of "subsubsection" to a | nicer "section": |> Is there a command similar to the one for renaming figure | captions (see |> below), in order to have for example "subsections 3.4.3.2" | or "section |> 3.4.3.2" instead of "subsubsections 3.4.3.2" ? |> \renewcommand{\f...@figure}{fig.~\thefigure} |> |> | How are you getting the "subsubsection..." text? I just get | numbers for | references to subsubsections. I simply use the standard option "" and the associated "On Page ". The formatted reference and the" On Page" do not work, but we have been knowing that for weeks. I think that my problems comes from this preamble line, that I found somewhere in a FAQ some months ago: \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1 Ahh. In that case, \def\subsubsectionautorefname{Section} should do. See hyperref.sty. |> d) Capital letters for cross-reference links at beginning | of sentences: |> When I make reference to a chapter at the beginning of a | sentence, the |> cross-reference link is: |> "chapter 2 discusses blablabla", instead of having a | capital letter: |> "Chapter 2 discusses blablabla" |> Can I correct that? |> |> | Again, what are you using to get these cross-references? If I do a | "formatted reference" to a chapter, I always get caps. If | you're using | memoir's Cref command, etc, then see the memoir manual for what to do. \renewcommand\chaptername{Chapter} will get you caps all the time, if I'm not mistaken. So far as I know, there is no way to get them some of the time. One more question I forgot to ask: How do you reduce the vertical space, in itemize and enumerate listings, between the first item and the preceeding paragraph? I tried the following preamble commands with success only between item lines: Try posting this question separately. I'm not sure about this. rh
RE: Multiple formatting questions with LyX 1.6.5 - book (Memoir)
Dear Richard, First: thanks, your tricks with "openany" and setting the Biblio to \smaller (simply by changing Text style, I feel stupid) provoked a reduction of 10 pages out of 240 :) For the remaining open questions: | > a) Changing cross-references links of "subsubsection" to a | nicer "section": | > Is there a command similar to the one for renaming figure | captions (see | > below), in order to have for example "subsections 3.4.3.2" | or "section | > 3.4.3.2" instead of "subsubsections 3.4.3.2" ? | > \renewcommand{\f...@figure}{fig.~\thefigure} | > | > | How are you getting the "subsubsection..." text? I just get | numbers for | references to subsubsections. I simply use the standard option "" and the associated "On Page ". The formatted reference and the " On Page " do not work, but we have been knowing that for weeks. I think that my problems comes from this preamble line, that I found somewhere in a FAQ some months ago: \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1 | > d) Capital letters for cross-reference links at beginning | of sentences: | > When I make reference to a chapter at the beginning of a | sentence, the | > cross-reference link is: | > "chapter 2 discusses blablabla", instead of having a | capital letter: | > "Chapter 2 discusses blablabla" | > Can I correct that? | > | > | Again, what are you using to get these cross-references? If I do a | "formatted reference" to a chapter, I always get caps. If | you're using | memoir's Cref command, etc, then see the memoir manual for what to do. See above. One more question I forgot to ask: How do you reduce the vertical space, in itemize and enumerate listings, between the first item and the preceeding paragraph? I tried the following preamble commands with success only between item lines: \let\oldenumerate=\enumerate \def\enumerate{\oldenumerate% \setlength{\itemsep}{-1pt}\setlength{\parsep}{-1pt}}% \let\olditemize=\itemize \def\itemize{\olditemize% \setlength{\itemsep}{-1pt} \setlength{\parsep}{-1pt}}% However, these commands generate an undefined controlled sequence upon compilation: \usepackage{setspace} \let\olditemize=\itemize \def\itemize{ \olditemize \setlength{\itemsep}{-0.0ex} \setstretch{0.8} } \let\oldenumerate=\enumerate \def\enumerate{ \oldenumerate \setlength{\itemsep}{-0.0ex} \setstretch{0.8} } Yannick
Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)
On 05/19/2010 03:33 PM, Yannick Fournier wrote: Dear LyX community, First of all thank you for the day to day support you provide through this mailing-list. I've been writing my thesis for the last 6 months with LyX 1.6.5 in *book (Memoir)*, and I saw a lot of interesting tips. I have gathered here the questions that arose during my composition. My apologizes if I've missed something in the FAQ. a) Changing cross-references links of "subsubsection" to a nicer "section": Is there a command similar to the one for renaming figure captions (see below), in order to have for example "subsections 3.4.3.2" or "section 3.4.3.2" instead of "subsubsections 3.4.3.2" ? \renewcommand{\f...@figure}{fig.~\thefigure} How are you getting the "subsubsection..." text? I just get numbers for references to subsubsections. b) Preventing Appendixes to insert blank pages and centered layout: I'm inserting my appendix child documents with "Input" instead of "Include" to avoid getting blank pages, but nevertheless the first appendix page has a centered page number and is always an odd page. Apart from using "article" in the document class options, is there a way to avoid this? This is standard behavior for a book, since an appendix is really a chapter* and so starts on a new page. If it's just the odd page you don't want, then use "openany" as a class option. c) Index entries use the formatting of the core text, i.e. a bold list entry gets bold in the index too: can we prevent this ? Just go into the index inset and unbold it. d) Capital letters for cross-reference links at beginning of sentences: When I make reference to a chapter at the beginning of a sentence, the cross-reference link is: "chapter 2 discusses blablabla", instead of having a capital letter: "Chapter 2 discusses blablabla" Can I correct that? Again, what are you using to get these cross-references? If I do a "formatted reference" to a chapter, I always get caps. If you're using memoir's Cref command, etc, then see the memoir manual for what to do. e) Smaller bibliography fonts: How can I have my bibliography (external BibTek from JabRef) printed in smaller fonts than the core of the document? For the information formatting I'm using "unsrt" and "Default (numerical) for citations. Don't know this one. I mean, you can do "\small" or something, but it can get reset. rh
Multiple formatting questions with LyX 1.6.5 - book (Memoir)
Dear LyX community, First of all thank you for the day to day support you provide through this mailing-list. I've been writing my thesis for the last 6 months with LyX 1.6.5 in *book (Memoir)*, and I saw a lot of interesting tips. I have gathered here the questions that arose during my composition. My apologizes if I've missed something in the FAQ. a) Changing cross-references links of "subsubsection" to a nicer "section": Is there a command similar to the one for renaming figure captions (see below), in order to have for example "subsections 3.4.3.2" or "section 3.4.3.2" instead of "subsubsections 3.4.3.2" ? \renewcommand{\f...@figure}{fig.~\thefigure} b) Preventing Appendixes to insert blank pages and centered layout: I'm inserting my appendix child documents with "Input" instead of "Include" to avoid getting blank pages, but nevertheless the first appendix page has a centered page number and is always an odd page. Apart from using "article" in the document class options, is there a way to avoid this? c) Index entries use the formatting of the core text, i.e. a bold list entry gets bold in the index too: can we prevent this ? d) Capital letters for cross-reference links at beginning of sentences: When I make reference to a chapter at the beginning of a sentence, the cross-reference link is: "chapter 2 discusses blablabla", instead of having a capital letter: "Chapter 2 discusses blablabla" Can I correct that? e) Smaller bibliography fonts: How can I have my bibliography (external BibTek from JabRef) printed in smaller fonts than the core of the document? For the information formatting I'm using "unsrt" and "Default (numerical) for citations. Best regards and many thanks in advance. Feel free to split into multiple emails if needed. Yannick Fournier -- PhD. student EPFL, Switzerland