Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

\setlength{\columnseprule}{0.4pt} with the multicol package does not work. The beamer guide does not discuss this case for their columns environment...

To be clear this is what I want

###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######
###### | ###### | ######

share|improve this question
    
Looks kike a job for a tabular? –  Tom Bombadil Aug 21 '11 at 9:52
    
Ok, from my example I agree it looks that way, but my example is butchered by the fact I do not know yet how to insert line breaks here. Sorry. I only wanted to draw 3 columns... –  MTAL Aug 21 '11 at 10:24
    
Also, I need it in the columns environment so I can use beamerposter's blocks inside the columns. –  MTAL Aug 21 '11 at 10:25
    
@MTAL: If you want to force a line break, you need to end the line with two spaces before pressing enter. And for some reason, if a line starts with a # you need to put a space before it, otherwise it gets gobbled. –  Jake Aug 21 '11 at 10:30

1 Answer 1

Could you please provide a minimal working example? The reason is that it works for me:

\documentclass{beamer}
\usepackage{multicol}
\usetheme{Darmstadt}

\newcommand{\sometext}{{\footnotesize Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore }}

\setlength{\columnseprule}{0.4pt}

\begin{document}
    \begin{frame}
    \frametitle{3 columns}
        \begin{multicols}{3}
         \sometext\sometext\sometext\sometext\sometext\sometext\sometext
        \end{multicols}
    \end{frame}     
\end{document}

creates this:

enter image description here

EDIT: Oh, I totally overlooked the beamerposter. Thats why a MWE would have been nice, no forgetting upon Ctrl + C and inserting in my editor ;)

But anyway, it still works for me:

\documentclass{beamer}
\usepackage{multicol}
\usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter}
\usepackage{tikz}
\usetheme{Darmstadt}

\newcommand{\sometext}
{Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
}

\newcommand{\moretext}[1]
{   \foreach \x in {1,2,...,#1}
    {   \sometext
    }
}

\setlength{\columnseprule}{0.4pt}

\begin{document}
    \begin{frame}
    \frametitle{3 columns}
        \begin{multicols}{3}
            \moretext{7}
        \end{multicols}
    \end{frame}     
\end{document}

produces this:

enter image description here

share|improve this answer
    
Yes, it seems to work in beamer. But when I try to use it in my beamerposter template, things go crazy. –  MTAL Aug 23 '11 at 9:58
    
I'll try some more variations, and if I get something working I'll get back to you. –  MTAL Aug 23 '11 at 9:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.