Re: page numbers not bold in table of contents
Hi list, there is no need for a reply any more. I solved the problem manually (i.e. Openoffice) Markus Am Wednesday 08 July 2009 15:37:53 schrieb Markus Büchele: > Hi, > > I have been bothering you in the past weeks with tweeks and other stuff to > get my PhD thesis right for my publisher. Thanks for your valuable help. > > Unfortunately my publisher wants one _last_ change (in her own words). > > In the table of contents (book class), chapters are printed in bold and > subchapters in normal printing. > > I need just the headlines of chapters in bold print and the page numbers in > normal print. > > Could you help me, please? Thanks in advance! > > Markus
page numbers not bold in table of contents
Hi, I have been bothering you in the past weeks with tweeks and other stuff to get my PhD thesis right for my publisher. Thanks for your valuable help. Unfortunately my publisher wants one _last_ change (in her own words). In the table of contents (book class), chapters are printed in bold and subchapters in normal printing. I need just the headlines of chapters in bold print and the page numbers in normal print. Could you help me, please? Thanks in advance! Markus
Re: defining custom font size and indentation
Am Friday 03 July 2009 11:27:14 schrieb Jürgen Spitzmüller: > cmiramon wrote: > > > Seems to be a bug in the hanging package. I don't have another idea > > > than inserting a vertical space. > > > > Or you could try to switch to komascript book. In my experience koma > > works much better when you start to tweak stuff (fonts, etc.) than the > > simple book class. You have in Koma an addmargin environment that does > > something similar to hanging. > > Actually, I would have suggested to rather use a description/list > environment or, in the given case, the bibliography environment. But I > understood that Markus is facing a deadline and just wants to have things > fixed. > > Jürgen Thanks for all your suggestions, especially for your help, Jürgen! I did some very ugly hacks like formatting single lines! Terrible! Nevertheless it worked ;-) Thanks again Markus
Re: defining custom font size and indentation
Am Thursday 02 July 2009 10:06:57 schrieb Jürgen Spitzmüller: > Markus Büchele wrote: > > Have you got a clue what needs to be changed? > > Without the sourcefile: no. > > Jürgen Here is the sourcefile (slightly abridged ;-) and my PDF output - by the way, thanks and I'm using Lyx 1.6.2 Markus Problem Bibliographie.lyx Description: application/lyx Problem_Bibliographie.pdf Description: Adobe PDF document
Re: defining custom font size and indentation
Thanks for your comment on macros and environments, Jürgen! Now something strange has happened to my subsection headlines in the sources lists: they are too close to the paragraph before and the font size is too small, but just the ones after the first hanging paragraph! Please find attached 2 sample pages. On page 489 the vertical distances and fontsizes are ok. On page 494 you can see that the headline of subchapter 9.2 is totally wrongly formatted but the following subsubchapter* headline is ok. Other subsubchapter* headlines on the following pages (not in the sample) show the same problem, but only in vertical spacing. Have you got a clue what needs to be changed? Markus Am Wednesday 01 July 2009 21:32:59 schrieb Jürgen Spitzmüller: > Markus Büchele wrote: > > I've contiuend trying and NOW IT WORKS! Not in the first line, though, > > where I put my \begin{footnotesize}. > > The text sizes are macros, not environment. I.e., use \small, > \footnotesize, etc., not \begin{small}, \begin{footnotesize}, etc. > > Put the macro in a separate (Standard) line right above the first line. > > Jürgen sample headlines.pdf Description: Adobe PDF document
Re: defining custom font size and indentation
Yes, I did - well I suppose it's the same as in the German: Dokument -> Einstellungen ... -> Module -> Hängend I've contiuend trying and NOW IT WORKS! Not in the first line, though, where I put my \begin{footnotesize}. But that's not a problem in my case I think I had forgotten to activate it as a document standard. Thanks a lot, Jürgen, you're great and a great help! Markus Am Wednesday 01 July 2009 21:17:09 schrieb Jürgen Spitzmüller: > Markus Büchele wrote: > > "Environment Hangparagraphs undefined." > > > > I appened it at the end of the preamble. > > > > What am I doing wrong? > > Did you add the Hanging module to the list of selected modules in > Document>Settings>Modules? > > Jürgen
Re: defining custom font size and indentation
Thanks Jürgen, \footnotesize worked wonderfully. With your patch, however, I get the error message: "Environment Hangparagraphs undefined." I appened it at the end of the preamble. What am I doing wrong? Thanks a lot Markus Am Wednesday 01 July 2009 20:28:36 schrieb Jürgen Spitzmüller: > Markus Büchele wrote: > > 1st problem: font size > > = > > If I use "\begin{small}", I will only get font size 11. With {tiny} I > > will get 6. How can I get to size 10? > > \footnotesize gives you 10pt at 12pt base size. > > > 2nd problem: indentation > > === > > How can I define a custom format with size 10 and indentation of 0.7cm > > from line 2 on? > > With LyX 1.6: Document>Modules>Hanging. This gives you a Hanging paragraph > style. Add this to your preamble to adjust the hanging value: > > \IfFileExists{hanging.sty}{ >\renewenvironment{hangparagraphs} > {% >\ifthenelse{\lengthtest{\parindent > 0pt}}% > {\setlength{\lyxhang}{\parindent}}% > {\setlength{\lyxhang}{0.7cm}}% >\par\begin{hangparas}{\lyxhang}{1}% > } > {\end{hangparas}} > }{%else >\renewenvironment{hangparagraphs} > {% >\ifthenelse{\lengthtest{\parindent > 0pt}}% > {\setlength{\lyxhang}{\parindent}}% > {\setlength{\lyxhang}{0.7cm}}% >\begin{hangparas}% > } > {\end{hangparas}} >\renewcommand{\hangpara}{\hangindent \lyxhang \hangafter 1 \noindent} >\renewenvironment{hangparas}{\setlength{\parindent}...@} >\everypar={\hangpara}}{\par} > } > > HTH, > Jürgen
defining custom font size and indentation
Hi, I'm having two interconnected problem. My editor wants me to print the text in fontsize 12 (no problem), but the last chapter with the lists of sources in fontsize 10 and this indentation: 0.7 cm XXX XXX 1st problem: font size = If I use "\begin{small}", I will only get font size 11. With {tiny} I will get 6. How can I get to size 10? I tried to define it with the \font comand (see below) but it didn't work. I keep getting error messages. --- in document header: \font\romanten=cmr10 at beginning of bibliography: \romanten [this lets lyx complain] I also need font size 10 in my headline, where I have the same problem as above with font size 11 or 6: \fancyhead[RE]{\small{\scshape \leftmark}} 2nd problem: indentation === How can I define a custom format with size 10 and indentation of 0.7cm from line 2 on? I'd appreciate any help very much. Thank you in advance. Markus
Re: footnote - font size
Jürgen, thank you very much - your patch has solved my problem! Now I can publish it Markus Am Tuesday 23 June 2009 18:15:38 schrieb Jürgen Spitzmüller: > Markus Büchele wrote: > > I am not using KOMA, so this does not work: > > \deffootnote[1em]{1.5em}{1em}{\textsuperscript{\thefootnotemark}} > > > > How do I get rid of the superscript? > > > > I have configured the footnotes with footmisc so far: > > > > \usepackage[hang]{footmisc} > > \setlength{\footnotemargin}{0.7cm} > > \renewcommand{\footnoterule}{} > > Something like the following should help: > > % Redefine footmisc for non-superscripted footnote > \long\d...@makefntext#1{% > \i...@hangfoot > \bgroup > \setb...@tempboxa\hbox{% > \ifdim\footnotemargin>0pt > \...@xt@\footnotemargi...@thefnmark\hss}% > \else > \...@thefnmark > \fi > }% > \leftmargin\...@tempboxa > \rightmargin\z@ > \linewidth \columnwidth > \advance \linewidth -\leftmargin > \parshape \...@ne \leftmargin \linewidth > \footnotesize > \parskip\hangfootparskip\relax > \parindent\hangfootparindent\relax > \...@setpar{{\@@par}}% > \leavevmode > \llap{\b...@tempboxa}% > \else > \parindent1em > \noindent > \ifdim\footnotemargin>\z@ > \...@xt@ \footnotemargin{\h...@thefnmark}% > \else > \ifdim\footnotemargin=\z@ > \lla...@thefnmark}% > \else > \llap{...@xt@ -\footnotemargi...@thefnmark\hss}}% > \fi > \fi > \fi > \footnotelayout#1% > \i...@hangfoot > \par\egroup > \fi > } > > This is jsut a slightly modiefied version of footmisc's footnote > definition. > > HTH, > Jürgen
footnote - font size
Hi, I'm using the book class and cannot get the numbers of footnotes in the footnote lines (not the text) into the following format: normal size, not superscript I am not using KOMA, so this does not work: \deffootnote[1em]{1.5em}{1em}{\textsuperscript{\thefootnotemark}} How do I get rid of the superscript? I have configured the footnotes with footmisc so far: \usepackage[hang]{footmisc} \setlength{\footnotemargin}{0.7cm} \renewcommand{\footnoterule}{} Thanks very much for your help! Markus P.S. Sorry for posting this again, it's the last formatting problem I have with my PhD thesis - I suppose my first attempt on Saturday afternoon was not the most suitable time for immediate replies ;-) - Thanks!
font size of footnote number mark in footnote line
Hi, I'm using the book class and cannot get the numbers of footnotes in the footnote lines (not the text) into the following format: normal size, not superscript As I am not using KOMA this does not work: \deffootnote[1em]{1.5em}{1em}{\textsuperscript{\thefootnotemark}} How do I get rid of the superscript? I have configured the footnotes with footmisc so far: \usepackage[hang]{footmisc} \setlength{\footnotemargin}{0.7cm} \renewcommand{\footnoterule}{} Thanks for your help! Markus
Re: changed indentation for quotations [solved]
Richard, thanks a lot! It worked very well. You're my favourite hecker! ;-) I adapted it to: \renewenvironment{quote} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} \renewenvironment{quotation} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} Cheers and best wishes! Markus Am Freitag, 29. Mai 2009 20:26:58 schrieben Sie: > Markus Büchele wrote: > > Hi, > > > > is there a way to change indentation for quotes and quotations in the > > preamble of a document? I'd need left indentation 0.7cm, right > > indentation 0cm. > > > > All I found was changes inside the document, such as: > > > > \par > > \begingroup > > \leftskip=2cm % ggf. verstellen > > \noindent Langer Text > > \par > > \endgroup > > Weiterer Text > > > > Not a very encouraging option when you need to change about 1,000 > > quotations. > > Exactly what to do depends upon your document class, but the short > version is that you can just \renewenvironment the quote environment by > copying it out of the class and changing it as you see fit. It's just a > list environment. E.g., here are the ones from book.cls: > > \newenvironment{quotation} > {\list{}{\listparindent 1.5em% > \itemindent \listparindent > \rightmargin \leftmargin > \parsep \z@ \...@plus\p@}% > \item\relax} > {\endlist} > \newenvironment{quote} > {\list{}{\rightmargin\leftmargin}% > \item\relax} > {\endlist} > > You could try putting "\setlength\leftmargin{2cm}" in there, and adjust > as need be, e.g.: > \renewenvironment{quote} > {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% > \item\relax} > {\endlist} > Something like that should work. > > Richard
changed indentation for quotations
Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Thanks for your advice. Markus
Re: formatting help needed
Hello Richard, sorry for my long silence - I didn't resolve the issues completely, but I got over an important hurdle. I exported my .lyx-file to a .tex-file. This was the only way, I could get in the "\setlength\parindent{0.7cm}" option. It was quite hard for me because the German umlaut didn't get translated properly. I found out that I had to change the encoding to utf8 to make it work. I also added: \usepackage{fancyhdr} \pagestyle{fancy} The next point I need to solve is the header issue: * page number: font size 12 * left pages: chapter title (right-aligned) in small capitals and font size 10 * right pages: subchapter title (left-aligned) in small capitals and font size 10 header not on first page of chapter At present I get both chapter and subchapter titles in the header so that they overwrite each other and are unreadable. The page number is in the footer and should go up to the header. A second point is the font size (12 and solved ;-) but the line distance should be 14 points. How do I get that? Thanks a lot for your help! Markus Just is case it may help, here is my header of the .tex file: %% LyX 1.6.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[12pt,english,ngerman]{extbook} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} \geometry{verbose,tmargin=3.6cm,bmargin=3.6cm,lmargin=3.5cm,rmargin=3.5cm,headsep=1.2cm,footskip=1.25cm} \usepackage{fancyhdr} \pagestyle{fancy} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{color} \usepackage{array} \usepackage{textcomp} \setlength\parindent{0.7cm} %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \usepackage{babel} \begin{document} Am Donnerstag, 7. Mai 2009 15:03:42 schrieb rgheck: > Markus Büchele wrote: > > Hi Lyx experts, > > > > I have been using LYX for over decade now. It has always been a fantastic > > tool, especially for my PhD thesis. > > > > Unfortunately I have arrived at a dead end just before publication. My > > publisher (Franz Steiner Verlag, Stuttgart, Germany) has very percise > > ideas about the layout of the text and I am unable to adjust to his > > wishes with LYX. > > All of this can be done, probably without too much trouble. > > > Things which need to be adapted are: > > * font in the header, which has to be small capitals instead of capitals > > and a different font size > > I assume here that you mean the page header, or do you mean the chapter > titles? Adjusting the page headers can be done use the fancyhdr package, > and is fairly simple. > http://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html > Adjusting the chapter titles can be done using the titlesec package and > is also fairly simple. > http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/ > We can work out the details. > > > * header (left pages): the word chapter is printed in all chapters in > > German ("Kapitel" which is correct), but in chapter 9 there is "chapter" > > in the header (a bug?) > > Did you have some English in the document somewhere? It seems as if the > language has gotten changed. > > > * space of indentation at the beginning of paragraphs > > In your preamble, put: > \setlength\parindent{2cm} > or whatever it is you need. LaTeX will accept lots of different units, > too. See here: > > http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html >/ltx-86.html for help. > > > * headlines of chapters without the word "chapter" in the headline and > > different font size > > I think this is where you want to use titlesec. > > An alternative might be to switch to use the book (koma-script) class. > The koma-script classes provide for a LOT of customization. > > Richard
Re: formatting help needed
Thanks a lot, Richards and Rich! I'll try to get your advice implemented. If I run into trouble, I'll let you know. Markus Am Donnerstag, 7. Mai 2009 15:03:42 schrieben Sie: > Markus Büchele wrote: > > Hi Lyx experts, > > > > I have been using LYX for over decade now. It has always been a fantastic > > tool, especially for my PhD thesis. > > > > Unfortunately I have arrived at a dead end just before publication. My > > publisher (Franz Steiner Verlag, Stuttgart, Germany) has very percise > > ideas about the layout of the text and I am unable to adjust to his > > wishes with LYX. > > All of this can be done, probably without too much trouble. > > > Things which need to be adapted are: > > * font in the header, which has to be small capitals instead of capitals > > and a different font size > > I assume here that you mean the page header, or do you mean the chapter > titles? Adjusting the page headers can be done use the fancyhdr package, > and is fairly simple. > http://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html > Adjusting the chapter titles can be done using the titlesec package and > is also fairly simple. > http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/ > We can work out the details. > > > * header (left pages): the word chapter is printed in all chapters in > > German ("Kapitel" which is correct), but in chapter 9 there is "chapter" > > in the header (a bug?) > > Did you have some English in the document somewhere? It seems as if the > language has gotten changed. > > > * space of indentation at the beginning of paragraphs > > In your preamble, put: > \setlength\parindent{2cm} > or whatever it is you need. LaTeX will accept lots of different units, > too. See here: > > http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html >/ltx-86.html for help. > > > * headlines of chapters without the word "chapter" in the headline and > > different font size > > I think this is where you want to use titlesec. > > An alternative might be to switch to use the book (koma-script) class. > The koma-script classes provide for a LOT of customization. > > Richard
formatting help needed
Hi Lyx experts, I have been using LYX for over decade now. It has always been a fantastic tool, especially for my PhD thesis. Unfortunately I have arrived at a dead end just before publication. My publisher (Franz Steiner Verlag, Stuttgart, Germany) has very percise ideas about the layout of the text and I am unable to adjust to his wishes with LYX. I could not find a suitable template on the Internet. I don't know how to change parts of the layout beyond the text options. That is why I need help in changing the page layout. I use the template "book (more font sizes)". Things which need to be adapted are: * font in the header, which has to be small capitals instead of capitals and a different font size * header (left pages): the word chapter is printed in all chapters in German ("Kapitel" which is correct), but in chapter 9 there is "chapter" in the header (a bug?) * space of indentation at the beginning of paragraphs * headlines of chapters without the word "chapter" in the headline and different font size If anybody feels able to help, please contact me and I will send you parts of my text and the exact figures so that the changes can be applied to it. If it does not work out well this way, I will have no other choice than to transfer the whole text to M$-word and reformat it there. I'm not an IT specialist, just a poor historian using LYX on Linux. Please help me to prevent that nightmare! Yours, Markus
Re: fun poll: your linux distro
Am Freitag 28 Dezember 2007 23:18:39 schrieb Bob Lounsbury: > Hi, > > I was just curious what everyone is using. If you'd like to respond > that's fine, if not, just ignore the message. Also, could you include > if you're running the latest LyX 1.5.3. Thanks in advance for anyones' > input. > > Cheers and Happy New Year! > Bob Lounsbury Gentoo Linux - Lyx 1.5.1 Markus
Re: hyphenation - German Umlaute in PDF output file
Am Freitag 30 November 2007 23:01:01 schrieb Richard Heck: > Markus Büchele wrote: > > Hi, > > > > I am having one small but annoying problem with LYX. I cannot get my PDF > > output files formated the right way. > > > > If the last word in a line includes an Umlaut (äöü), hyphenation will not > > be done for this word resulting in a tail in the lines in question. > > > > I am using LYX 1.5.1 on a Gentoo system and have these packages installed > > for spell checking: > > > > aspell-0.60.5 > > aspell-de-0.60_pre20030222 > > > > What do I have to tell LYX to separate words including äöü at the right > > letter? > > > > My encoding is utf8. > > > > I would be very grateful for any suggestions. > > Someone who uses multiple languages will know better, but I'd guess that > you may need to mark these words as being in German, if they aren't > already marked that way, or if the default language isn't German. > > Richard Thanks Richard! My default language is German. I tried specifying the language as German - no change. Markus
hyphenation - German Umlaute in PDF output file
Hi, I am having one small but annoying problem with LYX. I cannot get my PDF output files formated the right way. If the last word in a line includes an Umlaut (äöü), hyphenation will not be done for this word resulting in a tail in the lines in question. I am using LYX 1.5.1 on a Gentoo system and have these packages installed for spell checking: aspell-0.60.5 aspell-de-0.60_pre20030222 What do I have to tell LYX to separate words including äöü at the right letter? My encoding is utf8. I would be very grateful for any suggestions. Thank you in advance! Yours, Markus Büchele