# Tag Info

6

You can use \begin{table*} ... \end{table*} to let a table span two columns. And to be honest, not much of your code is "needed to illustrate the current problem". For example, it has nothing to do with the SelfArx class you're using (and I first had to look for), and most of the other code you posted. Here's a much more minimal version of your code ...

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

5

You can use a list like itemize \documentclass{scrreprt} \usepackage{blindtext} \usepackage{graphicx} \usepackage{enumitem} \newcommand{\myicon}[1]{\smash{\raisebox{-0.85\height}{\includegraphics[width=15mm]{#1}}}} \begin{document} \blindtext \begin{itemize}[leftmargin=*] \item Test \item Test \end{itemize} \blindtext \begin{itemize} ...

5


5

Add the following lines in your preamble: \makeatletter \let\oldmarginnote\marginnote \renewcommand*{\marginnote}[1]{% \begingroup% \ifodd\value{page} \if@firstcolumn\reversemarginpar\fi \else \if@firstcolumn\else\reversemarginpar\fi \fi \oldmarginnote{#1}% \endgroup% } \makeatother MWE: \documentclass[twoside]{article} ...

5

This is a known bug in latex: add \RequirePackage{fixltx2e} at the start of the document.

5

In two column mode abstract inserts a \section*{abstractname} and this disturbs the counter of minitoc. You can decrement the counter: \begin{abstract} \decrementstc and god said let there be light and there was light \end{abstract} (It looks like a bug to me, but the description regarding starred sections in the minitoc documentation is rather ...

5

One way is to add some phantom text in both columns so that each bullet points "takes" up the same number of lines: Notes: Also added [t] to align the columns at the top Code: \documentclass{beamer} \begin{document} \begin{frame}{An Example of using columns in beamer} \begin{columns} \begin{column}[t]{0.48\textwidth} ...

5

\documentclass[twocolumn]{article} \usepackage{capt-of} \def\a{One two three four five six seven eight nine ten. } \def\b{\a\a\a\a\par\a Red green blue. \a\a\a Yellow. \a.\par} \title{zzz} \author{me} \begin{document} \maketitle \enlargethispage{-3.2cm} \noindent\begin{picture}(0,0) \put(0,-390){\begin{minipage}{\textwidth} \centering ...

5

Change the nesting order: put the columns environment inside the cvbox: \begin{cvbox}[frametitle={Adolphe Quetelet}] \begin{columns} \begin{column}{0.25\textwidth} \rule{\textwidth}{4cm} \end{column} \begin{column}{0.75\textwidth} Nachdem sein Vater 1803 früh verstorben war, musste Adolphe Quetelet sich schon in jungen Jahren mit dem Aufbau einer eigenen ...

5

If tcolorbox could be accepted as mdframed alternative. Next code shows a possible solution with a sidebyside box. \documentclass[ngerman]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{graphicx} \usepackage{xcolor} \usepackage{lmodern} \usepackage[most]{tcolorbox} \newtcolorbox{cvbox}[1]{sidebyside, lefthand ...

4

\documentclass[fleqn,10pt,twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,array,graphicx} \usepackage{dcolumn,booktabs} \begin{document} \begin{table}[tbp]\centering \caption{Average measures of strains’ halos during the first five days} \noindent X\dotfill X \small \setlength\tabcolsep{3pt} \begin{tabular}{@{}r ...

4

You set \setlength\columnsep{40pt} on line 5 so you get 40pt of space between the columns

4

The package stfloats allows to have bottom two column floats: \documentclass[twocolumn]{article} \usepackage{graphicx} \usepackage{stfloats} \usepackage{kantlipsum} \begin{document} \kant[1-3] \begin{figure*}[b] \centering \includegraphics[width=.8\textwidth,height=4cm]{example-image} \caption{A caption to this wonderful picture} \end{figure*} ...

4

If I understand well your problem, you should use the cuted package (from the sttools bundle) and its strip environment. Here is an example: \documentclass[twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{ebgaramond} \usepackage[frenchb]{babel} \usepackage{cuted, xcolor} \usepackage{graphicx, caption, threeparttable} ...

4

min should be \min (never use math italic for multi-letter identifiers) and b^{'} should be b' and no need for \substack if you only have one line in the subscript. but other than that, the equation fits in a two column IEEE document: \documentclass{IEEEtran} \usepackage{amsmath} \begin{document} \noindent X\dotfill X \label{eq:3} \min ...

4


4

this just forces text page floats to the right, \clearpage still flushes all floats to the first available column. \documentclass[twocolumn]{article} \def\f{\begin{figure}\rule{1cm}{1cm}\caption{fff}\end{figure}} \def\t{one two three four five six sevn eight nine ten eleven} \def\tt{Red green \t. Blue yellow orange purple \t, \t, \t, \t.\par} \makeatletter ...

4

The class uses \LoadClass[fleqn]{article} to specify flush left equations, with no documented way of over-riding that. that is really the point of publisher specific classes, to remove flexibility to enforce a house style.

4

The error you get is due to the fact that you're embedding a floating environment like figure in a minipage and this is not allowed. To achieve what you want, when you are in a two-column document, simply issuing the command \onecolumn puts you in one-column mode. Also, to have centered contents inside the figure, use \centering instead of a center ...

4

The \begin{article}...\end{article} environment wrapper inside the body is needed for a twocolumn setup (strangely enough, however) The document class can be found at PNAS Author site \documentclass{pnastwo} \author{Miss Ann Elk\affil{1}{Ministry of Silly Walks}} \title{On Brontosaurs} \usepackage{blindtext} \begin{document} \maketitle \begin{article} ...

4

Floats in two-column documents don't really work or stick to columns the way the author intends it to. As such, you typically need to do some legwork to bend things your way. Below I've pushed the second "float" a little further in the code and delayed its output using afterpage. The allows it to be placed into the second page before all the roll-over text ...

4

Set the each of the blocks inside a minipage that is just wide enough to fit 50% of the text block minus half the width of the rule: \documentclass{article} \usepackage{amsmath,lipsum,calc} \begin{document} \lipsum[1] \noindent \makebox[\linewidth]{% \begin{minipage}[t]{\dimexpr0.5\linewidth-.2pt} \vspace{-\baselineskip} \begin{align*} ...

4

afterpage doesn't support twocolumn (I never thought anyone was going to use it at all:-) and making it do so would be quite a bit of work. If you use \onecolumn at the point where latex would have broken the text page had there been no table, you can then add the longtable in 1-column mode, then issue \twocolumn and resume the text. This is more hand ...

4

It's not perfect (I personally don't like how the code cuts mid tag) but it should do the job. Basically, I unpacked the tcblisting environment and added a multicols environment. \documentclass{report} \usepackage{tcolorbox} \tcbuselibrary{minted} \usepackage{blindtext} \usepackage{multicol} % added package \begin{document} \blindtext ...

4

Set geometry up with the dimensions of the final pages you want and create a PDF normally. Then create a second document and include the first PDF using pdfpages. This has options for creating the booklet with the format you want. So I use a5paper, twoside with geometry for my first document. Then I use twoside,a4paper and \usepackage{pdfpages} ...

4

You could work out exactly which constraint is forcing the float to the next page, but such problems are exactly why [!] was added to LaTeX, just tell it to ignore the constraints here and the float stays on the first page. \documentclass[ twoside, reprint, aps, pra, a4paper ]{revtex4-1} \usepackage{lipsum} \usepackage[draft]{pgf} ...

4

You should take into account How to keep a constant baselineskip when using minipages (or \parboxes)? and use \parbox[t]. Here's an implementation that also takes into account the possibility that the left box has more lines than the right box. \documentclass[10pt]{article} \usepackage{lipsum} \usepackage{forloop} \usepackage{geometry} ...

3

All floats must be after \end{article}, using the starred form if two-column mode is used. This is clearly stated in the instruction manual: \documentclass[final]{pnastwo} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{article} In Table~\ref{test} we see \end{article} \begin{table*} \caption{TESTING} \label{test} ...

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

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