如何扩展页面宽度来处理更宽的边距宽度,同时保持其他所有内容不变?

如何扩展页面宽度来处理更宽的边距宽度,同时保持其他所有内容不变?

我希望能够使用todonotes包,但marginparwidth左右两侧的空间相对较小。可用于边距的空间太小,因此我想增加页面宽度,但不对论文中的任何内容进行任何修改(即,我只需要额外的空间来记录边距注释)。

这些笔记只有我在准备或演讲期间才能看到,而普通观众是看不到的。因此,能够轻松隐藏笔记并恢复观众副本的原始布局至关重要。

在此处输入图片描述

平均能量损失

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

    \geometry{twoside=false, showframe=true}

    \geometry{marginparwidth=75pt}

\usepackage{marginnote}
\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, 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, 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. \todo[color=cyan]{\todosample} 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}

@Steven B. Segletes。我很感谢你的回答。但是,使用 TeXStudio,输出如下

在此处输入图片描述

使用 Overleaf,我得到了正确的输出。为什么会发生这种情况?

答案1

我扩展了\paperwidth\hoffset,从而为更大的marginparwidth规范腾出了空间。

\documentclass[notitlepage]{IEEEtran}
%\usepackage[no-math]{fontspec}
\usepackage{geometry}

    \geometry{twoside=false, showframe=true}

    \geometry{marginparwidth=120pt}

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

\usepackage{todonotes}
\paperwidth=\dimexpr\paperwidth+1in\relax
\hoffset=\dimexpr\hoffset+.5in\relax

\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, 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, 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. \todo[color=cyan]{\todosample} 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}

在此处输入图片描述

相关内容