summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/SIstyle/readme_figs.txt
blob: 8243c350dc72bda12ff8e4ef38406da373974131 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
----------------------
   Graphic files
----------------------

   - unitstep.m   (Matlab source file)
   - grphset.m    (Matlab function)

   - fig1.mp      (MetaPost)
   - fig2.mp      (MetaPost)
   - mphead.tex   (LatexMP header)

   - MPfig.bat    (Dos batch file)

 The graphics were generated with Matlab and exported as eps
 files. With aid of GSview the eps files were translated to
 MetaPost source and edited by hand to obtain the current format
 
 The graphics files uses the latexmp metapost package for text
 output. The font setup is done in mphead.tex for both files.
 Note that latexmp requires the MetaPost file to be complied
 twice.

 Compilation:

 1. Edit mphead.tex for your font requirements.

 2. On Windows use MPfig.bat to obtain the mps
    and eps graphics output files:

      MPfig fig1
      MPfig fig2

    otherwise manually (e.g. for fig1.mp):

    a) mpost -tex=latex fig1.mp
    b) mpost -tex=latex fig1.mp

    c) copy fig1.1 fig1.mps

    d) Make a tex file fig1.tex

            \input{mphead}
            \usepackage[dvips]{graphicx}
            \pagestyle{empty}
            \begin{document}
            \includegraphics{fig1.1}
            \end{document}

    e) latex fig1.tex
    f) dvips -Ppdf -G0 -E fig1.dvi     (makes eps file)

    g) delete all the temporary files