Home > package caption > package caption error figurename undefined

Package Caption Error Figurename Undefined

Contents

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 captionsetup options this site About Us Learn more about Stack Overflow the company Business Learn latex captionsetup justification left more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ unused captionsetup[table] 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 Here's how it

Package Caption Warning Unused \captionsetup Table

works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Problem with command \captionsetup from package caption up vote 12 down vote favorite 2 The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, labelsep=quad, position=above, skip=\onelineskip, width=\linewidth, labelfont={small}, font={small} } \begin{document} \begin{table} \caption{A table.} \end{table} \end{document} generates the error message ! Package caption Error: Can be latex caption justification options used only in preamble. If I comment the \captionsetup command, there is no such error message. I know the class memoir provides its own tools for captions, but I'd rather use the package caption for them. Anyone could possibly shed some light on this issue? EDIT: As soon as I comment the key tablename, the problem disappears. But even though it works, I wouldn't call it precisely a satisfactory solution. captions memoir naming share|improve this question edited Apr 16 '13 at 12:14 lockstep 161k38486646 asked Aug 13 '12 at 19:03 Marcos 2,42311133 add a comment| 2 Answers 2 active oldest votes up vote 17 down vote accepted Edit: Thanks to Gonzalo Medina, I think I have an explanation. :) tablename and figurename are indeed valid entries for \captionsetup, as long as you are using it without the optional argument. The idea: \captionsetup without the optional argument works globally, so it makes sense to set both figure and table names via figurename and tablename respectivelly. The following code works: \captionsetup{ tablename=Table, listformat=empty, justification=justified, labelsep=quad, position=above, skip=\onelineskip, width=\linewidth, labelfont={small}, font={small} } We are setting the caption layout globally. Now, when we provide the optional argument, we are limi

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings caption left align latex and policies of this site About Us Learn more about Stack Overflow the

Caption Package Latex

company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges

Table Caption Latex

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 http://tex.stackexchange.com/questions/67005/problem-with-command-captionsetup-from-package-caption 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 Can not redefine the command of \figureformat (\figureformat undefined) up vote 2 down vote favorite I want to redefine the \figureformat to customize the output of figure captions: \renewcommand*{\figureformat}{\thefigure.\figurename} However, it gives an error when I compile: \figureformat http://tex.stackexchange.com/questions/228623/can-not-redefine-the-command-of-figureformat-figureformat-undefined undefined. \renewcommand*{\figureformat} Here is the test tex: \documentclass[10pt,letterpaper]{article} \renewcommand*{\figureformat}{\thefigure. \figurename} \begin{document} \begin{figure}[h] \caption{{test} \label{fig1} \end{figure} \end{document} I am using TeX Live 2013/W32TeX and TexStudio numbering captions punctuation naming share|improve this question edited Feb 17 '15 at 15:17 asked Feb 17 '15 at 14:51 Changwang Zhang 38829 Out of curiosity, where did you find this command? –Johannes_B Feb 17 '15 at 15:02 @Johannes_B Here: tex.stackexchange.com/questions/27250/… –Changwang Zhang Feb 17 '15 at 15:09 There is your answer, figureformat is only defined with KOMA-classes. With the standard classes, you can use package caption to do it with a nice interface. –Johannes_B Feb 17 '15 at 15:13 @Johannes_B The problem is I want to change the format only for figures. I want the format of tables to remain unchanged. If I use caption interface, I will change both. –Changwang Zhang Feb 17 '15 at 15:22 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted The command you cannot redefine is only provided by KOMA-classes. For the standard classes, package captioncomes in handy. You can define the labelformat f

here for a quick overview http://tex.stackexchange.com/questions/332995/figure-caption-leads-to-error-in-beamer 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 TeX - LaTeX package caption 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 Here's how it works: Anybody can ask a package caption error question Anybody can answer The best answers are voted up and rise to the top figure caption leads to error in beamer up vote 1 down vote favorite I get this coompilation error: No file texto-10.nav. (c:/texlive/2015/texmf-dist/tex/latex/lm/t1lmtt.fd) ! You can't use `\unskip' in vertical mode. \reset@color ...mer@zeropt \else \ifvmode \unskip \fi \ifhmode \unskip \fi \... l.32 \caption{Valores Sugeridos} ? This is the code I'm using. Where is the error? \documentclass[draft]{beamer} \usepackage{beamerthemeshadow} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{amsmath,amssymb} \usepackage{comment} \usepackage[figurename=Fig]{caption} \usepackage{amsfonts} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \usepackage{float} \usepackage{array} \usepackage{mathpazo} \usepackage{verbatim} \usepackage{listings} \usepackage{graphicx} \usepackage{xcolor} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} \begin{figure}[t] \includegraphics[height=1in,width=4.1in]{Valoresparametros} \caption{Valores Sugeridos} \label{valpar} \end{figure} \end{document} beamer floats captions share|improve this question edited Oct 7 at 7:59 Johannes_B 16.8k231135 asked Oct 6 at 21:42 JuanMuñoz 19510 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted

 

Related content

error caption

Error Caption table id toc tbody tr td div id toctitle Contents div ul li a href Package Caption Error Setcaptionsubtype Outside Float a li li a href Package Caption Error Hang Undefined a li ul td tr tbody table p here for a quick overview of the relatedl site Help Center Detailed answers to any questions error caption outside float you might have Meta Discuss the workings and policies of this package caption error site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or package caption error something s wrong--perhaps a missing

package caption error small undefined

Package Caption Error Small Undefined table id toc tbody tr td div id toctitle Contents div ul li a href Package Caption Error Caption Outside Float a li li a href Latex Caption Sty a li li a href Latex Package Caption a li li a href Caption sty Not Found a li ul td tr tbody table p here for a quick overview of the site Help relatedl Center Detailed answers to any questions you might have undefined control sequence caption Meta Discuss the workings and policies of this site About Us Learn p h id Package Caption Error

package caption error

Package Caption Error table id toc tbody tr td div id toctitle Contents div ul li a href Caption sty Latex a li li a href Caption sty Not Found a li li a href Subfigure Latex a li ul td tr tbody table p here for a quick overview of the site Help relatedl 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 p h id Caption sty Latex p Learn more about Stack Overflow the company Business Learn more about

package caption error no float type

Package Caption Error No Float Type p here for a quick overview of the relatedl 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 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 Here's how it works Anybody

package caption error hang undefined

Package Caption Error Hang Undefined table id toc tbody tr td div id toctitle Contents div ul li a href Captionsetup Font Size a li li a href Latex Captionsetup Justification Left a li li a href Package Caption Error Caption Outside Float a li ul td tr tbody table p here for a quick overview of the site relatedl 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