Package Caption Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might package subcaption error: `caption' package not loaded have Meta Discuss the workings and policies of this site About Us
Caption.sty Latex
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us package caption error caption outside float TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and undefined control sequence \caption related typesetting systems. 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 top Subcaption Package Error up vote 4 down vote favorite I'm having an issue compiling with the subcaption package. I'm starting to write my
Caption.sty Not Found
thesis, and I originally started a chapter with a separate document. This compiled fine and had the following pre-amble \documentclass[11pt,a4paper]{article} \usepackage{fullpage,graphicx,amsmath,verbatim,float,caption,subcaption} \numberwithin{equation}{section} \numberwithin{figure}{section} \begin{document} I then moved to a template for a thesis, (full template is here http://www.sunilpatel.co.uk/thesis-template/ ) I copied across the chapter I have completed into the chapter1.tex file as specified. I also copied across my \usepackage line to give the following preamble in the thesis document: %% ---------------------------------------------------------------- %% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX) %% ---------------------------------------------------------------- % Set up the document \documentclass[a4paper, 11pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn \graphicspath{{Figures/}} % Location of the graphics files (set up for graphics to be in PDF format) % Include any extra LaTeX packages required \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography \usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments \usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths \usepackage{fullpage,graphicx,amsmath,float,caption,subcaption} \hypersetup{urlcolor=blue, colorlinks=true} % Colour
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the latex package caption workings and policies of this site About Us Learn more about Stack Overflow subcaption latex the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags
Subfigure Latex
Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only http://tex.stackexchange.com/questions/129760/subcaption-package-error 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 top Caption package error [closed] up vote 1 down vote favorite Since today I am getting an error message when I use the caption package. This is a minimal working example: \documentclass[12pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} http://tex.stackexchange.com/questions/107218/caption-package-error \usepackage[font=small,labelfont=bf]{caption} \usepackage{graphicx} \begin{document} \begin{figure} \centering \includegraphics[scale=0.5]{figure.jpg} \caption{caption } \end{figure} \end{document} I get the following error messages: ! LaTeX Error: Command \@makecaption already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. ! LaTeX Error: Command \@makecaption already defined. Or name `\end... illegal`, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. ! Undefined control sequence. \caption@beginex ...tion@begin {#1}\caption@iflof {\def \caption@tempa {#2}}... l.12 \caption{this is caption} I am using MikTex 2.9 for windows and I was using the 2012 version of the caption package. I then uploaded to a newer version but it didn't solve the problem. The file list: *File List* report.cls 2007/10/19 v1.4h Standard LaTeX document class size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) inputenc.sty 2008/03/30 v1.1d Input encoding file latin1.def 2008/03/30 v1.1d Input encoding file amsmath.sty 2000/07/18 v2.13 AMS math features amstext.sty 2000/06/29 v2.01 amsgen.sty 1999/11/30 v2.0 amsbsy.sty 1999/11/29 v1.2d amsopn.sty 1999/12/14 v2.01 operator names amsfonts.sty 2009/06/22 v3.00 Basic AMSFonts support amssymb.sty 2009/06/22 v3.00 caption.sty 2006/01/12 v3.0i Customising captions (AR) caption3.sty 2012/01/12 v1.4b caption3 kernel (AR) ke
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://tex.stackexchange.com/questions/31906/subcaption-package-compatibility-issue policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered http://stackoverflow.com/questions/803463/caption-outside-table Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute: Sign package caption up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Subcaption package: compatibility issue up vote 24 down vote favorite 8 There is a compatibility problem between the CIFA document class and the subcaption package. When I compile the following example (with PDFLaTex): \documentclass{cifa} \usepackage{subcaption} \begin{document} \begin{figure} \parbox{4cm}{\subcaption{This is a package caption error subcaption}\label{sub}} \caption{nothing} \label{nothing} \end{figure} See figure \ref{nothing}: there is \ref{sub} inside... \end{document} These warnings are displayed: Package caption Warning: Unsupported document class (or package) detected, Package caption Warning: \caption will not be redefined since it's already In addition the words "figure" and "subfigure" are displayed AFTER the captions. How to fix this issue? packages templates incompatibility subcaption share|improve this question edited Sep 21 at 18:31 Andreas 1076 asked Oct 18 '11 at 9:39 Leonardo 7671815 Depending on the particulars of the cifa class, you may be able to restore the caption style by passing options to the caption package, see this answer. –Ioannis Filippidis Jun 22 '14 at 1:52 add a comment| 1 Answer 1 active oldest votes up vote 47 down vote accepted The very recent version of the subcaption package will even issue an error: ! Package caption Error: The `subcaption' package does not work correctly (caption) in compatibility mode. The only way to get around this is to specify the option compatibility=false to the caption package: \documentclass{cifa} \usepackage{subcaption} \captionsetup{compatibility=false} \begin{document} \begin{figure} \parbox{4cm}{\subcaption{This is a subcaption}\label{sub}} \caption{nothing} \label{nothing} \end{figure} See figure \ref{nothing}: there is \ref{sub} insid
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Caption outside table? up vote 20 down vote favorite 2 I'm trying to add a caption to a table in latex, however it throws this error "! LaTeX Error: \caption outside float." From the error I am guessing ti means that it is outside the table, but I have clearly put it inside. \begin{tabular}{|c|c|c|c|c|c|} \caption{Table1} Potentiometer & Resistance & \multicolumn{2}{c}{Calculated V\textsubscript{32}} & \multicolumn{2}{c|}{Measured V\textsubscript{32}}\\ \cline{3-6} Position & R\textsubscript{34} & Amplitude & Phase & Amplitude & Phase\\ \hline \hline 1 & 303.8 & & 2.73 & 28.2 & 2.51\\ 2 & 1.141k & & 1.81 & 28.2 & 1.63\\ 3 & 3.453k & & 0.79 & 28.2 & 0.5\\ 4 & 5.33k & & 0.53 & 28.2 & 0.38\\ 5 & 7.45k & & 0.38 & 28.2 & 0.25\\ 6 & 9.54k & & 0.30 & 28.2 & 0.13\\ 7 & 10.84k & & 0.27 & 28.2 & 0.13\\ \hline \end{tabular} latex share|improve this question asked Apr 29 '09 at 17:38 Botto 5293921 add a comment| 2 Answers 2 active oldest votes up vote 35 down vote accepted The tabular environment won't take a caption. You need to do something like this: \begin{table} \begin{tabular}{|c|c|c|c|c|c|} Potentiometer & Resistance & \multicolumn{2}{c}{Calculated V\textsubscript{32}} & \multicolumn{2}{c|}{Measured V\textsubscript{32}}\\ \cline{3-6} Position & R\textsubscript{34} & Amplitude & Phase & Amplitude & Phase\\ \hline \hline 1 & 303.8 & & 2.73 & 28.2 & 2.51\\ 2 & 1.141k & & 1.81 & 28.2 & 1.63\\ 3 & 3.453k & & 0.79 & 28.2 & 0.5\\ 4 & 5.33k & & 0.53 & 28.2 & 0.38\\ 5 & 7.45k & & 0.38 & 28.2 & 0.25\\ 6 & 9.54k & & 0.30 & 28.2 & 0.13\\ 7 & 10.84k & & 0.27 & 28.2 & 0.13\\ \hline \end{ta