New answers tagged two-column
2
\noindent
\begin{minipage}{.45\linewidth}
\begin{example}
\begin{equation*}
\begin{align*}
|\, A \cap B \cap C \,| = 1 & \\
|\, A \cap B \, \setminus C \,| > 0 & \\
|\, A \cap C \, \setminus B \,| > 0 & \\
|\, B \cap C \, \setminus A \,| > 0 &.
\end{align*}
\end{equation*}
\end{minipage}%
...
0
With multicols only, it is possible, but the margins are different as on your MWE:
\documentclass[onecolumn]{article}
\usepackage{amsmath}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
\title{Traditional computers and their limitation}
\author{K. E. Kelbal}
\maketitle
\begin{abstract}
High performance computing is needed for evaluating ...
3
You can use the tabularx package and use a width of \columnwidth so your table will span the whole width of the column:
\documentclass[twocolumn]{article}
\usepackage{tabularx}
\newcolumntype{Y}{>{\raggedleft\arraybackslash}X}
\begin{document}
\begin{table}
\centering
\begin{tabularx}{\columnwidth}{|Y|Y|Y|Y|}
\hline
& Class 1 & Class ...
4
The columns environment internally uses minipage, so you can simply use minipages in your document; a simple example (I added some frames just as visual guidelines). The \Colsep length can be used to control the separation between the minipages:
\documentclass{article}
\usepackage{lipsum}
\newlength\Colsep
\setlength\Colsep{10pt}
\begin{document}
...
1
If I understand correctly, because the figure command is placed before the multicol command, it is possible for the figure to float at the bottom of the first page. My document was still struggling with your script, until I changed \begin{figure}[b] into \begin{figure}[b!].
Hope this helps!
6
use as basic style a monofont or translate the hyphen to a shorter one (my second example):
\documentclass[twocolumn]{article}
\usepackage[T1]{fontenc}
\usepackage[scaled=0.85]{beramono}
\usepackage{listings}
\lstset{numbers=left,numberstyle=\tiny,numbersep=5pt,language=Lisp,
stringstyle=\ttfamily\small,basicstyle=\ttfamily\footnotesize,
...
5
Adding the option breaklines=true allows for line breaking:
Notes:
The showframe package
was used just to show the page margins.
Code:
\documentclass{article}
\usepackage{showframe}
\usepackage{listings}
\lstset{numbers=left, numberstyle=\tiny, stepnumber=1,firstnumber=1,
numbersep=5pt,language=Lisp,
stringstyle=\ttfamily,
...
0
Hum, I don't understand exactly want do you want. Do you want to have a number at every \astanza environment ? and a number in footnote refered to stanza ?
could you send a example what do want to obtain ? If I understand, I could add feature in eledmac/eledpar package (which is to be used instead of ledmac/ledpar, which is depreciated.
5
For two-column figures, use the figure* environment. Also note that the placement of such figures is always delayed by one page (by default). The following MWE shows an arrangement that allows a top-floating one-column figure together with a bottom-floating two-column figure on the same page (with the aid of dblfloatfix):
...
5
For a two column figure you want the * form. remove the \onecolumn and \twocolumn and use
\begin{figure*}
\includegraphics[scale=0.75]{operatingprincipal.jpg}
\caption{Pumped Hydro}
\end{figure*}
(don't use [h!] on figures as the main effect of that is to prevent the figure being placed in any available float area and so go to the end of the document. ...
1
As a workaround, add \clearpage immediately before \end{abstract}. (I'm assuming that, like for the onecolumn class option, the abstract should be part of the title page -- otherwise, an even worse hack is\date{\today\clearpage}.)
\documentclass[titlepage,aps,prd,twocolumn,groupedaddress,floatfix]{revtex4-1}
\usepackage{lipsum}
\begin{document}
...
2
At a paragraph end TeX breaks the paragraph into lines with the current settings including the line width. The result are horizontal boxes that are placed on the pages and page breaks are inserted if necessary. The change from one column to two column layout very likely also changes the line width. Thus any left over lines from a paragraph of the first page ...
Top 50 recent answers are included