diff options
author | prashant | 2016-01-30 12:25:22 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-01-30 13:05:18 +0530 |
commit | 205c03ca3b0c7caaf42ba2e7649edd4ee06ccc44 (patch) | |
tree | 7e4b74e141452039fe6d5618cd058d2a2e696e75 /latex | |
parent | 96743e5f2674f353030512da2a58db05658912c2 (diff) | |
download | DWSIM_textbook_companion-205c03ca3b0c7caaf42ba2e7649edd4ee06ccc44.tar.gz DWSIM_textbook_companion-205c03ca3b0c7caaf42ba2e7649edd4ee06ccc44.tar.bz2 DWSIM_textbook_companion-205c03ca3b0c7caaf42ba2e7649edd4ee06ccc44.zip |
Done minor changes and added submit all code notification for tbc reviver interface
Diffstat (limited to 'latex')
-rwxr-xr-x | latex/Initial_body | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/latex/Initial_body b/latex/Initial_body index b032dbd..c8d3576 100755 --- a/latex/Initial_body +++ b/latex/Initial_body @@ -1,58 +1,58 @@ \nonstopmode -\documentclass[12pt]{report} -\usepackage{hyperref} -\hypersetup{colorlinks=true,linkcolor=blue} -\usepackage{theorem,graphicx} -\usepackage{listings,alltt} -\bibliographystyle{plain} - - -\lstset{ %configuring the display of Dwsim codes - tabsize=4, - language=dwsim, - basicstyle=\ttfamily, - aboveskip={1\baselineskip}, - showstringspaces=false, - breaklines=true, - showspaces=false, - numbers=left, - numberstyle=\small, - stringstyle=\normalfont, - keywordstyle=\color{red}, - emph={clc, all, gca}, - emphstyle=\color{red}, - commentstyle=\color{blue}\normalfont} - - -% code environment -{\theorembodyfont{\rmfamily} \newtheorem{codemass}{Dwsim code}[chapter]} -\newenvironment{code}% -{\begin{codemass}}{\hrule \end{codemass}} - -{\theorembodyfont{\rmfamily} \newtheorem{accmass}{Acc}[chapter]} -\newenvironment{acc-code}% -{\begin{accmass}}{\end{accmass}} - - -% create listing for code - -\newcommand\tcaption[1] - {\addcontentsline{cod}{section}{\protect\numberline {\thecodemass}#1}} -\makeatletter \newcommand\listofcode - {\chapter*{List of Dwsim Codes\markboth% - {\bf List of Dwsim Codes}{}}% -\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{5em}}% -\addcontentsline{toc}{chapter}{\protect\numberline{List of Dwsim Codes}} -\@starttoc{cod}} -\newcommand\l@matlab[3] - {#1 \par\noindent#2, #3 \par} -\renewcommand\@pnumwidth{2.1em} -%\makeatother - -\makeatletter -\def\curlable#1{\def\thecodemass{#1}\def\@currentlabel{#1}} -\makeatother - -\newcommand{\coderef}[1]{Exa~\ref{#1}} -\newcommand{\figref}[1]{Fig.~\ref{#1}} +\documentclass[12pt]{report}
+\usepackage{hyperref}
+\hypersetup{colorlinks=true,linkcolor=blue}
+\usepackage{theorem,graphicx}
+\usepackage{listings,alltt}
+\bibliographystyle{plain}
+
+
+\lstset{ %configuring the display of scilab codes
+ tabsize=4,
+ language=scilab,
+ basicstyle=\ttfamily,
+ aboveskip={1\baselineskip},
+ showstringspaces=false,
+ breaklines=true,
+ showspaces=false,
+ numbers=left,
+ numberstyle=\small,
+ stringstyle=\normalfont,
+ keywordstyle=\color{red},
+ emph={clc, all, gca},
+ emphstyle=\color{red},
+ commentstyle=\color{blue}\normalfont}
+
+
+% code environment
+{\theorembodyfont{\rmfamily} \newtheorem{codemass}{Scilab code}[chapter]}
+\newenvironment{code}%
+{\begin{codemass}}{\hrule \end{codemass}}
+
+{\theorembodyfont{\rmfamily} \newtheorem{accmass}{Acc}[chapter]}
+\newenvironment{acc-code}%
+{\begin{accmass}}{\end{accmass}}
+
+
+% create listing for code
+
+\newcommand\tcaption[1]
+ {\addcontentsline{cod}{section}{\protect\numberline {\thecodemass}#1}}
+\makeatletter \newcommand\listofcode
+ {\chapter*{List of Scilab Codes\markboth%
+ {\bf List of Scilab Codes}{}}%
+\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{5em}}%
+\addcontentsline{toc}{chapter}{\protect\numberline{List of Scilab Codes}}
+\@starttoc{cod}}
+\newcommand\l@matlab[3]
+ {#1 \par\noindent#2, #3 \par}
+\renewcommand\@pnumwidth{2.1em}
+%\makeatother
+
+\makeatletter
+\def\curlable#1{\def\thecodemass{#1}\def\@currentlabel{#1}}
+\makeatother
+
+\newcommand{\coderef}[1]{Exa~\ref{#1}}
+\newcommand{\figref}[1]{Fig.~\ref{#1}}
|