Tag Info

Hot answers tagged

8

I am not too sure if getting advice from TeX hackers on typography is good advice but certainly is solid advice on anything related to LaTeX. My own preference is to mix both floating and non-floating figures and I like non-floating figures. Here are some samples: Here is the same "style" for an arts page Here is one "Life Magazine style" These and ...


7

The answers depend a lot on what kind of document you are producing. LaTeX's float placement algorithm is a lot better and has a lot more parameters than many users believe. See Frank's description One of the most common problems of course is that when things don't go quite as people expect they use [h] which makes it much more likely that the figure can ...


4

This is a bit long for a comment, but here we go: exam is based on article, and thus the figure environment is defined. You can define a new environment using a minipage, but i do not recommend to redefine the original figure-environment. But doing this, the order of the figures (and the captions) can be messed up pretty badly. You need to decide, let them ...


1

To reuse the macro name use \renewcommand the second time. \documentclass{article} \usepackage{algorithm2e} \usepackage[nopar]{lipsum} \begin{document} \null\vfill \lipsum[1-3] \newcommand{\InsertAlgorithmHere}{% \begin{algorithm}[tbp] \SetKwInOut{Input}{Input} \SetKwInOut{Output}{Output} \LinesNumbered \caption{Caption} \label{alg:Algo} \Input{-} ...


1

By default, matlab2tikz produces the code that enable scale only axis option of the axis environment (see 4.10.1 Common Scaling Options of the pgfplots documentation). Just remove that line from your .tikz file to solve the first issue. The second problem is more about your personal representation of the data, so I may only suggest to reduce the font or ...


1

Code \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage[numbers,square]{natbib} %The following is uesd to make the caption colored \usepackage{xcolor} \definecolor{ocre}{RGB}{1,160,233} \usepackage{caption} \usepackage[font={small,color=ocre}]{caption} \usepackage{graphicx,subfigure} \usepackage[hidelinks]{hyperref} % hyperlinks ...


1

\documentclass{article} \usepackage[demo]{graphicx} \usepackage{lipsum} \begin{document} \twocolumn \begin{figure*}[t] \begin{minipage}[c]{.47\linewidth} \null \includegraphics[width=\textwidth,height=8cm]{example} \end{minipage}\hfill \begin{minipage}[c]{0.47\textwidth} \caption{\protect\lipsum[3] } \label{fig:1} \end{minipage} ...



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