ich habe ein Problem, dass ich trotz viel probieren nicht lösen kann:
Ich nutze eine Vorlage meiner Uni. Darin wird auch das todonotes package eingebunden. \todo{} erscheint auch als orangene Box, wie es soll. Nur verlaufen die Linien zur Textstelle in die falsche Richtung (siehe Foto).
Ich habe alle möglichen sachen in einer Kopie auskommentiert. In einem Minimalbeispiel ging es einmal als ich das Inhaltsverzeichnis auskommentiert habe, ein anderes mal ging es als ich folgende Zeile auskommentiert habe:
\renewcommand*{\chapterpagestyle}{scrheadings}
Das MB ist bisschen umfangreich, aber es muss an einem der Pakete liegen, weil es funktioniert, wenn man nur das todonotes einbindet.
Vielen Dank!!!!
(alt+p)
\documentclass[oneside]{scrreprt} \usepackage{pgfplots} \pgfplotsset{compat=newest} \KOMAoption{paper}{a4} \KOMAoption{BCOR}{20mm} \KOMAoption{DIV}{14} \KOMAoption{headings}{openany} \KOMAoption{headings}{normal} \KOMAoption{fontsize}{12pt} \KOMAoption{headlines}{1.25} \recalctypearea \KOMAoption{chapterprefix}{false} \KOMAoption{appendixprefix}{true} \KOMAoption{titlepage}{true} \usepackage[headsepline,footsepline]{scrpage2} \clearscrheadfoot \ohead[\pagemark]{ \pagemark} \pagestyle{scrheadings} \chead{Title} \ihead{Name} \cfoot{Title} \renewcommand*{\chapterpagestyle}{scrheadings} \setlength{\skip\footins}{5mm} \addtokomafont{pagefoot}{\linespread{2}\selectfont} \KOMAoption{parskip}{half-} \KOMAoption{cleardoublepage}{empty} \KOMAoption{numbers}{autoenddot} \recalctypearea \KOMAoption{toc}{listof} \KOMAoption{toc}{bibliography} \setcounter{tocdepth}{2} \KOMAoption{bibliography}{oldstyle} \bibliographystyle{abbrvdin} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[USenglish]{translator} \usepackage{upgreek} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsbsy} \usepackage{amssymb} \usepackage{array} \usepackage{pdfpages} \usepackage{subfigure} \usepackage{graphicx} \usepackage{booktabs} \usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black] {hyperref} \usepackage{datatool} \usepackage[nonumberlist,toc,style=long3colheader,nomain,acronymlists={var,abk}]{glossaries} \usepackage{txfonts} \usepackage{multirow} \usepackage{listings} \KOMAoption{draft}{true} \usepackage{xcolor} \usepackage[textsize=tiny]{todonotes} \selectlanguage{english} \usepackage[printonlyused,withpage]{acronym} \begin{document} \pagenumbering{roman} \tableofcontents \pagenumbering{arabic} \setcounter{page}{1} \chapter{Test1} \section{Test2} \paragraph{Test3} The lowest level is the primitives-level, to which text-based programming mostly belongs to. On the primitives-level, the most elementary functions of the robot are available to the user. Programms are written from the robots point of view, according to its capabilities. The created programs are heavily platform-dependant \cite{} and can only laboriously be transferred to other robot-types. Nevertheless, the primitive-level gives the user the highest degree of freedom and is the most\todo{mostly} used level to program robots. Even though it requires experts to deploy or reprogram a robot, since the complexity and scale of development tools overwhelm most non-expert users. \end{document}