Error No Counter Subfigure Save Defined
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 this site undefined control sequence subfloat About Us Learn more about Stack Overflow the company Business Learn more about hiring lyx subfigure caption developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX \subfloat 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 environment subfigure undefined. \begin{subfigure} a question Anybody can answer The best answers are voted up and rise to the top **“No counter 'subfigure@save defined.”** -subfig error [closed] up vote 5 down vote favorite I have used subfig package to compile the following code. The code was running fine in linux machine (That too without loading the 'subfig' package). Now in Windows machine, I am having error message: No counter 'subfigure@save defined. Code: \usepackage{multicol}
Subcaption
\usepackage{dcolumn} \usepackage{graphicx} \usepackage{textcomp} \usepackage{amsmath} \usepackage{subcaption} \usepackage{float} \usepackage{subfig} \begin{minipage}{.5\linewidth} \centering \subfloat[]{\label{mathm1a}\includegraphics[scale=0.5]{1}} \end{minipage}% \begin{minipage}{.5\linewidth} \centering \subfloat[]{\label{1}\includegraphics[scale=0.5]{2}} \end{minipage}\par\medskip \centering \subfloat[]{\label{2}\includegraphics[scale=0.5]{3}} \caption[Free-wake model] model} \label{fig:main} \end{figure} I tried shifting the placement of subcaption package and subfig to no use. Any help on what the error means and why I am getting it is acknowledged gratefully. subfloats subcaption share|improve this question edited Sep 18 '15 at 14:37 clemens 40.9k299203 asked Nov 2 '14 at 17:50 Vasanth 2612 closed as unclear what you're asking by egreg, Andrew, Svend Tveskæg, lockstep, Christian Hupfer Jan 17 at 12:32 Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question. 2 You shouldn't mix the use of subfig and subcaption. Use one or the other. It seems like, in your case, you're using the interface of subfig, so drop subcaption. –Werner Nov 2 '14 at 18:32 Thanks Werner. As my tex document was working fine with subcaption, I used them liberally in the whole d
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Latex Subfigure Package
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 http://tex.stackexchange.com/questions/210208/no-counter-subfiguresave-defined-subfig-error Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top No counter 'subfigure
in Windows: Install MiKTeX. Run the update wizard to get the latest updates. Add your favorite document classes https://computationecon.wordpress.com/category/software/lyx/ (e.g., Elsevier journal articles) to the path C:\Users\AppData\Roaming\MiKTeX\2.9\tex. [AppData does not appear in my pc because it's hidden. Check by launching Windows Explorer then click on the http://www.guit.sssup.it/phpbb/viewtopic.php?t=7403 View menu on the ribbon, now tick ‘Hidden items'.]. Rehash by running texhash, or /miktex/bin/texhash.exe (on Windows this may be in C:\Programs). Install LyX. Click Tools > error no Reconfigure, and restart it. Written by Jingjing Wang 04/26/2015 at 12:13 am Posted in LyX convert latex to rtf (doc,odt) leave a comment » Download latex2rtf: http://latex2rtf.sourceforge.net/ 1. run LaTex first to get .aux file 2. run latex2rtf to get rtf and open it in Word Note: Many templates' commands cannot be recognized. latex2rtf default set: \documentclass{article}. Delete error no counter \begin{article} and \end{article} in the template if there is errors during compiling. Written by Jingjing Wang 07/02/2013 at 12:28 pm Posted in LyX Insert matlab code intoLaTex leave a comment » Download "M-code LaTeX Package" from Mathworks webpage Copy mcode.style to the folder C:\Program Files\MiKTeX 2.9\tex\latex\xcolor. Add the following in the preamble:\usepackage{listings} \usepackage{xcolor} \usepackage{textcomp} \usepackage[numbered,framed]{mcode} In LyX, insert a TeX code box. Insert m-code inline: \mcode{for i=1:3, disp(‘cool'); end;} Insert m-code blocks: (% it's a mess when copy and paste. prefer the 3rd approach) \begin{lstlisting} % Plot expected state and policy path a = [a; c(:)']; r = a'; \end{lstlisting} Insert a m-code file: \lstinputlisting[firstline=110, lastline=117]{/weed.m} Written by Jingjing Wang 10/23/2012 at 11:14 am Posted in LyX Break long formulas in a cell of "cases environment" leave a comment » \begin{split} …..\\ …. \end{split} Insert the formula between the two commands. Wherever you want to break the line, insert ‘\\' (without the quotes) Written by Jingjing Wang 05/04/2012 at 4:43 pm Posted in Ly