【问题标题】:Make 1 column from two column environment with LaTeX使用 LaTeX 从两列环境中制作 1 列
【发布时间】:2011-03-17 11:43:46
【问题描述】:

我使用twocolumn 制作文档,但有时twocolumn 太窄而无法列出源代码。

找到multicols环境,使用如下:

% \documentclass[twocolumn]{article} % 我不用双列,而是多列 \documentclass[]{文章} \usepackage{多列} ... \begin{multicols*}{2} \section{简而言之} ... \end{多列*} % 现在我使用一列 \begin{multicols*}{1} ... \end{多列*}

结果不是我想要的。 http://img3.imageshack.us/img3/6239/screenshot20100717at920.png

我的 LaTeX 代码有什么问题?这个案子你怎么办?

我尝试使用figure* 环境,但它只是浮动,所以我宁愿不使用它。

【问题讨论】:

    标签: latex


    【解决方案1】:

    这能满足你的需求吗?

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

    【讨论】:

      【解决方案2】:

      考虑一下:

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

      【讨论】:

      • 此答案不符合要求。在问题中,提出了twocolumn 文档的约束(例如,某些期刊需要)。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-15
      • 1970-01-01
      • 1970-01-01
      • 2021-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多