为什么`\reversemarginpar`会追溯交换`\todo`命令的边距?

为什么`\reversemarginpar`会追溯交换`\todo`命令的边距?

我使用了\reversemarginparafter \todo,这会导致注释转到错误的边距。我还注意到,如果我将\normalmarginparright放在\reversemarginpar \marginnote{Inner Margin Note}[-1in]todo 注释之后,注释将转到正确的边距。

我注意到的另一件事是,在命令\reversemarginpar之前放置\todo似乎实际上并没有反转边距。这意味着它\reversemarginpar所做的与它应该做的完全相反。

enter image description here

这是我的源代码

\documentclass[notitlepage]{book}
\usepackage[no-math]{fontspec}
\usepackage[a4paper]{geometry}

    \geometry{text = {0.7\paperwidth, 0.8\paperheight}}

    \geometry{twoside=true, showframe=true}

        \geometry{hmarginratio=2:3}

        \geometry{bindingoffset=0pt}

        \geometry{marginparsep=3.5mm, marginparwidth=80pt}

        \geometry{vmarginratio=2:3}

        \geometry{headheight=8pt, headsep=14pt}

        \geometry{footskip=24pt}

\usepackage{marginnote}
\usepackage{marginfix}
\usepackage[svgnames]{xcolor}   

\usepackage{todonotes}



\begin{document}



\newcommand{\todosample}{This text is intended as a sample for todo tests} 



\paragraph{My Paragraph}
This paper proposes an improved single-diode modeling approach for PV modules suitable for a broad range of the PV technologies available today, including modules on tandem cell structures.\todo[color=yellow]{\todosample} After establishing the model (which has an overall of seven parameters), the paper devises a methodology to estimate its parameters using Standard Test Conditions (STC) data, Nominal Operating Cell Temperature (NOCT) data, and temperature coefficients values as provided in most manufacturers' datasheets. Simulation results and their comparison with a previous work show a very accurate prediction of critical points in the current-voltage characteristics curve. The precise prediction happens for both STC and NOCT conditions and the error in predicting maximum power point lies within $1\%$ limit, and the error in its corresponding voltage and current is almost always within $2\%$ limit. Further, for both maximum power point and open-circuit voltage, the statistical variance around manufacturer measurements due to temperature changes is demonstrated to be low for five various module technologies.

\paragraph{My Paragraph}
This paper proposes an improved single-diode modeling approach for PV modules suitable for a broad range of the PV technologies available today, including modules on tandem cell structures. After establishing the model (which has an overall of seven parameters), the paper devises a methodology to estimate its parameters using Standard Test Conditions (STC) data, Nominal Operating Cell Temperature (NOCT) data, \normalmarginpar \marginnote{Outer margin note}  and temperature coefficients values as provided in most manufacturers' datasheets. Simulation results and their comparison with a previous work show a very accurate prediction of critical points in the current-voltage characteristics curve. The precise prediction happens for both STC and NOCT conditions and the error in predicting maximum power point lies within $1\%$ limit, and the error in its corresponding voltage and current is almost always within $2\%$ limit.\reversemarginpar \marginnote{Inner Margin Note}[-1in] Further, for both maximum power point and open-circuit voltage, the statistical variance around manufacturer measurements due to temperature changes is demonstrated to be low for five various module technologies.


\end{document}

相关内容