# Tag Info

54

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 ...

38

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.

38

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)

34

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*} ...

33

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

32

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

32

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

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 ...

30

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

25

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

25

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 ...

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

23

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.

22

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 ...

20

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

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 ...

19

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

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

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 ...

17

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

17


17

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

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}

16

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.

16

(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.)

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 ...

15

This isn't too smart about multi-line interruptions near a page break, or interruptions too close together. Commented out you will see some code that records the vertical start and end positions in a .pos file at the end of the run, this could be used on a later pass to automatically move things around but that gets tricky and unstable, and possibly for ...

15

Package multicol \columnseprule only works inside environment multicols: \documentclass{article}% \usepackage{lipsum} \usepackage{multicol} \usepackage{color} \setlength{\columnseprule}{1pt} \renewcommand{\columnseprulecolor}{\color{red}} \begin{document} \begin{multicols}{2} \lipsum[1-5] \end{multicols} \end{document} LaTeX without package ...

15

The routine is described by Knuth in Appendix E: Example Formats, page 417. The macros were used for two-column formatting of Appendix I, the index. The algorithm is not to difficult to follow. Everything is placed in a tall box of a width equal to the column width and then split. For a page that is full this simple algorithm works quite well. The only ...

14

As pointed out by Peter Wilson, memoir's code for three-column footnotes is based on that of the ledmac package. That is, one can enable such a layout also for other classes than memoir with the following caveats: Contrary to the standard classes, footnotes (here: the ones in the first column) won't be indented; The ledmac footnotes don't feature an ...

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