File: sc3demo.tex

package info (click to toggle)
tetex-src 2.0.2a-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 71,124 kB
  • ctags: 1,576
  • sloc: makefile: 1,764; sh: 1,181; perl: 925; lisp: 342; python: 251; sed: 138; ansic: 138; xml: 96; yacc: 52
file content (35 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% `sc3demo.tex'
%
% Rolf Niepraschk, 2000/03/12

\documentclass{article}

\usepackage{sidecap}

\makeatletter
  \renewenvironment{SCfigure}{\SC@float[t]{figure}}
                             {\endSC@float}
  \renewenvironment{SCfigure*}{\SC@dblfloat[t]{figure}}
                              {\endSC@dblfloat}
\makeatother

\setlength\unitlength{1cm}
\newcommand{\FIGi}{%
   \fbox{%
     \begin{picture}(4,6)
       \put(1,5){\circle{1}}
       \put(3,5){\circle{1}}
       \put(2,3){\circle{1}}
       \put(1,1){\circle{1}}
       \put(3,1){\circle{1}}     
     \end{picture}}
}

\begin{document}

\begin{SCfigure}
  \FIGi
  \caption{`SCfigure' modified\dots}
\end{SCfigure}

\end{document}