Tag Info

Hot answers tagged

9

Put these lines in your preamble: \usepackage{etoolbox} \AtBeginEnvironment{itemize}{\begin{multicols}{2}} \AtEndEnvironment{itemize}{\end{multicols}} This will change all itemize environments in to two columns (assuming that is what you want). \documentclass{article} \usepackage{etoolbox} ...


8

Put the title material in the optional argument to \twocolumn. In the example I use only the specific packages needed. The only point to remark is the additional pair of braces because you have [] in the code. \documentclass[twocolumn]{article} \usepackage{array,url,kantlipsum} % \Mark is probably provided by spconf, that I don't have ...


8

You should be able to do this using the rotating package's sidewaystable environment: \documentclass[twocolumn]{article} \usepackage{rotating} \usepackage{booktabs} \usepackage{array} \usepackage{caption} \usepackage{kantlipsum} % for dummy text \begin{document} \begin{sidewaystable} \centering \begin{tabular}{*{22}{c}} \toprule A & B & C & D ...


7

Here is my code. it works for IEEE journal template (two columns journal template, bare_jrnl_compsoc, bare_jrnl, and so on). So one page-wide figure is in two columns setting paper. \begin{figure*} \center \includegraphics[width=\textwidth]{AAA.eps} \caption{PRF and pulses number comparison with eigenwaveform.} \label{AAA} \end{figure*} Hope ...


7

I've defined a new option for numbers, called outside. It prints numbers in the left margin if you are on the left column and in the right margin if you are on the right column. This is the relevant code: \makeatletter \lst@Key{numbers}{none}{% \let\lst@PlaceNumber\@empty \lstKV@SwitchCases{#1}% {none&\\% ...


7

The error happens when \pr@\end@dblfloat is being executed, which uses \end@dblfloat. Let's compare the definitions of \end@dblfloat in the kernel and in fixltx2e: latex.ltx \def\end@dblfloat{% \if@twocolumn \@endfloatbox \ifnum\@floatpenalty <\z@ \@largefloatcheck \@cons\@dbldeferlist\@currbox \fi \ifnum \@floatpenalty =-\@Mii ...


7

There's nothing special to do: just enclose the \includegraphics in braces, so the ] in its optional argument is not mistaken for the closing one of the optional argument to \twocolumn: \documentclass{article} \usepackage{graphicx} \begin{document} \twocolumn[% {\includegraphics[width=12cm]{foo.png}}% ] \end{document} Don't forget to protect the end ...


6

Double column floats always go on the next page at the earliest (they can't be placed on the current page as the first column may already have been set full height, so in a real document you just need to move the figure* environment earlier in the source, so that it is seen before the text that ends on that page. In the rare cases that you want the float at ...


6

Yes, you are right; they are basically the same; the widetext package defines its widetext environment using strip from cuted.sty, but adds the rules. In fact, the author of widetext says in the .sty file: %% This package just defines the widetext environment and the rules. The other difference is that widetext gives you indentation for the first line ...


6

memoir offers facilities which I think provide the information you want (p25 of the documentation). \documentclass[12pt,twocolumn]{memoir} \usepackage{lipsum} \settypeoutlayoutunit{mm}% note: needs to come *first* to have any effect (documentation is wrong) \typeoutlayout \typeoutstandardlayout \begin{document} \lipsum \end{document} Then the output ...


6

This is a way to span the tikzpicture across two column. adjustbox package is used where the width is set to \linewidth for the span. width=\columnwidth would back to regular result. Code \documentclass[twocolumn,11pt]{article} \usepackage{tikz} \usepackage{lipsum,adjustbox} \usetikzlibrary{calc,positioning} \begin{document} \definecolor ...


6

For the main toc Please read carefully again the linked answer and the KOMA-Script documentation1): By default in scrbook (and scrreprt) the toc is set in onecolumn modus. Only, when you want to have it in two columns, you need \unsettoc{toc}{onecolumn}. So, leaving it out is the solution here … For the minitoc Use \setchapterpreamble2). Note, you must ...


6

Your problem can be solved with “widetext.sty”. This package mimicing the mechanism with the same name from RevTeX4 was written by Anjishnu Sarkar. Alas, the original home went away. Luckily, we can get a copy from a svn site of Einstein Toolkit, because they have used it for a document (direct link): ...


6

Also IMHO, it's better left some margins than do this. But said that, you can obtain some similar to you example adding a phantom lettrine at the beginning of each page. In this MWE, the macro \stapler must be inserted after the last word of each page.(When the page end with an automatic hyphen, you can change this a manual hyphen followed by \stapler.). ...


6

I don't think you have a much better option than this. Btw, you seem to use q_A for two different things. \documentclass[twocolumn]{ltxdoc} \usepackage{amsmath} \begin{document} \begin{equation} \sum_{q_\mathrm{tot}=0}^{Q_A+Q_B-2}\sum_{q_A=0}^{q_\mathrm{tot}}{\textstyle\binom{Q_A-1}{q_A}\binom{Q_B-1}{q_B}}x^{q_\mathrm{tot}}, \end{equation} where ...


5

Your method won't work for thanks. Follow the method described here: \documentclass[twocolumn]{article} \usepackage{lipsum} \begin{document} \title{Something} \author{Name\thanks{}} \date{\today} \twocolumn[ \begin{@twocolumnfalse} \maketitle \begin{abstract} {\lipsum[1]} \end{abstract} \end{@twocolumnfalse} ] { ...


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

Just in case you want to try the multienum package. MWE \documentclass{article} \usepackage{multienum} \newenvironment{multiitem}{% \multienumerate\renewcommand{\labelname}{\textbullet}% }{% \endmultienumerate% } \begin{document} \begin{multiitem} \mitemxx{1}{2} \mitemxx{3}{4} \mitemxx{5}{6} \mitemxx{7}{8} \mitemxx{9}{10} \end{multiitem} ...


5

You could use the \splitrule macro of the mathtools package to split the numerator term into two parts. In the example below, that's what's done in the first equation. In the second equation, I suggest applying a few more modifications; adopt them as you see fit. \documentclass[a4paper,twocolumn]{article} \usepackage{mathtools} \begin{document} With just ...


5

\documentclass{article} \usepackage{array,booktabs,siunitx,xcolor,colortbl} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}% \begin{document} \begin{table} \arrayrulecolor{blue!50} \centering \caption{jkhafj ahjfha hfjah fjahf jhasjf ha} \label{Table1} \begin{tabular}{ C{0.2\linewidth} C{0.2\linewidth} C{0.2\linewidth} C{0.2\linewidth} } ...


5

Column mode changes of LaTeX (without packages) are limited: Mode switches \onecolumn, \twocolumn start a new page. \twocolumn allows one column material at the top in the optional argument at least. Maximal number of columns is two. Package multicol implements several improvements: Column mode switches in the same page. More than two columns. ...


5

Here is one option using a stationary \captionof{table}{<caption>} (from caption or capt-of) and providing a manual split across table entries from one column to the next: \documentclass[twocolumn]{article} \usepackage{lipsum,caption,graphicx,tabularx} \begin{document} \lipsum[1-5] \begin{figure*}[ht] \centering ...


4

May be this is what you are after: \documentclass[11pt,twocolumn,conference]{IEEEtran} \usepackage{amsmath,array,graphicx} \usepackage{kantlipsum} \begin{document} \kant[1-2] \begin{table}[htb] \caption{hello2 testing} \label{1234} \resizebox{\columnwidth}{!}{% \begin{tabular}{c*{5}{>{$}c<{$}}} & \text{LfdR} & \text{KLSRf} ...


4

You'll notice that the problem only shows itself for columns where you only use paragraph text. Those that have a section heading in them seem to be flush with the bottom... ...this is because you're not using LaTeX's \parskip rubber length properly. Forcing a empty line between paragraphs using \newline\newline technically still sets the two pieces of text ...


4

Since you want only this part in two columns, the best choice is the one you've made, in my opinion (use multicols). You have to use \reversemarginpar otherwise the margin par will be printed on the right. Also, adjusting the vertical offset through the second optional argument of \marginnote gives the correct positioning. MWE \documentclass{article} ...


4

This is an attempt. The class icgg.cls loads hyperref. We create a new command \collabel which is executed each time a \label command is issued. If, for example, you issue \label{foo} a new label called col:foo is created at the same point of the document. if you want to know the column to which \label{foo} refers to, you have to use the command ...


4

Try the package fixltx2e. It contains a fix for the "1-col fig can come before earlier 2-col fig"-bug.


4

You can just copy the definition and comment out the offending bits: \documentclass[aps,prl,twocolumn,balance,superscriptaddress,floats,showpacs,a4paper]{revtex4} \usepackage{latexsym} \usepackage{dcolumn} \usepackage{amsmath} \usepackage{epsf} \usepackage{float} \usepackage{hyperref} \makeatletter \renewenvironment{widetext@grid}{% \par\ignorespaces ...


4

Next paragraph appears in page 11 from IEEEtran_HOWTO Another LATEX2ε limitation (patched with stfloats or not) is that double column floats will not appear on the same page where they are defined. So, the user will have to define such things prior to the page on which they are to (possibly) appear. So if you want that your figure be placed where ...


4

This is the default behaviour for figure* in a two-column document. You're going to have to avoid this. Anywhere before making a call to \maketitle, add the following (replacing example-image with your image, including the \includegraphics parameters): \makeatletter \let\@oldmaketitle\@maketitle% Store \@maketitle \renewcommand{\@maketitle}{\@oldmaketitle% ...



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