使用LaTeX从两列环境制作1列

使用LaTeX从两列环境制作1列,latex,Latex,我用twoocolumn制作文档,但有时twoocolumn对于源代码列表来说太窄了 我找到了multicol环境,并按如下方式使用它: % \documentclass[twocolumn]{article} % I don't use towcolumn, but multicolumn \documentclass[]{article} \usepackage{multicol} ... \begin{multicols*}{2} \section{In short} ... \end{

我用
twoocolumn
制作文档,但有时
twoocolumn
对于源代码列表来说太窄了

我找到了
multicol
环境,并按如下方式使用它:

% \documentclass[twocolumn]{article} % I don't use towcolumn, but multicolumn \documentclass[]{article} \usepackage{multicol} ... \begin{multicols*}{2} \section{In short} ... \end{multicols*} % Now I use one column \begin{multicols*}{1} ... \end{multicols*} %\documentclass[twocolumn]{article}%I不使用towcolumn,而是使用multicolumn \documentclass[]{article} \usepackage{multicl} ... \开始{multicols*}{2} \第{简言之}节 ... \结束{multicols*} %现在我使用一列 \开始{multicols*}{1} ... \结束{multicols*} 结果不是我想要的。

我的乳胶代码怎么了?你对这个案子怎么办


我尝试使用
图*
环境,但它只是四处浮动,所以我不想使用它。

这能满足您的需要吗

\documentclass[]{article}
\usepackage{multicol}

\begin{document}

\begin{multicols}{2}

\section{In short}
double column text here. .double column text here. . . 
double column text here. . . 
double column text here. . . 
double column text here. . . 
 . 

\end{multicols}

% Now I use one column

% don't put any multicol command here, you're in outer
% single column document already

put single column text here. put single column text here. 
put single column text here. put single column text here. 
put single column text here. put single column text here. 
. . . 

\begin{multicols}{2}

\section{In short}
double column text here. . . 
double column text here. . . 
double column text here. . . 
double column text here. . . 
double column text here. . . 

\end{multicols}

\end{document}
考虑这一点:

\documentclass[]{article}

% no special package required

%%%%%%%%%%%

\begin{document}

normal text normal text

\begin{columns}[c]      %%%% [t] top vertical alignment or [c] vertical center alignment

\begin{column}{.45\textwidth}
Text in the first column
\huge \sc Mart\'in jim\'enez.
\end{column} 

\begin{column}{.45\textwidth} 
text in the second column
\end{column}

\end{columns}

Normal text normal text

\end{document}

这个答案是不符合的。在这个问题中,对
twoocolumn
文档(如某些期刊需要)进行了约束。