# Tag Info

57

There is now a package pullquote which allows to create various shapes of inserts. All you have to specify is the text which should "flow" plus some rectangular "object" which is inserted. Everything else is calculated automatically by the environment pullquote. In principle, every shape can be defined by providing an appropriate shape function macro. See ...

53

You need to use the starred version * of the figure environment: \documentclass[twocolumn]{article} \usepackage[showframe]{geometry}% http://ctan.org/pkg/geometry \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage{graphicx}% http://ctan.org/pkg/graphicx \begin{document} \lipsum[1-2] \begin{figure*} ...

44

For table* and figure*, the only available options are t (top of next page) or p (end of document). b and h have been disabled on purpose, there is probably a strong typographical reason behind it. Since you state that the placement on the bottom of the page is "not necessary", I suggest you use the [t] option instead of [b]. Note that the table may ...

43

From the TUG faq: use the starred versions figure* and table*. Unfortunately, they're somewhat limited in positioning. Also, the same solution applies to equations. Just include them in a figure* environment. But I don't recommend doing this: it will look ugly and confusing. For an example, see this paper. (sorry, I couldn't find an example in arXiv)

39

Rather than \columnwidth, the appropriate length to use is \linewidth, which will either be \columnwidth in two-column mode or \textwidth in one-column mode.

39

Use \setlength{\columnsep}{<width>} in the preamble of your document. Changing \columnsep also works if you use the multicol package.

35

I'm not sure about Koma-Script in particular, but I've had reasonably good luck using the flushend package with a variety of conference-provided document classes. The use is pretty simple: \usepackage{flushend} and that's all it takes. There can occasionally be issues with pdf links being broken across columns.

35

Try \columnwidth as a drop-in replacement for \textwidth.

34

I wrote a package pullquote which allows to create circular as well as rectangular inserts. See Two-column text with circular insert.

33

It can be done with a lot of pain and hard labor. Firstly, you will need to build the page manually, like you would an html page. We build the page, in a long single column (effectively) and we position the text blocks absolutely (using the picture environment). You can also use pict2e or tikZ if you are more familiar with them. There is also a package ...

30

The multicol environment is not designed to support column floats. The concept of balancing makes this next to impossible to automatically provide correct results in the general case and therefore I decided not to extend multicolin this direction for 2e. For example, with multicol you can change the number of columns mid-page, how should that reflect on ...

28

use \newpage instead. A twocolumn document is for TeX the same as two half pages side by side

28

The widetext environment changes the formatting from two-column to one-column to better accommodate very long equations that are more easily read when typeset to the full width of the page: \documentclass[twocolumn]{revtex4-1} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{widetext} \[ a + b + c + d + e + f + g + h + i + j + k + l + m + n + o + p ...

25

This should make the trick. Important Note: This is a copy-paste from: I've just tested it \documentclass[twocolumn]{article} ... \begin{document} ... % \author, etc \twocolumn[ \begin{@twocolumnfalse} \maketitle \begin{abstract} ... \end{abstract} \end{@twocolumnfalse} ]

24

(I just learned about this recently:) This can be solved by loading the stfloats package and specifying a figure placement of [bp] as usual. (The p should always be included in case the bottom placement can never be achieved.)

24

For two-columns documents, a semi-manual solution is possible using the wrapfig package. It avoids cluttering the code with ad-hoc material as in Werner’s or Yiannis’ solutions. \documentclass{article} \usepackage{multicol}% for multiple columns \usepackage{wrapfig} \usepackage{calc}% for computations \begin{document} \pagestyle{empty} ...

21

The important issues to handle for such a project would be the handling of floats. Normally photo books or similar documents do not have a large amount of words and if you use floats and marginpars, the text will certainly end up in the wrong place. I would first choose a few page designs and then use minipages or better TeX vbox and hbox primitives to ...

20

The answer is in the listings documentation. \begin{lstlisting}[float=*] ... \end{lstlisting}

19

Try the aligned environment from the amsmath package. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{aligned}[c] wx&=u\\ wy&=v\\ w&=10 \end{aligned} \qquad\Longleftrightarrow\qquad \begin{aligned}[c] x&=u/w\\ y&=v/w\\ \end{aligned} \end{equation*} \end{document}

19

I don't think there are automated approached for this kind of thing in LaTeX. The procedure I've implemented is based on trial-and-error and uses \parshape. Here are the steps I followed: 0. Preliminaries \parshape <n> <i1> <w1> <i2> <w2> ... <in> <wn> The first "argument" to \parshape represents the number of ...

19

The memoir class provides three-column footnotes. In all it provides four kinds of footnote layouts: normal, two-column, three-column, and run together in a single paragraph. \documentclass{memoir} \threecolumnfootnotes \begin{document} \null\vfill% just for the example Some text.\footnote{Author 2001} Some more text.\footnote{Buthor 2002} And some ...

19

Quoting Felici, The complete manual of typography, p. 128: [T]he gutters between columns have to be in tune with both the texture of the type---particularly the leading---and the widths of the margins [...]. The page should appear as a harmonious whole, and the columns should clearly relate to each other to create a sense of their being a unified ...

18

\usepackage{balance} in the beginning of the latex document, and then add \balance somewhere in the left column text of the last page.

18

Use \setlength{\columnseprule}{0.4pt}. EDIT: Obviously, you may freely choose the thickness of the column-separating line. I suggested 0.4pt because standard LaTeX uses this value for rules above footnotes and around fboxes.

17

Apparently, \addtocontents also works with the beamer class. Use \newpage (not \clearpage!) to force a column break. \documentclass{beamer} \usepackage{multicol} \begin{document} \begin{frame}{\contentsname} \begin{multicols}{2} \tableofcontents \end{multicols} \end{frame} \section{bla} \begin{frame}{bla} Some text. \end{frame} \section{blubb} ...

17


16

Use the switch option for the lineno package. \documentclass[twocolumn]{article} \usepackage[switch]{lineno} \usepackage{lipsum} %Creates example text \begin{document} \linenumbers \lipsum[1-20] \end{document}

16

Use the \twocolumn format, then you can use the package supertabular \documentclass[11pt,a4paper]{article} \usepackage{supertabular} \begin{document} \twocolumn \tablehead{Header of first column & Header of second column \\} \begin{supertabular}{ccc} Table cell 1, 1 & Table cell 1, 2 \ Table cell 2, 1 & Table cell 2, 2 \ Table cell 1, 1 ...

16

For multi-column typesetting of listings the listings package provides the multicols=n option, which in fact is a built-in interface to the multicol package. \documentclass{report} \usepackage{listings,multicol} \usepackage{lipsum} \begin{document} \chapter{foo} \lipsum[1] \begin{lstlisting}[numbers=left,xleftmargin=3em, multicols=2] First line. Second ...

16

I recommend you use the twocolumn document class option instead of the multicol package. With the twocolumn option set, you can use figure and table environments to span a single column of text, and figure* and table* environment for floats to span both columns. With the starred environments, do note that you're restricted to placing floats at the top of the ...

Only top voted, non community-wiki answers of a minimum length are eligible