blob: dc4334cc1c85352302fb46c98ceb7d2c83bae279 (
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
|
% This style defines some common macros for The logic design course (CS)
\ProvidesPackage{iitcsw-course}[2002/02/03 usefull stuff for logic design course]
% The following have to be defined
\newcommand\CourseName{úëï ìåâé}
\newcommand\CourseFullName{\CourseName \ \L{234262}} %or simply \CourseName
\newcommand\Semester{çåøó úùñ"á}
\newcommand\AssignmentSubject{îòáã ä-\L{MIPS}}
\newcommand\HWNum{2}
\providecommand{\FacultyName}{äô÷åìèä ìîãòé äîçùá}
% This is an example of overriding a "label". The Logic Design course has some
% strange habbits...
\renewcommand{\submittersname}{îâéùåú}
\newcommand{\Instructions}{
\noindent áùàìåú "àîøé÷àéåú" éù ìä÷éó áòéâåì àú äúùåáä äðëåðä åëï
ìäåñéó ðéîå÷ ÷öø.
\noindentàéï ìçøåâ îäî÷åí äîñåîï ìúùåáåú. ðéîå÷éí éåúø àøåëéí ìà ééáã÷å.
\noindentìúùåáåú ìà îðåî÷åú éåøãå ð÷åãåú.
\ExtraInstructions{}
}
%%%%%%%%%%%%%%%%%%%%
%
% Some ther macros used in our dcs:
%
\newcommand{\tpd}{\ensuremath{T_{pd}}}
\newcommand{\tcd}{\ensuremath{T_{cd}}}
\newcommand{\tsu}{\ensuremath{T_{su}}}
\newcommand{\thold}{\ensuremath{T_{h}}}
\newcommand{\tpcq}{\ensuremath{T_{p_{C\rightarrow Q}}}}
\newcommand{\mus}{\ensuremath{\mu s}}
\newcommand{\MIPS}{\embox{\textsc{Mips}}}
\newcommand{\ALU}{\embox{ALU}}
\newcommand{\BPC}{\embox{BPC}}
\newcommand{\PC}{\embox{PC}}
\newcommand{\IR}{\embox{IR}}
% We usually work with eepic macros generated frm xfig figures:
\newcommand\CenterFigure[1]{\L{\centering{\input{#1.eepic}}}}
|