How do I reduce the spacing between the last line of "regular" text and the footer?  I tried increasing \footskip, but instead of moving the footer up, this results in the main text wrapping onto the next page earlier...  \documentclass[fontsize=11pt, paper=letter,       parskip=half, firstfoot=on,]{scrlttr2} \usepackage{lipsum}  %\setlength{\footskip}{4cm} \firstfoot{\centering\emph{(please turn)}} \LoadLetterOption{DIN}  \begin{document}   \begin{letter}{       Foobar\\     }     \setkomavar{subject}{It won't work!}     \opening{Dear Sir or Madam,}     \lipsum     \closing{Yours sincerely,} \end{letter} \end{document}
122612
i have the following formatting problem writing a cover letter, using  scrttr2`. The main text is very long, but as you can see from the given example - there is a lot of unused space. I want the letter fit to one page; for example by reducing the space to the bottom edge.  \documentclass[a4paper,11pt,version=last,ich]{scrlttr2} %Standard: 12 DIV, BOIC 0% \usepackage[utf8]{inputenc} % erkennen von Umlauten % \usepackage[ngerman]{babel} % Silbentrennung nach deutschem Standard % \usepackage{charter} %Schriftart% \KOMAoptions{foldmarks=off,fromrule=false} % die hässlichen Striche am Rand wegmachen % \setkomavar{backaddress}{}  % die Unterstreichung der eigenen Adresse weglassen %  \usepackage{blindtext} \setkomavar{place}{Mars}        % um den Ort hinzuzufügen % \setkomavar{fromname}{Space Cowboy} \setkomavar{fromaddress}{Milkiway 5\\  99999 Town} \renewcommand*{\raggedsignature}{\raggedright} % um die Unterschrift bündig zu machen % % so kann man den Text direkt unter die Anschrift setzen \setlength{\oddsidemargin}{\useplength{toaddrhpos}} \addtolength{\oddsidemargin}{-1in} % in sind inch % % how can i change this - ist there a more elegant way??? \makeatletter \setlength{\@tempskipa}{-12ex}% \@addtoplength{toaddrvpos}{\@tempskipa} \makeatother \makeatletter \setlength{\@tempskipa}{-12ex}% \@addtoplength{refvpos}{\@tempskipa} \makeatother \makeatletter \setlength{\@tempskipa}{12ex}% \@addtoplength{firstfootvpos}{\@tempskipa} \makeatother \begin{document} \begin{letter} { Sausage Shop\\  Recruiting Management\\  Mr Sausage \\ Street 5 \\ 99999 Town\\ } \opening{Dear Mr Sausage,} \blindtext \\ \blindtext  \\ \blindtext \closing{Greets,\\} \setkomavar*{enclseparator}{Anlagen} \encl{Notenspiegel, Excelschein} \end{letter} \end{document}`
120764
Using the command   \newcommand\@makefntext[1]{% \noindent\makebox[.02\columnwidth][l]{\@thefnmark}% \parbox[t]{.98\columnwidth}{#1}}   I got the desired result for the foot notes, as shown in the image below.   I'd like to know if my code is the best way to do this.    edited: using footmisc with the option hang as suggested, the format of the foot number is different so the vertical space around the foot note is changed.
41016
When using fancyhdr, how do you remove the top horizontal rule?  I do not want a header at all, just a footer.  This is what I do now:  \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy}  \lfoot{text} \cfoot{text 2} \rfoot{text 3}  \begin{document} Foo Bar \end{document}
81779
I'm using minipages to keep related questions together on a test that I'm writing. When I make a 2-sided document some of my spacing gets messed up before the section break. It works fine if I leave out the twoside option. What's going on here?  \documentclass[12pt,twoside]{article}   \begin{document}  \section{test} asdf  \section{More test}  \begin{minipage}{\textwidth} text \vspace{7in} \end{minipage}  \end{document}
29940
How can I add horizontal line after header and before footer?   header ---------  --------- footer
8303
I'm using \documentclass[10pt, a4paper]{article} in my TeX file. It all works fine, except, the lower bound of each page is cut off. So some text is either cut off, or at least the text reaches the very end of the page.  Has anyone experienced the same issue?  Here is an minimal working example:  \documentclass[10pt, a4paper]{article}  \usepackage[utf8]{inputenc} \usepackage{ngerman} \usepackage[cm]{fullpage}  \setlength{\headheight}{12.4pt} \setlength{\headsep}{1.5\headheight}  \begin{document}  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f  \section{a}  asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f asdlkjf sakfj saoekfsalk lksa jfsakfsaoel jfsaoelkfj saoeflksad jfoelksaf sadfoelkjsa f   \end{document}
18314
How can I have the following "footnote layout"?  Some Text Some Text Some Text Some Text² Some Text   2 FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT   FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT   My problem is that the footnote text starting with the second line is too far left.  \documentclass{article} \usepackage{blindtext}  \begin{document}     \blindtext\footnote{\blindtext} \end{document}
120383
I have this test file which is supposed to put Hello there. near the top of the page but it does not work in so far as there is still tons of vertical space at top. How can I fix this?  \documentclass{article} \begin{document} \vspace{-10cm} Hello there. \end{document}
13107
I am having trouble typesetting multi-line headers using fancyhdr The header on the first page behaves differently than the header on subsequent pages. The first page header has no depth, but produces a greater vertical displacement on subsequent pages.  Here is a sample tex file to illustrate the difficulty  \documentclass{article}  \usepackage{fancyhdr}  \chead{line 1\\line 2\\line 3\\line 4\\line 5\\line 6\\line 7\\line 8}  \cfoot{footer}  \fancypagestyle{plain}{}  \pagestyle{fancy}  \begin{document} \thispagestyle{fancy} page 1 \newpage page 2 \newpage page 3    \end{document}
117946
during my optimization process I found something spurious I cannot explain to myself and which I would like to understand. So with \fontsize you set the fontsize and the baselineskip. However the behaviour of the second paramater is a bit unclear to me, because if you reduce it too much, at a certain point the baselineskip gets bigger again. Let me show you my example: \documentclass[landscape]{article} \usepackage[margin=1cm]{geometry} \usepackage{lipsum,multicol}  \begin{document} \begin{multicols}{4}     \fontsize{10}{11}\selectfont     \lipsum[1]     \columnbreak          \fontsize{10}{10}\selectfont     \lipsum[1]     \columnbreak          \fontsize{10}{9}\selectfont     \lipsum[1]     \columnbreak          \fontsize{10}{8}\selectfont     \lipsum[1]     \columnbreak \end{multicols} \end{document}  If you compile this, your result will be looking like this:  Now from the first to the third column it seems logic, that the baselineskip is reduced and hence less space is needed vertically to typeset. But with the third column, even though the baselineskip is reduced even further, it needs more vertical space overall. It is strange however, that for example from line 11 to 12 (starting with tus and lum), the spacing seems to be narrower than in column 3, while in a lot of line the spacing is bigger. Changing the baselineskip to lower values down to 0 does not modify the vertical alignment further. What is the purpose of this behaviour and is it intended? I cannot see a benefit of this and I am a bit confused.
13656
This is my code  \documentclass[12pt,a4paper]{book}  \renewcommand{\baselinestretch}{1.5}  \begin{document} \include{Chapter1} \end{document}   I have please a question:   I would change the line spacing (1.5 --> 1.0) of a page inside the document and not the entire document and the size of the words, how can I do please?
60252
I understand that I can control interline spacing in LaTeX in a number of ways. The commands like ,  ,  come in handy in controlling the interline spacing. Each has its own speciality and circumstances of usage, as we can find in these discussions (, , ).  If want to go for a ready made solution for controlling line spacing, packages like  come in quite handy (built-in commands like \onehalfspacing or \setstretch for more finer controls).  Anyway, my problem is a bit different. I have some text (both in paragraph and list mode) which I want to fill up exactly one page. To complicate the scenario, it may even contain equations and graphics. (Let us leave aside floats.)   If I want to solve the problem statically, all I will have to is to play with some value of \baselineskip (or  \setstretch) until satisfied. While this works good for most of the cases, I will have to go through the process again when I want to delete or add some texts.  Would it be possible to have a dynamic value for  \baselineskip or  \setstretch so that my text always fills up one page? (Definitely within reasonable limits.)  Another idea will be to use a number of \vfills between some pieces of texts. But I think that this technique is usable for cover pages only.  I am not putting here an MWE. I think that one is not applicable.    The problem is not a theoretical one, I am preparing some kind of handout which I want to fill-up exactly one page.
75061
When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text paragraph; analogously, the last line of text inside the minipage and the first line of text after the minipage are also closer.  The following MWE illustrates this:  \documentclass{article} \usepackage{lipsum}  \newcommand\Text{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.\textbullet}  \begin{document}  \Text  \noindent\begin{minipage}{\linewidth} \Text \end{minipage}  \Text  \end{document}   How can I guarantee a constant baseline-skip even if minipages (or \parboxes) are used?
18676
I just edited an answer on Unix&amp;Linux and when scrolling down, the semi-transparent right sidebar boxes "How to edit" and "How to format" kept their fixed positioning and overlapped with the page footer.     While posting this, I have seen several (not) duplicate questions about this issue, and although from my personal taste, I would prefer the boxes to stop scrolling before the footer is reached, I can accept the development teams decision to let it overlap.   However, on all those other posts, the boxes had an opaque background, so that the footer was hidden and the box content was readable. Here the boxes are transparent though, so the texts get mixed and are no longer well readable.
117481
The spacing between the 3rd and 4th stars is non-existent. Anyone know what's up?    \documentclass[11pt]{article}  \usepackage{amsmath}  \begin{document}  \begin{gather*} \star\star\star\star \\ \star\star\star\,\star \\ \star\star\star\star\star \end{gather*}  \end{document}
83994
I noticed an unexpected different line spacing of the titlepage what drives me crazy. The left page is the MWE, the right page without the \\ in front of Name.  \documentclass{scrartcl}  \begin{document}  \centering \Huge \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} \vspace{\baselineskip}\\ \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} {\rmfamily\Large \vspace{5\baselineskip}\\Name}  \end{document}     Any idea what causes this? Thanks alot!  Cheers, Stephan
86661
I am using KOMA-script scrreprt class.  I know I can use \usepackage{parskip} or \setlength{\parskip}{12pt}, but both of these also affect headings.  Adding \vspace{12pt} manually between all two sequential paragraphs seems to work, but that's anything but convenient. Is there a way to automate it?