On Wed, 23 Oct 2013 10:21:38 +0100, Rudra Banerjee
<
bnrj....@gmail.com> wrote:
>Any help please?
>
>On Tue, 2013-10-22 at 20:08 +0100, Rudra Banerjee wrote:
>> Hi friends,
>> Please check the pasted "minimal" latex file. its bit big, because I
>> have included "all" packages I use.
Don't do this. Provide a minimal example by removing one package at a
time (as well as preamble commands) keeping only what contributes to
the problem.
>> The problem is:
>> 1) while compiling, it is giving error:
>> Package caption Warning: \caption will not be redefined since it's
>> already
>> (caption) redefined by a document class or package which
>> is
>> (caption) unknown to the caption package.
>> See the caption package documentation for explanation.
The beamer class redefines \caption. Including just the 'subcaption'
package invokes this error. You should probably try to do without
'subcaption'.
Some errors I noticed:
>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>> % PACKAGES
>> \usepackage{
>> mathrsfs, amsmath, amsfonts, amssymb, makeidx,
>> graphics, textpos, color, everysel, amsthm,
>> epigraph, enumerate, mathrsfs, bm, amssymb,
>> amsbsy, mathtools, graphicx, sidecap, color,
>> tikz, pgf, xxcolor, subcaption
>> }
You have listed the packages 'mathrsfs', 'amssymb', and 'color'
twice each in this \usepackage command. Also you do not need
both 'graphics' and 'graphicx', the latter will input the former.
The 'color' package probably shouldn't be used used at all
when 'xxcolor' loads the 'xcolor' package, which is an alternative
to the 'color' package.
None of the packages you loade here (or later), except 'subcaption',
are needed to invoke the error you are concerned with.
Here is a truly minimal example:
%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{beamer}
\usepackage{subcaption}
\begin{document}
\begin{frame}
\frametitle{HI}
Try
\end{frame}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%
It appears that 'subcaption' and 'caption' are incompatible with
beamer. I don't know what you can do except try to get whatever
effect you want for captions without using 'subcaption'.
Dan
To reply by email, change LookInSig to luecking