Home > Latex Error > Latex Error Undefined Control Sequence Subfloat

Latex Error Undefined Control Sequence Subfloat

Contents

Fix those two things and you'll be on your way! What to do with my out of control pre teen daughter USB in computer screen not working Referee did not fully understand accepted paper What is the difference (if any) between Can an umlaut be written as a line in handwriting? For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all. this contact form

How to make text in title column to be centered? I am sorry if the question is so trivial. What would happen if the light-speed was higher? If you put two blocks of an element together, why don't they bond?

Latex Error: No Counter '[email protected]' Defined.

Compiling your example code in my system (TeX Live2011) produces the error ! The determinant of the matrix 4 dogs have been born in the same week. And there's no "old" and "new": subfig and subcaption are completely different packages. –egreg Jul 19 '14 at 21:06 As I guessed it has been removed. Reading other Stackexchange posts on this, I gather that many people believe subcaption does not define subfloat while others insist they do get that command.

Kio estas la diferenco inter scivola kaj scivolema? Results 1 to 2 of 2 Thread: Problems with Latex Subfig Package Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Is there a word for spear-like? Latex No Counter '[email protected]' Defined Subfloat If your subimages don't need a caption, you can simply use \includegraphics.

That would end all speculations. –Thorsten Donig Sep 26 '13 at 8:31 | show 1 more comment 1 Answer 1 active oldest votes up vote 4 down vote accepted You have Subfloat Example Undefined control sequence. \subfloat ! Thanks. Were students "forced to recite 'Allah is the only God'" in Tennessee public schools?

Example: \documentclass[a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \chapter{Sample Chapter} \begin{table} \caption{Sample Table} \label{tbl:sample} \begin{tabular}{|c|c|c|} \hline \begin{tabular}{c} \subfloat{\includegraphics[width=0.15\linewidth,height=0.15\linewidth]{image1}} \end{tabular} & \begin{tabular}{c} \subfloat{\includegraphics[width=0.15\linewidth,height=0.15\linewidth]{image1}} \end{tabular} & \begin{tabular}{c} \subfloat{\includegraphics[width=0.15\linewidth,height=0.15\linewidth]{image1}} \end{tabular} \\\hline \begin{tabular}{c} \subfloat{\includegraphics[width=0.15\linewidth,height=0.15\linewidth]{image2}} \end{tabular} & Subfloat Outside Float In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms How should I deal with a difficult group and a DM that doesn't help? Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Subfloat Example

What are the legal consequences for a tourist who runs out of gas on the Autobahn? http://tex.stackexchange.com/questions/289796/error-on-including-subfig-package subfloats share|improve this question asked Jan 19 '14 at 3:06 Max Rodgers 36112 1 I use subfig instead of subfloat in the package declaration, then the code goes as expected. Latex Error: No Counter '[email protected]' Defined. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Subfloat Caption You also have a stray } after your \end{figure}.

Previous company name is ISIS, how to list on CV? weblink So I find this in my class file: % \usepackage{subfig} % --- this replaces subfigure \usepackage{subcaption} % --- this replaces subfig I look into the subcaption documentation, and in §3.4.4 it Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Are non-English speakers better protected from (international) phishing? Latex Subfloat Vertical

Is it legal to bring board games (made of wood) to Australia? I wish to stick with the given format and modify it a bit. –Sibbs Gambling Sep 26 '13 at 7:59 1 Answering would me much easier if you make your For \subfloat you need to load subfig \usepackage{subfig} or \usepackage[caption=false]{subfig} if you don't want to load the caption package together with subfig (some classes, notably IEEEtran don't allow the loading of navigate here So, just replacing subfigure with subfig in your code should already work. –Thorsten Donig Sep 26 '13 at 7:48 @ThorstenDonig Sorry but no, I have tried. –Sibbs Gambling Sep

I've got texlive-latex-extra installed, which is where the subfig package is supposed to reside. Subfig Latex I'm trying to put titles in separate column: \documentclass[a4paper]{book} \usepackage[demo]{graphicx} \usepackage{caption} \begin{document} \begin{table} \centering \caption{Sample Table} \label{tbl:sample1} \renewcommand\arraystretch{2} \begin{tabular}{|c|c|c|c|} \hline\rule{0pt}{\dimexpr0.15\textwidth+1em\relax} imeage 1 & \includegraphics[width=0.15\textwidth,height=0.15\textwidth]{image1} & \includegraphics[width=0.15\textwidth,height=0.15\textwidth]{image1} & \includegraphics[width=0.15\textwidth,height=0.15\textwidth]{image1} \\\hline\rule{0pt}{\dimexpr0.15\textwidth+1em\relax} imeage 2 is immaterial), but \begin{figure}[!htp] because otherwise you could block the float queue.

Basically I am trying to arrange 3 images, cc.png, bb.png and tt.png in a document side by side rather than in a column as latex was trying to make it.

Moreover it has not the small defects subfig shows when hyperref is used. Referee did not fully understand accepted paper Uploading a preprint with wrong proofs Why does Luke ignore Yoda's advice? Browse other questions tagged subfloats or ask your own question. Subcaption What is a Waterfall Word™?

Publishing images for CSS in DXA HTML Design zip What would happen if the light-speed was higher? Farming after the apocalypse: chickens or giant cockroaches? There were multiply-defined labels. his comment is here The preamble of my file looks as follows \usepackage[square, numbers, comma, sort&compress]{natbib} %\usepackage{amsmath} %\usepackage{verbatim} %\usepackage{graphicx} %\usepackage{epstopdf} %\usepackage{enumerate} %\usepackage{pdfsync} %\usepackage{tikz} %\usepackage{xparse} %\usepackage{amsthm} %\usepackage{amssymb} %\usepackage{abstract} \usepackage{mathtools} \usepackage{algorithm2e} %\usepackage{booktabs} %\usepackage{inputenc} %\usepackage{paralist} %\usepackage{longtable} %\usepackage{standalone} %\usepackage{vector}

UV lamp to disinfect raw sushi fish slices more hot questions question feed lang-tex about us tour help blog chat data legal privacy policy work here advertising info mobile contact us What does a profile's Decay Rate actually do? Uploading a preprint with wrong proofs What does a profile's Decay Rate actually do? How to decipher Powershell syntax for text formatting?

How to unlink (remove) the special hardlink "." created for a folder? Update: Thanks to Gonzalo Medina, I solved original problem. For that you have to include the subcaption package declaration: \usepackage{subcaption} Then, the code for putting 3 figures side-by-side looks like this: \begin{figure}[t!] \centering \begin{subfigure}[b]{0.25\textwidth} \centering \includegraphics[width=\textwidth]{fig1.png} \caption{} \label{fig:a} \end{subfigure} \begin{subfigure}[b]{0.25\textwidth} What to do when you've put your co-worker on spot by being impatient?

I want to place my figures spanning two columns or even in a single column, but none works. Is it legal to bring board games (made of wood) to Australia? Why aren't there direct flights connecting Honolulu, Hawaii and London, UK? Code: \usepackage{subfigure} \begin{document} ... \begin{figure}[t,c] \begin{center} \subfigure[\footnotesize{}]{\label{fig:example-a}\epsfig{file=figs/dummy.eps,height=1in}} \subfigure[\footnotesize{}]{\label{fig:example-b}\epsfig{file=figs/dummy.eps,height=1in}} \subfigure[\footnotesize{}]{\label{fig:example-c}\epsfig{file=figs/dummy.eps,height=1in}} \end{center} \caption{NEED CAPTION} \label{fig:example} \end{figure} This code generates an "Undefined Control Sequence" error for the \subfigure command.

The problem is with specifically trying to use the subfig package. Would not allowing my vehicle to downshift uphill be fuel efficient? Code in question use only four packages: inputenc, graphicx, caption and subcaption. Undefined control sequence. \subfloat[Case I]\includegraphics [width=2.5in]{subfigcase1}\lab... \label{fig_first_case}} !