Tag Info

Hot answers tagged

5

If you're using revtex4-1 there is a hook \@caption@fignum@sep for determining the separator following the float number, which defaults to a period followed by a space: \def\@caption@fignum@sep{. } You can define a new command \colorcaption to be used instead of caption for colored figures. \makeatletter \newcommand{\colorcaption}[2][]{% \begingroup% ...


3

Here is a solution \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure*} \centering \subfloat[]{\includegraphics[width =\linewidth]{example-image}} \subfloat[]{\includegraphics[width =\linewidth]{example-image}} \subfloat[]{\includegraphics[width =.3\linewidth]{example-image}} ...


2

Two options: Using some tabulars for each layer and the subcaption package: The code: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure} \begin{minipage}{\linewidth} \centering \begin{tabular}{ccc} \includegraphics[width=.28\linewidth,height=1cm]{example-image-a} & ...


2

You can provide a sensible value (\columnwidth, for example) for the text width key of the \nodes: \documentclass[12pt,a4paper,twocolumn]{article} \usepackage[utf8x]{inputenc} \usepackage{listings} \usepackage{caption} \usepackage[framemethod=tikz]{mdframed} \lstset{ breaklines=true, breakatwhitespace=false, xleftmargin=1em, frame=single, numbers=left, ...


1

I do not know how to do this for the case of several aligns in one figure. I have never seen anyone using display math in a figure and I do not get the value of doing so. So I just give the solution for getting rid of \abovedisplayskip in figures also this is not what you are looking for. % arara: pdflatex \documentclass{article} \usepackage{amsmath} ...


1

Use in not inches: \begin{figure} \includegraphics[width = 6in]{HHCircuit.png} \end{figure}



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