# Tag Info

11

The twoside option is not about placing text in a multicolumn fashion. While oneside is typical for articles and reports, the twoside option is loaded when you want to have a double-sided document, allowing you to set the margins, asymmetrically, in order to bind the document as a book. If you want to place text in multiple columns, you can: add the ...

11

This is a viewer issue. Adobe Reader, Skim and Preview all pick up the first column, as you would expect. I can only reproduce the issue with old versions of Evince and Okular. I don't have a recent version of either of these viewers, but @Christian Hupfer and @gpoo have tested more up to date versions of Okular and Evince and found that they both work. For ...

9

Use a \parbox: \documentclass[twocolumn]{article} \usepackage{amsmath} \usepackage{lipsum} \begin{document} \lipsum*[2] \partial_{ab}(i,j)= \begin{cases} 0, & \parbox[t]{.5\displaywidth}{ \raggedright if $(j,i,a)$ is immediately followed by the same job that follows $(j,i,b)$} \\ 1, & \text{otherwise} \end{cases} \...

7

Here is a solution. we set \setcounter{topnumber}{1} and then restore its value \documentclass[twocolumn]{article} \usepackage{mwe} \edef\mttopnumber{\arabic{topnumber}} \setcounter{topnumber}{1} \begin{document} \begin{table}[tp] \centering \caption{A table} \begin{tabular}{|c|c|} \hline 12 & 13 \\ \hline 10 & 11 \\ \hline \end{tabular} \end{...

6

With longtable \documentclass{article} \usepackage{array,longtable} \usepackage{lipsum} \begin{document} \begin{center} \bfseries\Large Curriculum Vitae \end{center} \begin{longtable}{@{}>{\raggedleft}p{0.25\linewidth}| p{\dimexpr0.75\linewidth-2\tabcolsep-\arrayrulewidth\relax}@{}} Address & Some address \\ ...

6

Use a list \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[font=\normalfont\itshape,leftmargin=4cm,labelwidth=!] \item[Elastic modulus, \textbf{E}] Steel is easy to bend \textit{elastically} means that it springs back when released. Its resistance to bending, \textit{elastic stiffness}, is set by shape and the property, ...

6

I had some issues with that template, so here's a solution with the article class. I have used 10pt to fit the example in a single page, but you can use 12pt too, for example. Please note that I don't speak Fārsī, so there might be mistakes in the title, author or even the date, although I tried to check to the best of my abilities and everything seems OK. ...

6

EDIT -- After posting the code below, I worked on it some more and got rid of some of the ugliness. Rather than continuing to update this answer, I made a project on github: https://github.com/bcrowell/timetravel Below is the code for a proof-of-concept implementation of this idea. The good news: It accomplishes what I wanted to do for this application. ...

6

The standard way to do this would be to use tabular, but that will involve breaking the columns by hand. If you wish to have the automatic column break, then one possibility is to use a tabbing environment. (Unfortunately longtable will not work in two column mode.) The general syntax of tabbing is \begin{tabbing} line with \= tab marks set\\ next \> ...

5

Here is an option using xtab (since longtable is not happy with column layout) and paracol: \documentclass{article} \usepackage{xtab} \usepackage{paracol} \def\rowcontent{% 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ end & here } \setlength{\textheight}{3cm} \begin{document} \...

5

you have specified that the first column (which only has a word or two) is X which allows line breaking, and the second two columns are l which are single line. You don't appear to have any data in the third column at all so perhaps {lX} instead of {Xll}

5

A weird approach with a figure* environment which spans both columns and nested tabular environments to get the alignment. The filling depends on the size of the table and the image of course. (the \hlines are just for checking, not for real output) \documentclass[twocolumn]{article} \usepackage{tabularx} \usepackage[demo]{graphicx} \usepackage{caption} \...

5

Here is a version with an additional optional argument to \section that holds the English version of the section name for the table of content. If the [...] is omitted, nothing is entered to the ftoc (meaning foreign toc). Use \tableofcontents for the traditional behaviour and \tableofcontents[ftoc] for the other language. The language settings are ...

5

EDIT @Mico pointed out a much better solution to this problem, as tabularx already comes with the column type X, which automatically does what you want: \documentclass{article} \usepackage{tabularx} \begin{document} \begin{table} \caption{Simulation parameters} \begin{tabularx}{\columnwidth}{X|X} \hline Key & ...

5

While the command \setuptoc{<extension>}{<feature list>} sets the features for an file extension like toc or lof, the command \unsettoc{<extension>}{<feature list>} unsets the listed features. Note that these are tocbasic commands and the file extension must be controlled by package tocbasic. Each of the KOMA-Script classes scrartcl, ...

4

I have found that when using the stfloats package with ieeetran.cls V1.8a/b I also get this error. When I remove the \include{stfloats} package, the error is resolved.

4

One option using \@outputdblcol: \documentclass[twocolumn]{article} \usepackage{lipsum} \usepackage{showframe} \newlength\Fcolumnseprule \setlength\Fcolumnseprule{0.4pt} \makeatletter \def\@outputdblcol{% \if@firstcolumn \global \@firstcolumnfalse \global \setbox\@leftcolumn \box\@outputbox \else \global \@firstcolumntrue \setbox\@...

4

Treat the coordinate data as a URL, and define your own breakpoints. I use numbers as breakpoints in the MWE. I don't add hyphens when line-breaking, but the package allows that option. EDITED to show with and without a leading indent. \documentclass{article} \usepackage[obeyspaces,spaces]{url} \urlstyle{rm} \def\UrlBreaks{\do\1\do\2\do\3\do\4\do\5\do\6\...

4

Just drop those dreadful figure environments -- if it is not meant to float anyway, just use \includegraphics and a \captionof{figure}{caption text}\label{foo} etc. \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{blindtext} \title{Theory on Ducks} \author{Paulo Roberto Massa Cereda (PhD. in Duckumentation)} \begin{document} ...

4

You can use a simple node to include the page as an image. \documentclass{article} \usepackage{tikz} \usepackage{kantlipsum} % For dummy text \begin{document} \begin{tabular}{cp{7cm}} \begin{tikzpicture}[baseline={(current bounding box.north)}] \node[draw,rounded corners,inner sep=0]{\includegraphics[width=4cm,page=156]{pgfmanual}}; \end{tikzpicture} &...

4

Another solution. This one uses a tcolorbox for including images with shadows (like in your example), tikzlibrary tikzmark for references inside the text and tikzlibrary calc for placement inside images. \documentclass[twocolumn]{article} \usepackage[most]{tcolorbox} \usepackage{lipsum} \usetikzlibrary{tikzmark,calc} \begin{document} \tikzmark{A} \lipsum[...

4

This minimal example will definitely work [now edited so that it also works with the latest bioinfo.cls]: \documentclass{bioinfo} \copyrightyear{2005} \pubyear{2005} \access{Advance Access Publication Date: Day Month Year} \appnotes{Manuscript Category} \begin{document} \firstpage{1} \subtitle{Subject Section} \title[Long title]{Long and boring title} \...

3

If two columns may be obtained in a different manner, a solution is easy: %\documentclass[twocolumn]{book} \documentclass{book} \usepackage{multicol} %\setlength\columnseprule{1pt} \usepackage{lipsum} \setlength\columnseprule{1pt} \begin{document} \begin{multicols}{2} \lipsum[1] \end{multicols} \end{document}

3

You can find the complete code here. Just copy all the parts you need in order to get your CV written. The base is a scrartcl class which should be installed on your system. You will need LuaLaTeX in order to run this. There is no sense in redesigning a class which is called "Two Column Curriculum Vitae" into a single column document. This is a lot of ...

3

Have you tried a minipage with multicols? \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{layout} \usepackage{multicol} \usepackage{lmodern} \usepackage[ngerman]{babel} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[top=1in, bottom=1.25in, left=1.25in, right=1.25in]{geometry} \setlength{\...

3

Insert > Float > Figure. Inside float figure: Insert > Box > Frameless. Inside Frameless: Add your first image, then Insert > Caption to add the caption. Inside float figure (but outside the first frameless box): Insert > Box > Frameless. Inside frameless: Add your second image, then Insert > Caption to add the caption. Right click on the frameless box, ...

3

A variant, also with makecell and siunitx, and booktabs and caption: \documentclass{acm_proc_article-sp} \usepackage{lipsum} \usepackage{multirow, tabularx, caption, booktabs} \usepackage{makecell} \renewcommand\cellalign{rc} \usepackage{siunitx} \sisetup{table-format=1.1} \begin{document} \lipsum[2]% \begin{table}[! htbp]\captionsetup{font=bf} \...

3

You should look into using the multicol package and its multicols environment. For instance, the following code produces a page that starts in single-column mode, switches to two-column mode, and finally switches back to single-column mode. \documentclass{article} \usepackage{multicol,lipsum} \begin{document} \lipsum[1] % switch to two-column layout \begin{...

3

another variation on a list. \documentclass{article} \newlength\mylistindent \newcommand{\mylist}[1]{\par\addvspace{2pt} \noindent \hangindent\mylistindent \makebox[\mylistindent]{#1\hfill}\ignorespaces } \begin{document} \settowidth\mylistindent{the longest entry\qquad} \mylist{\textit{Elastic modulus, \textbf{E}}} Steel is easy to bend \textit{...

3

You must migrate to reledmac and use the \bhooknoteX and \bhookgroupX commands. \documentclass[12pt]{article} \usepackage[doublespacing]{setspace} \usepackage{reledmac} \usepackage{etoolbox} \arrangementX[A]{twocol} \colalignX{\justifying} \makeatletter \bhooknoteX[A]{\setstretch {\setspace@singlespace}} \bhookgroupX[A]{\setstretch {\setspace@singlespace}}...

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