Skip to main content
32 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}
David Carlisle's user avatar
15 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]{...
gernot's user avatar
  • 50k
11 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: \...
Elad Den's user avatar
  • 3,971
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} \...
Werner's user avatar
  • 607k
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: \...
Bernard's user avatar
  • 273k
8 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 ...
Bunji's user avatar
  • 672
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 ...
Werner's user avatar
  • 607k
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 ...
Werner's user avatar
  • 607k
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 ...
Peter Wilson's user avatar
  • 28.3k
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 \...
David Carlisle's user avatar
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} \...
samcarter_is_at_topanswers.xyz's user avatar
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 ...
Ethan Bolker's user avatar
  • 9,423
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) % ...
Zarko's user avatar
  • 300k
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 ...
Ulrike Fischer's user avatar
6 votes
Accepted

Increasing section number independent of chapter

Just try \counterwithout{section}{chapter} In your preamble
Mane32's user avatar
  • 2,319
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 ...
egreg's user avatar
  • 1.1m
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. ...
egreg's user avatar
  • 1.1m
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 ...
Mico's user avatar
  • 514k
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 ...
John's user avatar
  • 2,400
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, ...
Einar Rødland's user avatar
5 votes
Accepted

\pagenumbering{roman} prints uppercase roman numbers in report class

It's not actually an uppercase roman numeral, but a small caps roman numeral. This feature is triggered by the spanish babel. The following is enough to reproduce the issue: \documentclass{article} \...
Phelype Oleinik's user avatar
5 votes

What standard of typography and document structure LaTeX report class is based on?

These features have been traditional in mathematical publications since, quite literally, the 19th century. Two references for such material are these, published by the American Mathematical Society: ...
barbara beeton's user avatar
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} \...
mmr's user avatar
  • 2,249
5 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} \...
Clara's user avatar
  • 6,017
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[...
Ulrike Fischer's user avatar
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]{...
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{...
koleygr's user avatar
  • 20.2k
4 votes
Accepted

Gap between two side by side images

There's no gap between images. The gap is due to the size of each image inside every subfigure. In Gonzalo's answer, every subfigure occupies half text line, but the image inside every subfigure only ...
Ignasi's user avatar
  • 137k
4 votes
Accepted

Misplaced \no align error

The problem is that also \justify needs \arraybackslash. But you can better do the other way around: define justification for the cells and override it for the headers. \documentclass[a4paper,11pt]{...
egreg's user avatar
  • 1.1m

Only top scored, non community-wiki answers of a minimum length are eligible