From 2911c0d722819d85f8f1cd83d151822296f5ef9a Mon Sep 17 00:00:00 2001 From: Longman E <el7g15@soton.ac.uk> Date: Fri, 11 Jan 2019 19:10:09 +0000 Subject: [PATCH] Add example figure and Rebuilding Chapter outline --- Rebuilding.tex | 10 ++++++++++ figure.eps | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Rebuilding.tex create mode 100644 figure.eps diff --git a/Rebuilding.tex b/Rebuilding.tex new file mode 100644 index 0000000..300eb37 --- /dev/null +++ b/Rebuilding.tex @@ -0,0 +1,10 @@ +\chapter{Rebuilding the Templates}To change the templates you should understand how the templates are made. +The templates are built using the docstrip package. +"The packÂage preÂpares a \LaTeX kerÂnel or packÂage source file for acÂtual use, by reÂmovÂing the docÂuÂmenÂtaÂtion and meta-data" \citep{Docstrip} +It also creates a document containing some documentation for the created files. + +The docstrip utility comes as a latex package so when the main file (.dtx) is run with the command `latex ecsdocs.dtx` it creates all the class files plus the example templates. +When this tool is run it creates lots of auxiliary files. +To help with managing these auxiliary files GNU Make is used. + +"GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files."\citep{GNUdesc} diff --git a/figure.eps b/figure.eps new file mode 100644 index 0000000..ec21b4c --- /dev/null +++ b/figure.eps @@ -0,0 +1,51 @@ +%!PS-Adobe-3.0 +%%Title: figure.eps +%%Creator: ECSThesis.dtx + +%%BoundingBox: 0 150 600 650 +%%EndComments +0.0 setlinewidth +/length 0.1 def +/width 0.02 def +/hsvcircle { +gsave + /h 0.0 def + 0 4 360 { + pop + gsave + 0.5 0.0 translate + newpath + 0.0 0.0 moveto + length 0.0 lineto + length width lineto + 0.0 width lineto + closepath + h 1.0 1.0 sethsbcolor + fill + grestore + /h h 4 360 div add def + 4 rotate + } for +grestore +} def +0.0 setlinewidth +0.0 setgray +300 400 translate +500 500 scale +30 rotate +1.0 0.7 scale +-30 rotate +hsvcircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +hsvcircle +0.8 0.8 scale +hsvcircle +showpage -- GitLab