Tag Info

Hot answers tagged

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


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

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


2

\documentclass{memoir} \usepackage{geometry,pdflscape,afterpage} \usepackage{lipsum,mwe,multicol} \begin{document} \lipsum[1-4] \afterpage{ \clearpage \begin{landscape} \begin{figure}[p] \centering \includegraphics[width=0.5\linewidth]{example-image-16x9} \begin{multicols}{2} \caption[]{% \textbf{A very, VERY long caption:} Nam dui ligula, fringilla a, ...


2

The tables and figures must go after \end{article}. In both cases the caption must precede the object. \documentclass{pnastwo} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{article} Table~\ref{test} \end{article} \begin{table} \caption{TESTING} \label{test} \begin{tabular}{ccc} \hline testing & testing & testing \\ ...


1

Use a minipage with a height of \textheight, add a \vfill before caption. \documentclass[twocolumn]{article} \usepackage{lipsum} % for the MWE \usepackage{caption,graphicx} \begin{document} \begin{figure}[!p] %\smallskip %%if needed \begin{minipage}[t][\textheight]{\columnwidth} \centering \rule{\columnwidth}{0.9\textheight} % for the ...


1

You have to add breaklines=true as the option. Further you may define \lstset{basicstyle=\small\ttfamily,columns=fullflexible} to add some difference. \documentclass{IEEEtran} \usepackage{listings} \usepackage{lipsum} \lstset{basicstyle=\small\ttfamily,columns=fullflexible} \begin{document} \lipsum[1-2] ...


1

While this is old, here is another solution. Instead of leaving a column blank you could simply adjust the margins for a one column document. While this potentially has some undesired side effects, I found this straight forward for multipage documents. The settings below just give a bigger margin to one side for comments. Add the following in your preamble: ...



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