2010-07-18 6 views
2

twocolumn으로 문서를 만듭니다. 그러나 때때로 twocolumn은 소스 코드가 너무 좁습니다. LaTeX로 두 개의 열 환경에서 1 열을 만듭니다.

은 내가 multicols 환경을 발견하고 다음과 같이 사용 :

 
% \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*} 

결과는 내가 원한 것이 아니다. http://img3.imageshack.us/img3/6239/screenshot20100717at920.png

LaTeX 코드의 문제점은 무엇입니까? 이 사건에 대해 당신은 무엇을합니까?

나는 figure* 환경을 사용하려고했지만 주변에 떠 다니므로 차라리 사용하지 않을 것입니다.

답변

3

원하는 것을 제공합니까?

\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} 
-1

이를 고려

\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} 
+4

이 답변이 호환되지 않습니다. 이 질문에는 (예를 들어, 일부 저널에 대해 필요한) 'twocolumn'문서의 제약 조건이 적용됩니다. – Acorbe

관련 문제