summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStultus <hrishi.kb@gmail.com>2012-07-08 11:24:34 +0530
committerStultus <hrishi.kb@gmail.com>2012-07-08 11:24:34 +0530
commitac373c86fafeb08bc9a525318c032886ec271661 (patch)
tree2c34b16935f7f850e40569109f1052fff1585662
parente7d4f5157cbc96b5c8f794ed9e74b8b1ff7aee95 (diff)
downloadlogbook-of-an-observer-ac373c86fafeb08bc9a525318c032886ec271661.tar.gz
logbook-of-an-observer-ac373c86fafeb08bc9a525318c032886ec271661.tar.xz
logbook-of-an-observer-ac373c86fafeb08bc9a525318c032886ec271661.zip
Cleaning/documenting
-rw-r--r--Logbook.pdfbin173216 -> 175203 bytes
-rw-r--r--Logbook.tex53
-rw-r--r--log.sty34
3 files changed, 51 insertions, 36 deletions
diff --git a/Logbook.pdf b/Logbook.pdf
index 47a0227..1ec91fb 100644
--- a/Logbook.pdf
+++ b/Logbook.pdf
Binary files differ
diff --git a/Logbook.tex b/Logbook.tex
index 95de573..c341c94 100644
--- a/Logbook.tex
+++ b/Logbook.tex
@@ -1,39 +1,9 @@
-
\documentclass[10pt,twoside,draft]{book}
-\usepackage[
- inner=0.75in,
- outer=0.75in,
- top=0.75in,
- bottom=0.75in,
- paperwidth=15cm,
- paperheight=20cm]{geometry}
-\usepackage{fontspec}
-\usepackage{xltxtra}
-\usepackage[meera]{mlym}
\usepackage{log}
-\usepackage{fancyhdr}
-\usepackage[final]{microtype}
-\usepackage{polyglossia}
-
-
-
-\pagestyle{fancy}
-\fancyhead{}
-\fancyfoot{}
-
-\renewcommand{\headrulewidth}{0pt}
-\renewcommand{\footrulewidth}{0pt}
-
-\linespread{1.1}
-\widowpenalty=10000
-\clubpenalty=10000
-\raggedbottom
-\sloppy
-
-%\newcommand{\sectionbreak}{\medskip\centerline{\S}\medskip}
-\newcommand{\secstar}[1]{\section*{\addcontentsline{toc}{section}{#1}\centering #1}}
\begin{document}
+
+%------------------------------Title Page --------------------------------------
~
\vfill
{
@@ -53,6 +23,8 @@
\vfill
~
\newpage
+%------------------------------Dedication --------------------------------------
+\frontmatter
~
\vfill
@@ -61,7 +33,8 @@ Lets add the License/dedication here
\vfill
~
-\mainmatter
+%------------------------------Define Page Headers------------------------------
+
\fancyhead[RO,LE]{\thepage}
\fancyhead[CO]{\emph{Logbook of an Observer}}
\fancyhead[CE]{\emph{ഒരു നിരീക്ഷകന്റെ കുറിപ്പുകള്‍}}
@@ -75,12 +48,17 @@ Lets add the License/dedication here
\fancyfoot[CE]{\thepage}
}
+%--------Autogenerated Table of Contents----------------------------------------
+\tableofcontents
-\frontmatter
-\tableofcontents %have to write Logbook.toc - Hrishi
+
+%-----------------Articles------------------------------------------------------
\mainmatter
\input{foreword.tex}
+
+% Blog Posts
+\chapter{Blog Posts}
\input{firstpost.tex}
\input{politics.tex}
\input{mobile.tex}
@@ -97,12 +75,17 @@ Lets add the License/dedication here
\input{asuseeepcmigo.tex}
\input{studentpolitics.tex}
\input{evaluatingfosscontributions.tex}
+%--------------------
+
+
% Hospital Logs
+\chapter{Hospital Logs}
\input{blog1.tex}
\input{blog2.tex}
\input{blog3.tex}
\input{blog4.tex}
+%----------------------
\backmatter
\end{document}
diff --git a/log.sty b/log.sty
index 6a8fcfe..f8e089a 100644
--- a/log.sty
+++ b/log.sty
@@ -1,9 +1,41 @@
+\usepackage[
+ inner=0.75in,
+ outer=0.75in,
+ top=0.75in,
+ bottom=0.75in,
+ paperwidth=15cm,
+ paperheight=20cm]{geometry}
+\usepackage{fontspec}
+\usepackage{xltxtra}
+\usepackage[meera]{mlym}
+\usepackage{fancyhdr}
+\usepackage[final]{microtype}
+\usepackage{polyglossia}
+
\usepackage{url}
+\pagestyle{fancy}
+\fancyhead{}
+\fancyfoot{}
+
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+
+\linespread{1.1}
+\widowpenalty=10000
+\clubpenalty=10000
+\raggedbottom
+\sloppy
+
+
+
+
+\newcommand{\secstar}[1]{\section*{\addcontentsline{toc}{section}{#1}\centering #1}}
+
%% Define a new 'leo' style for the package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
%% Now actually use the newly defined style.
-\urlstyle{leo} \ No newline at end of file
+\urlstyle{leo}