TeX - LaTeX Asked by Riboswitch on December 9, 2020
if this question has already been asked, just let me know!
I seperated a big document into smaller files and my table of content displays "contents" as the first entry and I want to delete it. I also have a draft watermark in my whole document without using zhe package for it? Heres a MWE
documentclass[11pt,a4paper]{article}
usepackage{pdfpages}
usepackage{lipsum}
usepackage{setspace}
usepackage{import}
usepackage{tabularx}
usepackage{booktabs}
usepackage{bbding}
usepackage{csvsimple}
usepackage[english]{babel}
usepackage{wrapfig}
usepackage{subcaption}
usepackage{amsmath}
usepackage{graphicx}
usepackage{transparent}
usepackage{background}
usepackage{mathpazo}
usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex}
usepackage{tocbibind}
usepackage[demo,export]{adjustbox}
usepackage[normalem]{ulem}
usepackage{xcolor}
usepackage{arydshln}
usepackage{subfiles}
bibliography{references.bib}
addbibresource{references.bib}
begin{document}
setstretch{1.5}
%titlepage
import{./}{Titlepage.tex}
includepdf{something.pdf}
%Acknolwedgements
import{./}{Acknowledgements.tex}
thispagestyle{empty}
pagebreak
%Abstract
import{./}{Abstract.tex}
thispagestyle{empty}
pagebreak
%Table of contents
thispagestyle{empty}
tableofcontents
thispagestyle{empty}
pagebreak
setcounter{page}{1}
import{./}{Introduction.tex}
%Methods
import{./}{Material.tex}
%Results
import{./}{Results.tex}
%Diskussion
import{./}{Discussion.tex}
%bibliography
printbibliography
end{document}
Here’s the code of the titlepage that has been added into the mainfile:
% !TEX root = Mainfile.tex
begin{titlepage}
begin{center}
textbf{huge Title}
vfill
text hfill
medskip
Name
vfill
WG
medskip
Professor
vfill
includegraphics[scale=0.1]{logo.png}
vfill
textbf{date}
end{center}
end{titlepage}
You have used the tocbibind
package which automatically adds the titles of the ToC, LoF, LoT, Bibliography and Index to the ToC listing. It can do some other things as well. There are package options to switch off these. To not add the ToC title to the ToC listing:
usepackage[nottoc]{tocbibind}
To not add the ToC, LoF, LoT and Index titles to the ToC listing:
usepackage[nottoc,notlof,notlot,notindex]{tocbibind}
Read the manual (> texdoc tocbibind
) for more information.
Answered by Peter Wilson on December 9, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP