30
votes
Accepted
How to change a thickness of a hrule?
The latex syntax is \rule not \hrule but if you want to use \hrule then
\hrule height 2cm
should work. The latex syntax would be
\begin{center}
\rule{\textwidth}{2cm}
\end{center}
16
votes
Accepted
Adding supervisor to report
If all you want is to add the advisor, just add it to the author, like
\author{It's me\\[1cm]{\small Advisor: A.D.Visor}}
\documentclass[10pt]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{...
10
votes
Accepted
Multiple footnotes using symbols produces error: "counter too large"
The problem is that LaTeX provides 9 symbols when using symbol option, therefore it produces an error if you count higher. The simplest solution would be to reset the counter when you reach 9:
\...
9
votes
Accepted
how add bibliography to a LYX report
Basic bibliography:
At the end of your text, select Bibliography in the left drop down menu.
Optional: Click the key-1[] gray box to add a label if you want a author-year citation style, as it should ...
8
votes
How to add some negative vertical space before a chapter title?
If you want to re-define the whole layout of chapter headings, you can use titlesec and its \titlespacing command. If you just want to change the vertical spacing, it's easy with xpatch:
\...
8
votes
Abstract not showing up, even when using \maketitle
You need to define the components associated with a title in order to properly use \maketitle. Once that's done, the abstract will set with the rest of the title components:
\documentclass{amsart}
\...
7
votes
7
votes
problem with placing a figure on the bottom of the chapter page
While TeX does some funny business in placing floats, it's mostly sequential in its transition from input to output.
If the placement of
\begin{figure}[!b]
% Your figure here
\end{figure}
is too ...
7
votes
Accepted
How to add some negative vertical space before a chapter title?
\chapter issues a \clearpage to start on a new page, and the insertion of a \vspace*, while necessary, inserts content that is sufficient for the \clearpage to be realised. We can avoid this by ...
7
votes
Accepted
Adding the hyperref packages causes errors
I fixed this by deleting all auxiliary files, adding the line
\def\MakeUppercaseUnsupportedInPdfStrings{\scshape}
immediately after the document class, and recompiling. Evidently there was a conflict ...
7
votes
Accepted
What standard of typography and document structure LaTeX report class is based on?
None of what you described is specific to LaTeX.
In particular your third and fourth items (roman page numbering of the front material (then arabic for the main work) and index at the end) are the ...
6
votes
Accepted
Multiple references to same footnotes in memoir with cleveref and french babel
The French module for babel does some changes to the footnote management and, apparently, this breaks the cooperation between memoir, hyperref and cleveref.
Add
\frenchbsetup{FrenchFootnotes=false}
...
6
votes
Accepted
Adding disclaimer page to document
Since you probably need this just once why not simply
\documentclass[ngerman,12pt,a4paper]{report}
\begin{document}
\begin{titlepage}
\end{titlepage}
\textbf{Disclaimer}
\vspace{0.2in} % if you ...
6
votes
Set color to hyperlink except in the Table of Contents
There are many ways to achieve this, one way which
preserves the capability to click the links
allows coloured links before the table of contents
is to use { \hypersetup{hidelinks} \...
6
votes
Accepted
Using conditionals to ignore command does not work
Usual problem with skipping over conditionals. If the outer condition is false then Tex will be skipping over this
\patchcmd{\slideentry}{\ifnum#2>0}{\ifnum2>0}{
so it will not expand \...
6
votes
Accepted
Automatically control spacing between paragraphs in a report class
space between paragraphs is determined by \parskip. in preamble change its default value with:
\setlength\parskip{2.5em}% it would be better define distance in ex (5ex)
% ...
6
votes
Accepted
Writing report in Winedt: Forced to use "Erase Output Files" after each mistake
This will happen if you kill the compilation by clicking on some x icon, e.g. the red one here or the one in the top right:
Instead of doing this type x on your keyboard and hit enter. This ...
6
votes
I cannot seem to understand why my image is not generating when I compile my latex document
LaTeX's float mechanism is partly disabled in multicols. So you can use \captionof.
\documentclass{article}
\usepackage{showframe}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{multicol}
\...
5
votes
Need urgently assistance in LaTeX - unable to change the document class without totally blowing my thesis
You need some additional memoir options:
\documentclass[a4paper,11pt,leqno,openbib,oneside,openany]{memoir}
The oneside option will keep the layout of each page the same. The openany option will let ...
5
votes
Accepted
Suppress "Part" in report
Just redefining \partname to do nothing is not sufficient, because of the space inserted between the part name and the number, which is not suppressed.
A kludge is to redefine \partname to gobble the ...
5
votes
Using conditionals to ignore command does not work
When skipping tokens in an unused branch of a conditional, TeX still keeps track of conditionals, so when \iftargetBeamer is false, the two \ifnum are paired with the only two \fi tokens you provide.
...
5
votes
Accepted
How do I reduce spacing between chapter title and first section?
I assume that if you want to reduce the space between the (numbered) chapter header and the following section header, you also want to reduce the space between the lines that contain the chapter ...
5
votes
Accepted
Spacing between bullet points
One approach is as follows, if you are thinking of a single list (else change itemsep globally):
\documentclass[11pt]{article}
\begin{document}
% default
\begin{itemize}
\item first item
\item ...
5
votes
Accepted
Dynamically count words in chapter and insert word count at start of chapter
Assuming the file count.tex is not created, it may be that the command in \write18 is not run, so you might want to ensure that you are actually running TeXcount.
First, for \write18 to execute, ...
5
votes
Accepted
Change style of chapter title
Elaborating @Bernard comments, use titlesec package for formatting titles of chapters.
I give you a full example.
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\...
4
votes
Remove automatic page break after paragraph
The posted code does not produce the image shown (example phrase comes on the next line) Nor does it allow a page break, the code below shows
If you reduce the page height by one line, by changing
\...
4
votes
Accepted
Report with Chapters Starting on Odd Pages with Equal Margins in all Pages and NO GEOMETRY
You could try to change the twoside switch later so that it doesn't affect the layout:
\documentclass[openright]{report}
\makeatletter\@twosidetrue\makeatother
\usepackage[utf8]{inputenc}
\usepackage[...
4
votes
Customizing the Table of Contents
All i take from the image: A centered title, chapter numbers (if any) on the left, then the titles, and the page numbers on the right.
\documentclass{report}
\usepackage[indentunnumbered]{...
Community wiki
4
votes
Accepted
How to make text / section heading after chapter same space
Here is a way:
\documentclass[a4paper,10pt]{report}
\usepackage[utf8]{inputenc}
% Title Page
\title{}
\author{}
\def\reducespace{\vspace*{-15pt}}
\let\oldchapter\chapter
\makeatletter
\def\chapter{...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
report × 389table-of-contents × 54
chapters × 54
sectioning × 32
thesis × 30
titles × 28
header-footer × 26
numbering × 26
fancyhdr × 20
page-numbering × 19
bibliographies × 16
document-classes × 15
article × 15
formatting × 14
titlesec × 13
hyperref × 12
appendices × 12
tables × 11
spacing × 11
page-breaking × 11
double-sided × 10
abstract × 10
templates × 9
biblatex × 8
graphics × 8