Package Caption Error Hang Undefined
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you undefined control sequence \caption might have Meta Discuss the workings and policies of this site About captionsetup options Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads
Captionsetup Font Size
with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX,
Latex Captionsetup Justification Left
LaTeX, ConTeXt, and 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 Using 'caption' package with 'thesis' class - undefined control sequence [closed] up vote 5 down vote favorite I am trying captionsetup not working to compile my PhD thesis. It worked a while ago (a few months or so) but something has somehow changes since then because I get an undefined control sequence error relating to the caption package. I have stripped it all down to a minimal example. I've kept all the package declarations in the preamble though. \documentclass[a4paper,oneside]{thesis} \usepackage[left=35mm,right=17mm,top=17mm,bottom=25mm,includehead,includefoot]{geometry} \usepackage[pdftex]{graphicx} \usepackage{epstopdf} \newcommand{\ANGLE}{180} \usepackage[usenames,dvipsnames]{color} \usepackage[normal]{subfigure} \setlength{\abovecaptionskip}{15pt} \usepackage{flafter} \usepackage[section]{placeins} \usepackage[hang,small]{caption} \usepackage{rotating} \usepackage{enumerate} \usepackage{array} \usepackage{times} \usepackage{amsmath,amsfonts,mathrsfs} \usepackage{textcomp} \usepackage{multirow} \usepackage[round]{natbib} \usepackage{hyperref} \usepackage[version=3]{/home/qq002439/.tex/mhchem} \begin{document} \begin{figure} \caption{figure} \end{figure} \end{document} That's the code I'm trying to compile using pdfLaTeX. Here is the output log: This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) entering extended mode (./test.tex LaTeX2e <2009/09/24> Babel
here for
Package Caption Error Caption Outside Float
a quick overview of the site Help Center Detailed undefined control sequence captionsetup answers to any questions you might have Meta Discuss the workings and policies latex caption sty of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads http://tex.stackexchange.com/questions/106201/using-caption-package-with-thesis-class-undefined-control-sequence with us 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 related typesetting systems. Join them; it only takes a minute: Sign up http://tex.stackexchange.com/questions/42231/an-error-produced-when-using-the-caption-package Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top An error produced when using the caption package up vote 5 down vote favorite My .tex file: \documentclass[a4paper,twoside,portrait,12pt,openright,final,pdflatex]{report} \usepackage[bindingoffset=8mm]{geometry} \usepackage[T1]{fontenc} \usepackage{arabtex} \usepackage{utf8} \usepackage{graphicx} \usepackage{float} \usepackage{caption} \captionsetup{font=small,labelfont=bf} \setcounter{secnumdepth}{3} \usepackage{fixltx2e} \usepackage{paralist} \usepackage{hyperref} \hypersetup{pdftex,linktocpage=true,bookmarks=true,colorlinks=true,citecolor=blue,filecolor=black,linkcolor=blue,urlcolor=black,pdfauthor={Ayman Elmasry},pdftitle={Algorithmic Form Generation: A Thermal Building Envelope Design Approach}} \usepackage[all]{hypcap} \usepackage{lipsum} \begin{document} \lipsum[1-20] \end{document} I compile with pdflatex, and I get this error: (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption.sty (/usr/local/texlive/2011/texmf-dist/tex/latex/caption/caption3.sty Runaway argument? {\caption@CheckCommand \@makecaption {\long \def \@makecaption ##1##2\ETC. ! Paragraph ended before \@gobble was complete.
I'm writing my thesis in latex using Miktex as distribution and TeXnicCenter as editor. I can compile my script but I'm getting every http://www.mrunix.de/forums/archive/index.php/t-54618.html time the error message mentioned above: !Package caption error: Undefined format 'normal' See the caption package documentation for explanation. I just can't find out neither in the doc files nor over the net what this kind of error suppose to mean. I can also get an output which seems quite good to me. package caption I'm not sure if it's important ( but I learned, that it almost never not important :) ) but I also get the warning: Package caption warning: Unused \captionsetup[floatfoot] on input line 473. This line is empty and lay between two subsections that are not written yet. I downloaded Miktex yesterday and installed package caption error it this morning, so the reason can't be an old package. I looked into the caption Package directory and there are there three *.sty files (caption.sty, caption2.sty, caption3.sty) Has someone else this problem too? Has anyone an idea where is this coming from? THX frymor localghost24-10-2007, 14:51It would be very helpful to know what you have done so far. And the best way is that you post the code leading to that error to make clear how you use the package. The inclusion of the caption (http://dante.ctan.org/CTAN/help/Catalogue/entries/caption.html) package should normally cause any problems. \usepackage[font=small,labelfont=bf]{caption} Best regards an welcome aboard Thorsten frymor24-10-2007, 15:05Hi, this is my header of the script \documentclass[oneside,a4paper]{book} \usepackage{ngerman} \usepackage[german,ngerman]{babel} % die nächsten drei Zeilen ermöglichen die \usepackage[T1]{fontenc} % Verwendung von Umlauten, ohne diese \usepackage[latin1]{inputenc} % besonders Quoten zu müssen. \usepackage{nomencl} %Alles, was mit den graphischen Einstellungen zu tun hat. \usepackage[dvips]{graphicx} % Hiermit werden ps-Dateien integriert. \usepackage[dvips]{color} % Definiee farben, um den Text zu markieren \d