![todo의 라인이 라인과 일치하지 않습니다](https://rvso.com/image/420044/todo%EC%9D%98%20%EB%9D%BC%EC%9D%B8%EC%9D%B4%20%EB%9D%BC%EC%9D%B8%EA%B3%BC%20%EC%9D%BC%EC%B9%98%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
\todonodes 패키지를 사용하고 싶지만 지금은 레이아웃이 너무 마음에 들지 않습니다. "todo" 줄의 끝이 텍스트와 정렬되지 않습니다. 어떻게 설명해야 좋을지 모르겠습니다. 스크린샷을 참조하세요.
여기 내 코드가 있습니다
\documentclass[
12pt,
a4paper,
headinclude,
footinclude,
listof=totoc,
toc=sectionentrywithdots,
bibliography=totoc
]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[onehalfspacing]{setspace} % 1,5facher Zeilenabstand
\usepackage[a4paper, top=3cm,bottom=3cm,left=4.5cm,right=2cm]{geometry}
\usepackage{graphicx}
\usepackage{parskip} %Abstand zwischen Abständen
\setlength\parindent{0pt} %Einzug neuer Absatz unterbinden
\usepackage[]{acronym} % Abkürzungen
\usepackage{float}
\usepackage[colorinlistoftodos, ngerman]{todonotes}\setlength{\marginparwidth}{3cm}\reversemarginpar
\usepackage{microtype}
%\usepackage{showframe}
%Literaturverzeichnis Pakete + Anpassungen am Erscheinungsbild
\usepackage[
style=authoryear,
autocite=footnote,
maxcitenames=3,
mincitenames=3,
maxbibnames=8,
minbibnames=8,
]{biblatex}
\usepackage[babel, german=guillemets]{csquotes}
\addbibresource{literatur.bib} % Datei mit Literaturverzeichnis
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\finentrypunct}{}
\DeclareFieldFormat[book]{title}{\mkbibquote{#1\isdot}}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareListWrapperFormat{location}{\mkbibparens{#1}}
\DefineBibliographyStrings{german}{
andothers = {et al\adddot},
nodate = {o.J\adddot},
}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\DeclareDelimFormat[bib]{nameyeardelim}{\addcomma\space}
\renewbibmacro*{cite:label}{%
\printtext[bibhyperref]{\printfield{label}}}
\newbibmacro*{cite:labeltitle}{%
\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
\renewbibmacro*{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}}
{\usebibmacro{cite:label}%
\setunit{\printdelim{nonameyeardelim}}}
{\printnames{labelname}%
\setunit{\printdelim{nameyeardelim}}}%
\ifboolexpr{ test {\iffieldundef{labelyear}}
or test {\iffieldequalstr{labelyear}{nodate}}}
{\usebibmacro{cite:labeltitle}}
{\usebibmacro{cite:labeldate+extradate}}}
{\usebibmacro{cite:shorthand}}}
\setlength\bibitemsep{1.5\itemsep}
\begin{document}
\tableofcontents
\setcounter{page}{1}
%Abbilungsverzeichnis und Tabellenverzeichnis einfügen
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\section{Abkürzungsverzeichnis}
\begin{acronym}[Bash]
\acro{JK-FlipFlop}{Jack Kilby FlipFlop}
\end{acronym}
\newpage
%Beginn der Einleitung
\section{Einleitung}
\todo{test}
Das Ziel dieses Assigments ist es, \todo[]{Einleitung überarbeiten} einen synchronen
\end{document}
답변1
글쎄, 내 문제를 발견했습니다.
전문을 별도의 파일로 제외했습니다. 그리고 어떤 이유로 인해 가져오기가 문제를 야기합니다.
내가 사용하는 경우\usepackage[colorinlistoftodos, ngerman]{todonotes}\setlength{\marginparwidth}{3cm}\reversemarginpar내 기본 파일에서 직접 모든 것이 측면에서 작동합니다.