Johannes_B hat geschrieben:Entscheidest du auch, ob dein Auto in die Werkstatt muss oder ob eine grobe Beschreibung reicht?
setcounter{tocdepth}{0}
Ich spezifiziere das kurz:
Ich will nur die Unterkategorien bei der Einleitung im Inhaltsverzeichnis ausblenden, nicht aber bei den weiteren sections.
Okay, hier der Code aus meiner Präambel:
%%LAYOUT SETTINGS
\documentclass[a4paper, BCOR5mm,12pt, headsepline, DIV=calc, bibliography=totoc]{scrartcl}
\usepackage{setspace}
\usepackage[automark, autooneside]{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\ihead{\textnormal{\textbf{{\headmark}}}}
\ohead{\pagemark}
\usepackage[a4paper]{geometry}
\geometry{left=2.5cm, right=1.5cm, top=3cm, bottom=3cm} %if you need special page settings
\usepackage{float}
\usepackage{caption}
%%LANGUAGE SETTINGS
%%
\usepackage[T1]{fontenc} %makes the input become european standard confirm
\usepackage[utf8]{inputenc} %let me input in utf8
\usepackage[english]{babel} %new german spelling
%
%%BIBLIOGRAPHY SETTINGS
%%
\usepackage[babel,english]{csquotes} %advanced spelling
\usepackage[style=authoryear-icomp, dashed=false, backend=biber, minbibnames=1, maxbibnames=10,mincitenames=1, maxcitenames=1, uniquename=init, ibidtracker=false, firstinits=true, url=true]{biblatex} %get my citation style, bibtex instead of bibtexu %cause bibtexu instable backend
\addbibresource{bibliography/Bibliography.bib}
\providecommand{\mycite}{\cite}
%
%%FONT SETTINGS
%%
\usepackage{fix-cm}
%
%%TABLE SETTINGS
%%
\usepackage{multirow}
\usepackage{longtable}
\usepackage{booktabs}
\captionsetup[table]{font=small}
\captionsetup[table]{labelfont=bf}
\renewcaptionname{english}{\tablename}{Table}
\makeatletter
\g@addto@macro\appendix{\renewcommand*{\thetable}{S\arabic{table}}\setcounter{table}{0}}
\makeatother
%
%%GRAPIC SETTINGS
%%
\usepackage{graphicx}
\usepackage{rotating}
\captionsetup[figure]{font=small}
\captionsetup[figure]{labelfont=bf}
\renewcaptionname{english}{\figurename}{Fig.}
\makeatletter
\g@addto@macro\appendix{\renewcommand*{\thefigure}{S\arabic{figure}}\setcounter{figure}{0}}
\makeatother
\usepackage{subfigure}
\renewcommand\thesubfigure{ \Alph{subfigure}}
%
%%UNIT SETTINGS
%%
\usepackage[detect-all]{siunitx} %atm not uses
\usepackage{mhchem}
%
%%NUMBERING SETTINGS
%%
%\usepackage{chngcntr}
%\counterwithout{figure}{chapter}
%\counterwithout{table}{chapter}
%
%%SPECIAL COMMANDS
%%
\newcommand{\species}[1]{\textsl{#1}}
\newcommand{\statistics}[1]{\textup{#1}}
\newcommand{\tbnote}[1]{\small{#1}}
%
%%OTHER SETTINGS
%%
%\includeonly{includes/discussion}
%
\usepackage[hidelinks, raiselinks]{hyperref}
sections und subsections werden mit den gängigen Commands angezeigt!