Graphics, Figures & TablesNeed help with inserting figures with a old style file

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
animagupta
Posts: 2
Joined: Mon Aug 24, 2015 10:03 pm

Need help with inserting figures with a old style file

Post by animagupta »

I am using the following custom style sheet with
\documentclass[12pt,gensymb,lmodern,textcomp]{iiscthes} and for
some strange reason the \figure and caption commands does not work. Please suggest. I have used \usepackage{cclicenses,graphicx} and \usepackage{caption} for graph processing.
I have a PhD thesis to submit in 2 days and have written for support from the style sheet creator- if anybody can help me here, it willbe really nice :-)

Code: Select all

Code, edit and compile here:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% iiscthes.sty %
% ------------ %
% Indian Institute of Science thesis style %
% -- modifications to the report style %
% For LaTeX version 2.09 %
% %
% By Sanjay R. Chitnis, CSA %
% %
% Based on the Stanford University and MIT thesis styles. %
% Send any bugs / suggestions for modifications to %
% csa!chitnis@vigyan.ernet.in %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Version 1.1 Nov. 19, 1991 %
% New fonts for title page %
% Version 1.0 April 14,1991 %
% iisclogo added %
% Version 0.0 Sept 14,1990 %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% You are free to copy and modify this style; however if you modify, %
% you should change the name to something other than iiscthes.sty. %
% If you do not have any of the used style files / fonts etc., you %
% will have to modify this style. %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\typeout{Document Style Option `iiscthes' Ver 1.0 <14 Apr 91>.}
\input report.sty
\long\def\comment#1{}
\comment{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Contents:
---------
1. Example of use :removed to thessamp.tex
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Need help with inserting figures with a old style file

Post by Johannes_B »

It is impossible to use modern package commands with LaTeX2.09

Code: Select all

Code, edit and compile here:
\documentstyle[graphicx]{iiscthes}
\begin{document}
\begin{figure}
\includegraphic[width=.5\textwidth]{example-image-a}
\caption{is this working?}
\end{figure}
hallo
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Using documentclass as in your example should fail in that very line with the file iiscthes.sty.


Do you need that file? Try report instead of iiscthes.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply