Сделайте 1 столбец из двухколоночной среды с помощью LaTeX - PullRequest
2 голосов
/ 18 июля 2010

Я делаю документ с twocolumn, но иногда twocolumn слишком узок для перечисления исходного кода.

Я нашел среду 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* среду, но она просто плавает вокруг, поэтому я бы не стал ее использовать.

Ответы [ 2 ]

2 голосов
/ 18 июля 2010

Это дает вам то, что вы хотите?

\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}
0 голосов
/ 22 марта 2012

Учтите это:

\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}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...