# Tag Info

5

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

3

Here's one... round-about way - setting the first paragraph as part of the chapter header: \documentclass[12pt,twocolumn]{memoir}% http://ctan.org/pkg/memoir \chapterstyle{bianchi} \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage{ragged2e}% http://ctan.org/pkg/ragged2e \let\oldafterchaptertitle\afterchaptertitle% Store \afterchaptertitle ...

2

Simply use the multicol package for this. Switch between any number of columns using the multicols environment. This solution should work for any document class as asked by you. The Code \documentclass{article} \usepackage{lipsum} \usepackage{multicol} \begin{document} \tableofcontents \begin{multicols}{2} \section{My Contents} \lipsum ...

2

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

2

subfigure is an obsolete package which shouldn't be used anynore. In its stead you can use subfig or subcaption. Below, I used the former, since subcaption will produce a warning about revtex4-1 being unsupported by caption (this might not be an issue, but I am not sure): Notice the line \captionsetup[subfigure]{labelformat=brace} so the caption number ...

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

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

0

I would stick to the font sizes specified by the class, but if you must use \Large and \large for your regular document content, you'll have to do some legwork: \documentclass[margin]{res}% http://ctan.org/pkg/res \usepackage{nth,changepage} \newcommand{\Lstrut}{{\Large\strut}} \let\oldsection\section ...

1

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

1

The sig-alternate class is set up to produce two-column documents. Given that (a) your table is quite a bit wider than a single column and (b) the figure is supposed to be as wide as \textwidth (rather than as wide as \columnwidth,say), you need to use the environments table* and figure* to create full-width (two columns wide) floats. By the way, in a ...

1

Avoid \vskip in favour of \blank[small]. For example, on the lists use: before={\blank[small]}, after={\blank[small]}, And on the subsection title use: \setuphead[subsection][ % Avoid orphaned titles. before={\testcolumn[3]}, after={\blank[small]}, ] This produces the desired result. See also: http://wiki.contextgarden.net/Command/blank

1

If what you are looking for is to display an image with its corresponding source code, then the showexpl package might be what you are looking for. But since I suspect you just want to use any picture next to some code, then I sugest using the minipage environment. For example: \documentclass{article} \usepackage{graphicx} \usepackage{listings} ...

Top 50 recent answers are included