Hot answers tagged


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


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


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)


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.


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


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


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


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


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


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


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.


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


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


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


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


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


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


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}


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


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


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


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


Parcolumns should work, but you need to wrap each question and answer in an environment to get good spacing: \documentclass{article} \usepackage{parcolumns} \newcommand{\question}[1]{\colchunk{\begin{description}\item[Q:]{#1}% \end{description}}} \newcommand{\answer}[1]{\colchunk{\begin{description}\item[A:]{#1}% \end{description}}\colplacechunks} ...


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}


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


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.


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


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


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


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

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