Tag Info

Hot answers tagged

5

Since this seems like an out-of-the-ordinary setting for a figure, it may require some manual fiddling. The following example sets a list-like environment containing the "figure", and it allows your caption to break across the page boundary. \documentclass{scrartcl} \usepackage{graphicx,lipsum,afterpage,subcaption} \usepackage{enumitem} \begin{document} ...


5

The problem comes from the adjustbox; if you replace it with a minipage surrounded with an \fbox, the subcaptions are centered again: \documentclass[12pt]{article} \usepackage{mathptmx} \usepackage{amsmath} \usepackage[demo]{graphicx} \usepackage[margin=0.9in]{geometry} \usepackage{gensymb} \usepackage{subcaption} \usepackage{adjustbox} ...


5

You have to measure the bigger picture. \documentclass[10pt, a4paper]{amsart} \usepackage{graphicx, subfig} \usepackage{graphics} \usepackage{tikz} \usepackage[all]{xy} \usetikzlibrary{arrows,automata} \usetikzlibrary{shapes,snakes} \usetikzlibrary{positioning} \newsavebox{\bigpicture} \newcommand{\adapttobigpicture}{% \vrule height\ht\bigpicture ...


3

It should be rather a comment, but the code is too long. \documentclass[final,leqno,onefignum,onetabnum]{siamltex1213} \usepackage{amsmath} \usepackage{subfig} \title{USING SIAM'S \LaTeX\ MACROS\thanks{This work was supported by the Society for Industrial and Applied Mathematics}} \begin{document} \maketitle \section{example} \begin{figure}[H] ...


3

As with any method of binding a figure and table together, beware that latex will not preserve the table order here, this float will float in sequence with figures so if you have another table environment it may float past this causing your tables to be out of sequence, in which case you would need to move the table in the source file to regain the correct ...


2

Use a save box: \documentclass{article} \usepackage{subfig,alltt} \newsavebox{\allttbox} \begin{document} \begin{table} \begin{lrbox}{\allttbox} \begin{minipage}[t]{0.48\linewidth} \tiny \begin{alltt} aaa This is in alltt bbb \end{alltt} \end{minipage} \end{lrbox} \subfloat[Caption]{\usebox{\allttbox}} \end{table} \end{document} Alternatively, use ...


2

In the right hand pages, the header shows the section name, which is empty. You can change the behavior inside the appendices environment with \appendixpage \begin{appendices} \fancyhead[RO]{\slshape \leftmark}


2

\PassOptionsToPackage{demo}{graphicx}%% DELETE it \documentclass[final,leqno,onefignum,onetabnum]{siamltex1213} \usepackage{amsmath} \usepackage{subfig} \title{USING SIAM'S \LaTeX\ MACROS\thanks{This work was supported by the Society for Industrial and Applied Mathematics}} \begin{document} \maketitle \section{example} \begin{figure}[!htb] \subfloat[Read ...


1

Since multicols does not allow float environments (this explains why you don't see any figures), this proposal defines a new environment called figurehere. As you can see, the floating property is suppressed and it anchors at where one desires. This environment has been tested on subcaptionbox command from subcaption package too. Remove the [demo] option in ...


1

This seems to work but I don't really understand why. Note that I don't have your images so I had to replace them and the white doesn't show up as well on the examples from mwe. However, you can see the captions if you look closely... \documentclass{article} \usepackage{graphicx,caption,subcaption,tikz} \usetikzlibrary{backgrounds} \usetikzlibrary{calc} ...


1

The error message about \subfigure being an undefined control sequence goes away if you replace \subfigure with \subfloat. Can you make do with \subfloat?


1

When all else fails, do \usepackage[caption=false]{subfig}: \documentclass [11pt, twoside] {uwthesis}[2012/06/19] \setcounter{tocdepth}{1} % Print the chapter and sections to the toc \usepackage{alltt} % \usepackage[demo]{graphicx} \usepackage{epstopdf} \usepackage[caption=false]{subfig} \usepackage{float} \usepackage{xfrac} \usepackage{mathtools} ...


1

This old code… \begin{figure} \centering \subfloat[sub-caption1]{ \includegraphics{...} \label{fig:sub1} } \subfloat[sub-caption2]{ \centering\includegraphics{...} \label{fig:sub2} } \caption{main caption} \label{fig:main} \end{figure} …can be roughly rewritten as \begin{figure} \centering \begin{subfigure}{0.48\textwidth} ...


1

There are many ways to do this. You will note the minipages are currently set to align bottoms. The \rasieboxes are included in case you want to align tops. Also, you might want to make the second minipage wider to handle the caption in one line. \documentclass{article} \usepackage{caption} \usepackage{graphicx} \usepackage{tabularx} \usepackage{mwe} ...


1

The case of mixed floats can be managed by the floatrow package, see §2.3.1 of the documentation. I mixed one of my favourite images with your tables (slightly improved as to vertical spacing with the setcellgapes command, from mmakecell. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...



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