Hot answers tagged

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}
David Carlisle's user avatar
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]{...
gernot's user avatar
  • 48.6k
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: \...
Elad Den's user avatar
  • 3,911
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 ...
Fran's user avatar
  • 79.4k
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
  • 270k
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
  • 597k
7 votes

How to create a double-side printable report?

\documentclass[12pt,openright, twoside]{report}
Rebecca's user avatar
  • 1,189
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
  • 597k
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
  • 597k
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 ...
Bunji's user avatar
  • 620
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
  • 27.8k
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} ...
egreg's user avatar
  • 1.1m
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,251
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

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
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
  • 293k
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

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
  • 5,864
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 ...
Peter Wilson's user avatar
  • 27.8k
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
  • 495k
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,391
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

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,229
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 \...
David Carlisle's user avatar
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
  • 20k

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