我想在 APS LaTeX 模板的 widetext 环境中使用 tcolorbox,但是环境中的 tcolorbox 显示为两列,而不是一列。我该如何解决这个问题?
这是我的 MWE:
\documentclass[reprint,amssymb,aps]{revtex4-2}
\usepackage{tcolorbox}
\begin{document}
\preprint{APS/123-QED}
\title{NEGF Method Report}
\author{Axia}
\date{\today}
\begin{abstract}
A derivation to the article ``Time-dependent transport in interacting and noninteracting resonant-tunneling systems'' which has been published in 1994 on PRB. This article especially introduced the NEGF method.
\end{abstract}
\maketitle
\section{Introduction}
\section{APPLICABILITY TO EXPERIMENTS}
\section{THEORETICAL TOOLS AND THE MODEL}
\subsection{Baym-Kadanoff-Keldysh nonequilibrium techniques}
\begin{widetext}
\begin{tcolorbox}
\end{tcolorbox}
\end{widetext}
\end{document}
答案1
默认情况下,tcolorbox
使用\columnwidth
。只需指定您想要的\textwidth
即可。
\documentclass[reprint,amssymb,aps]{revtex4-2}
\usepackage{tcolorbox}
\usepackage{lipsum}
\begin{document}
\preprint{APS/123-QED}
\title{NEGF Method Report}
\author{Axia}
\date{\today}
\begin{abstract}
A derivation to the article ``Time-dependent transport in interacting
and noninteracting resonant-tunneling systems'' which has been published
in 1994 on PRB. This article especially introduced the NEGF method.
\end{abstract}
\maketitle
\section{Introduction}
\lipsum[1]
\section{APPLICABILITY TO EXPERIMENTS}
\lipsum[2]
\section{THEORETICAL TOOLS AND THE MODEL}
\lipsum[3]
\subsection{Baym-Kadanoff-Keldysh nonequilibrium techniques}
\lipsum[1][1-3]
\begin{widetext}
\begin{tcolorbox}[width=\textwidth]
\lipsum[1][1-3]
\end{tcolorbox}
\end{widetext}
\lipsum
\end{document}
我填充了一些lipsum文字只是为了让图片更加逼真。