Tag Info

New answers tagged

1

For numeric tables you should consider siunitx. \documentclass[fleqn,10pt,twocolumn]{article} \usepackage{siunitx,booktabs,caption} \usepackage{lipsum} % just for the example \sisetup{ input-uncertainty-signs=\pm, separate-uncertainty, } \begin{document} \lipsum[2] \begin{table}[htbp] \centering \caption{Average measures of strains' halos during ...


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


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

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


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


0

Your algorithm floats in a figure environment, which fills up two columns, regardless of the width of the contents. To have the algorithm constrained to one column, change it to a figure* environment.


0

what should i do when I have footnotes? this approach puts the figure below the footnotes. for example in ieee.cls, the author affiliations are put in the footnote of the 1st page. So how to put the figure above it?


1

You have a \checkboxeshook command that allows to modify the list parameters used by the checkboxes environment: \documentclass[a4paper, 11pts]{exam} \usepackage{multicol, setspace} \usepackage{textcomp, booktabs,colortbl} \usepackage[table]{xcolor} \setlength\columnsep{40pt} \onehalfspacing \renewcommand\checkboxeshook{\setlength\leftmargin{0cm}} ...


4

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


1

[More of a comment, but to move off the unanswered list] With the standard document classes, loading dblfloatfix would allow some flexibility here. However, as you are using REVTeX that does not work (you can load the package but it has no effect). The best that you can do is miss out the positional arguments entirely: LaTeX will then at least be able to ...


1

Working through the requirements here, including the business about the fixes for the kernel, I think that everything does work if you take things a bit at a time % Should be part of the kernel \RequirePackage{fixltx2e} \documentclass[twoside]{article} % Required by the OP for 'other things' \usepackage{dblfloatfix} % For filler \usepackage{lipsum} ...


4

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


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


2

h works in two column just as one column \begin{figure}[htp] \centering \includegraphics[width=\ilenwidth]{..} \caption{..} \end{figure} will make the float appear "here" ie mid column if it fits at that point.


3

The most basic solution I can think of is to use a single table environment and to place the two tabular environments, along with their respective \caption and \label statements, in separate minipage environments. \documentclass{article} \begin{document} \begin{table} \footnotesize % better than "\fontsize{8}{8}\selectfont" ...


0

Here is an illustration of the use of the floatrow package: \documentclass[a4paper, 11pt]{article} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{graphicx} \usepackage{floatrow} \DeclareFloatSeparators{mysep}{\hskip4em} \begin{document} Text text text text text text text text text text text text text text text text ...


1

I encountered the same problem editing a document under REVTeX. Thanks for pointing out that only position [t] is recognized under the {figure*} environment. A working solution is offered by using the \onecolumngrid and \twocolumngrid commands \documentclass[twocolumn,...]{revtex4-1} \begin{document} ... \onecolumngrid \begin{figure}[h] ...


1

If you have got only "short" pieces of text in your additional column, you could use a single column document and then \marginline{Additional Text Here} within the text. \documentclass{scrartcl} \begin{document} \marginline{Lorem!}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ...


2

I've noticed that the subscript material below the summation symbols is wide enough to extend to the left and right of the summation symbols. TeX inserts extra whitespace so as to avoid any overlap with the surrounding. If you're really pressed for space, you could use the macro \smashoperator (or its relative, \smathoperator[r]) to suppress this whitespace. ...


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 \begin{equation} \label{eq:3} \min ...



Top 50 recent answers are included