我正在使用 TeXShop(Mac 上的 3.77)撰写一篇双栏文章,并想插入一个由三个并排的短段落组成的单栏插页。(我不想切换到完整的三栏样式,因为我想将此插页放置得像一个图形。)
就这一点而言,以下代码运行良好:
\begin{figure*}[ht]
\begin{center}
\color{mygray}{\sc IN BRIEF}\color{black} \\[.1cm]
\begin{minipage}[t]{1.9in} {\bf Here} is my first text, which will be several lines long
\end{minipage}\quad
\begin{minipage}[t]{1.9in} {\bf Here} is my second text, which will be several lines long
\end{minipage}\quad
\begin{minipage}[t]{1.9in} {\bf Here} is my third text, which will be several lines long \end{minipage}
\end{center}
\end{figure*}
但是,我想将所有文本都包含在一个框中,例如框架框,但事实证明这相当困难。我尝试先创建框架框,然后将上述代码插入其中(但没有成功),同样地,我创建了 {figure*} 环境并将框架框插入其中(同样没有成功)。
作为一个小小的补充,我还想将框架框渲染为灰色(而不是黑色)。
答案1
\documentclass[landscape]{article}
\usepackage{color}
\definecolor{mygray}{rgb}{0.7,0.7,0.7}
\addtolength\textwidth{100pt}
\begin{document}
\begin{figure*}[ht]
\centering
\setlength\fboxrule{3pt}
\color{mygray}\textsc{IN BRIEF}\color{black} \\[.1cm]
\fcolorbox{mygray}{white}{\begin{minipage}[t]{1.9in}
\textbf{Here} is my first text, which will be several lines long
\end{minipage}\quad
\begin{minipage}[t]{1.9in}
\textbf{Here} is my second text, which will be several lines long
\end{minipage}\quad
\begin{minipage}[t]{1.9in}
\textbf{Here} is my third text, which will be several lines long
\end{minipage}}
\end{figure*}
\end{document}