release
Erik Dominikus 2014-02-19 01:23:11 +07:00
commit 5ae2af92e3
34 changed files with 7398 additions and 0 deletions

5
PEOPLE Normal file
View File

@ -0,0 +1,5 @@
Andreas Febrian
Lia Sadita
Fahrurrozi Rahman
Andre Tampubolon
Erik Dominikus

10
README Normal file
View File

@ -0,0 +1,10 @@
2010-12-23
Template ini dibuat oleh Andreas Febrian (Fasilkom UI 2003)
dan disebarluaskan oleh Erik Dominikus (Fasilkom UI 2007).
Orang yang membaca karya Anda tidak peduli cara Anda buat karya itu;
mereka hanya mau tahu karya itu bagus.
Selamat menggunakan template ini.

27
abstract.tex Normal file
View File

@ -0,0 +1,27 @@
%
% Halaman Abstract
%
% @author Andreas Febrian
% @version 1.00
%
\chapter*{ABSTRACT}
\vspace*{0.2cm}
\noindent \begin{tabular}{l l p{11.0cm}}
Name&: & \penulis \\
Program&: & \program \\
Title&: & \judulInggris \\
\end{tabular} \\
\vspace*{0.5cm}
\noindent \todo{Write your abstract here.}\\
\vspace*{0.2cm}
\noindent Keywords: \\
\noindent \todo{Write up keywords about your report here.}
\newpage

28
abstrak.tex Normal file
View File

@ -0,0 +1,28 @@
%
% Halaman Abstrak
%
% @author Andreas Febrian
% @version 1.00
%
\chapter*{Abstrak}
\vspace*{0.2cm}
\noindent \begin{tabular}{l l p{10cm}}
Nama&: & \penulis \\
Program Studi&: & \program \\
Judul&: & \judul \\
\end{tabular} \\
\vspace*{0.5cm}
\noindent \todo{Tuliskan abstrak laporan disini.} \\
\vspace*{0.2cm}
\noindent Kata Kunci: \\
\noindent \todo{Tuliskan kata kunci yang berhubungan dengan laporan
disini} \\
\newpage

15
acknowledgement.txt Normal file
View File

@ -0,0 +1,15 @@
Ketentuan mengenai lisensi hanya berlaku untuk template.
Dokumen yang dibuat dengan menggunakan template tersebut sepenuhnya menjadi
milik penulis dan dapat didistribusikan sesuai dengan keperluan masing-masing.
Setiap template baru yang dibuat dari template ini harus mengikuti aturan
yang tertera dalam template_license.txt.
Penulis Template: Andreas Febrian
Kontributor:
- Lia Sadita
- Fahrurrozi Rahman
- Andre Tampubolon
- Erik Dominikus

71
bab1.tex Normal file
View File

@ -0,0 +1,71 @@
%-----------------------------------------------------------------------------%
\chapter{\babSatu}
%-----------------------------------------------------------------------------%
\todo{tambahkan kata-kata pengantar bab 1 disini}
%-----------------------------------------------------------------------------%
\section{Latar Belakang}
%-----------------------------------------------------------------------------%
\todo{tuliskan latar belakang penelitian disini}
%-----------------------------------------------------------------------------%
\section{Permasalahan}
%-----------------------------------------------------------------------------%
Pada bagian ini akan dijelaskan mengenai definisi permasalahan
yang \saya~hadapi dan ingin diselesaikan serta asumsi dan batasan
yang digunakan dalam menyelesaikannya.
%-----------------------------------------------------------------------------%
\subsection{Definisi Permasalahan}
%-----------------------------------------------------------------------------%
\todo{Tuliskan permasalahan yang ingin diselesaikan. Bisa juga
berbentuk pertanyaan}
%-----------------------------------------------------------------------------%
\subsection{Batasan Permasalahan}
%-----------------------------------------------------------------------------%
\todo{Umumnya ada asumsi atau batasan yang digunakan untuk
menjawab pertanyaan-pertanyaan penelitian diatas.}
%-----------------------------------------------------------------------------%
\section{Tujuan}
%-----------------------------------------------------------------------------%
\todo{Tuliskan tujuan penelitian.}
%-----------------------------------------------------------------------------%
\section{Posisi Penelitian}
%-----------------------------------------------------------------------------%
\todo{Posisi penelitian Anda jika dilihat secara bersamaan dengan
peneliti-peneliti lainnya. Akan lebih baik lagi jika ikut menyertakan
diagram yang menjelaskan hubungan dan keterkaitan antar
penelitian-penelitian sebelumnya}
%-----------------------------------------------------------------------------%
\section{Metodologi Penelitian}
%-----------------------------------------------------------------------------%
\todo{Tuliskan metodologi penelitian yang digunakan.}
%-----------------------------------------------------------------------------%
\section{Sistematika Penulisan}
%-----------------------------------------------------------------------------%
Sistematika penulisan laporan adalah sebagai berikut:
\begin{itemize}
\item Bab 1 \babSatu \\
\item Bab 2 \babDua \\
\item Bab 3 \babTiga \\
\item Bab 4 \babEmpat \\
\item Bab 5 \babLima \\
\item Bab 6 \babEnam \\
\item Bab 7 \kesimpulan \\
\end{itemize}
\todo{Tambahkan penjelasan singkat mengenai isi masing-masing bab.}

206
bab2.tex Normal file
View File

@ -0,0 +1,206 @@
%-----------------------------------------------------------------------------%
\chapter{\babDua}
%-----------------------------------------------------------------------------%
\todo{tambahkan kata-kata pengantar bab 2 disini}
%-----------------------------------------------------------------------------%
\section{\latex~Secara Singkat}
%-----------------------------------------------------------------------------%
Berdasarkan \cite{latex.intro}: \\
\begin{tabular}{| p{13cm} |}
\hline
\\
LaTeX is a family of programs designed to produce publication-quality
typeset documents. It is particularly strong when working with
mathematical symbols. \\
The history of LaTeX begins with a program called TEX. In 1978, a
computer scientist by the name of Donald Knuth grew frustrated with the
mistakes that his publishers made in typesetting his work. He decided
to create a typesetting program that everyone could easily use to
typeset documents, particularly those that include formulae, and made
it freely available. The result is TEX. \\
Knuth's product is an immensely powerful program, but one that does
focus very much on small details. A mathematician and computer
scientist by the name of Leslie Lamport wrote a variant of TEX called
LaTeX that focuses on document structure rather than such details. \\
\\
\hline
\end{tabular}
\vspace*{0.8cm}
Dokumen \latex~sangat mudah, seperti halnya membuat dokumen teks biasa. Ada
beberapa perintah yang diawali dengan tanda '\bslash'.
Seperti perintah \bslash\bslash~yang digunakan untuk memberi baris baru.
Perintah tersebut juga sama dengan perintah \bslash newline.
Pada bagian ini akan sedikit dijelaskan cara manipulasi teks dan
perintah-perintah \latex~yang mungkin akan sering digunakan.
Jika ingin belajar hal-hal dasar mengenai \latex, silahkan kunjungi:
\begin{itemize}
\item \url{http://frodo.elon.edu/tutorial/tutorial/}, atau
\item \url{http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/}
\end{itemize}
%-----------------------------------------------------------------------------%
\section{\latex~Kompiler dan IDE}
%-----------------------------------------------------------------------------%
Agar dapat menggunakan \latex~(pada konteks hanya sebagai pengguna), Anda
tidak perlu banyak tahu mengenai hal-hal didalamnya.
Seperti halnya pembuatan dokumen secara visual (contohnya Open Office (OO)
Writer), Anda dapat menggunakan \latex~dengan cara yang sama.
Orang-orang yang menggunakan \latex~relatif lebih teliti dan terstruktur
mengenai cara penulisan yang dia gunakan, \latex~memaksa Anda untuk seperti
itu.
Kembali pada bahasan utama, untuk mencoba \latex~Anda cukup mendownload
kompiler dan IDE. Saya menyarankan menggunakan Texlive dan Texmaker.
Texlive dapat didownload dari \url{http://www.tug.org/texlive/}.
Sedangkan Texmaker dapat didownload dari
\url{http://www.xm1math.net/texmaker/}.
Untuk pertama kali, coba buka berkas thesis.tex dalam template yang Anda miliki
pada Texmaker.
Dokumen ini adalah dokumen utama.
Tekan F6 (PDFLaTeX) dan Texmaker akan mengkompilasi berkas tersebut menjadi
berkas PDF.
Jika tidak bisa, pastikan Anda sudah menginstall Texlive.
Buka berkas tersebut dengan menekan F7.
Hasilnya adalah sebuah dokumen yang sama seperti dokumen yang Anda baca saat
ini.
%-----------------------------------------------------------------------------%
\section{Bold, Italic, dan Underline}
%-----------------------------------------------------------------------------%
Hal pertama yang mungkin ditanyakan adalah bagaimana membuat huruf tercetak
tebal, miring, atau memiliki garis bawah.
Pada Texmaker, Anda bisa melakukan hal ini seperti halnya saat mengubah dokumen
dengan OO Writer.
Namun jika tetap masih tertarik dengan cara lain, ini dia:
\begin{itemize}
\item \bo{Bold} \\
Gunakan perintah \bslash textbf$\lbrace\rbrace$ atau
\bslash bo$\lbrace\rbrace$.
\item \f{Italic} \\
Gunakan perintah \bslash textit$\lbrace\rbrace$ atau
\bslash f$\lbrace\rbrace$.
\item \underline{Underline} \\
Gunakan perintah \bslash underline$\lbrace\rbrace$.
\item $\overline{Overline}$ \\
Gunakan perintah \bslash overline.
\item $^{superscript}$ \\
Gunakan perintah \bslash $\lbrace\rbrace$.
\item $_{subscript}$ \\
Gunakan perintah \bslash \_$\lbrace\rbrace$.
\end{itemize}
Perintah \bslash f dan \bslash bo hanya dapat digunakan jika package
uithesis digunakan.
%-----------------------------------------------------------------------------%
\section{Memasukan Gambar}
%-----------------------------------------------------------------------------%
Setiap gambar dapat diberikan caption dan diberikan label. Label dapat
digunakan untuk menunjuk gambar tertentu.
Jika posisi gambar berubah, maka nomor gambar juga akan diubah secara
otomatis.
Begitu juga dengan seluruh referensi yang menunjuk pada gambar tersebut.
Contoh sederhana adalah \pic~\ref{fig:testGambar}.
Silahkan lihat code \latex~dengan nama bab2.tex untuk melihat kode lengkapnya.
Harap diingat bahwa caption untuk gambar selalu terletak dibawah gambar.
\begin{figure}
\centering
\includegraphics[width=0.50\textwidth]
{pics/creative_common.png}
\caption{\license.}
\label{fig:testGambar}
\end{figure}
%-----------------------------------------------------------------------------%
\section{Membuat Tabel}
%-----------------------------------------------------------------------------%
Seperti pada gambar, tabel juga dapat diberi label dan caption.
Caption pada tabel terletak pada bagian atas tabel.
Contoh tabel sederhana dapat dilihat pada \tab~\ref{tab:tab1}.
\begin{table}
\centering
\caption{Contoh Tabel}
\label{tab:tab1}
\begin{tabular}{| l | c r |}
\hline
& kol 1 & kol 2 \\
\hline
baris 1 & 1 & 2 \\
baris 2 & 3 & 4 \\
baris 3 & 5 & 6 \\
jumlah & 9 & 12 \\
\hline
\end{tabular}
\end{table}
Ada jenis tabel lain yang dapat dibuat dengan \latex~berikut
beberapa diantaranya.
Contoh-contoh ini bersumber dari
\url{http://en.wikibooks.org/wiki/LaTeX/Tables}
\begin{table}
\centering
\caption{An Example of Rows Spanning Multiple Columns}
\label{row.spanning}
\begin{tabular}{|l|l|*{6}{c|}}
\hline % create horizontal line
No & Name & \multicolumn{3}{|c|}{Week 1} & \multicolumn{3}{|c|}{Week 2} \\
\cline{3-8} % create line from 3rd column till 8th column
& & A & B & C & A & B & C\\
\hline
1 & Lala & 1 & 2 & 3 & 4 & 5 & 6\\
2 & Lili & 1 & 2 & 3 & 4 & 5 & 6\\
3 & Lulu & 1 & 2 & 3 & 4 & 5 & 6\\
\hline
\end{tabular}
\end{table}
\begin{table}
\centering
\caption{An Example of Columns Spanning Multiple Rows}
\label{column.spanning}
\begin{tabular}{|l|c|l|}
\hline
Percobaan & Iterasi & Waktu \\
\hline
Pertama & 1 & 0.1 sec \\ \hline
\multirow{2}{*}{Kedua} & 1 & 0.1 sec \\
& 3 & 0.15 sec \\
\hline
\multirow{3}{*}{Ketiga} & 1 & 0.09 sec \\
& 2 & 0.16 sec \\
& 3 & 0.21 sec \\
\hline
\end{tabular}
\end{table}
\begin{table}
\centering
\caption{An Example of Spanning in Both Directions Simultaneously}
\label{mix.spanning}
\begin{tabular}{cc|c|c|c|c|}
\cline{3-6}
& & \multicolumn{4}{|c|}{Title} \\ \cline{3-6}
& & A & B & C & D \\ \hline
\multicolumn{1}{|c|}{\multirow{2}{*}{Type}} &
\multicolumn{1}{|c|}{X} & 1 & 2 & 3 & 4\\ \cline{2-6}
\multicolumn{1}{|c|}{} &
\multicolumn{1}{|c|}{Y} & 0.5 & 1.0 & 1.5 & 2.0\\ \cline{1-6}
\multicolumn{1}{|c|}{\multirow{2}{*}{Resource}} &
\multicolumn{1}{|c|}{I} & 10 & 20 & 30 & 40\\ \cline{2-6}
\multicolumn{1}{|c|}{} &
\multicolumn{1}{|c|}{J} & 5 & 10 & 15 & 20\\ \cline{1-6}
\end{tabular}
\end{table}

71
bab3.tex Normal file
View File

@ -0,0 +1,71 @@
%-----------------------------------------------------------------------------%
\chapter{\babTiga}
%-----------------------------------------------------------------------------%
\todo{tambahkan kata-kata pengantar bab 1 disini}
%-----------------------------------------------------------------------------%
\section{Satu Persamaan}
%-----------------------------------------------------------------------------%
\noindent \begin{align}\label{eq:garis}
\cfrac{y - y_{1}}{y_{2} - y_{1}} =
\cfrac{x - x_{1}}{x_{2} - x_{1}}
\end{align}
\equ~\ref{eq:garis} diatas adalah persamaan garis.
\equ~\ref{eq:garis} dan \ref{eq:bola} sama-sama dibuat dengan perintah \bslash
align.
Perintah ini juga dapat digunakan untuk menulis lebih dari satu persamaan.
\noindent \begin{align}\label{eq:bola}
\underbrace{|\overline{ab}|}_{\text{pada bola $|\overline{ab}| = r$}}
= \sqrt[2]{(x_{b} - x_{a})^{2} + (y_{b} - y_{a})^{2} +
\vert\vert(z_{b} - z_{a})^{2}}
\end{align}
%-----------------------------------------------------------------------------%
\section{Lebih dari Satu Persamaan}
\label{sec:multiEqu}
%-----------------------------------------------------------------------------%
\noindent \begin{align}\label{eq:matriks}
|\overline{a} * \overline{b}| &= |\overline{a}| |\overline{b}| \sin\theta
\\[0.2cm]
\overline{a} * \overline{b} &=
\begin{array}{| c c c |}
\hat{i} & x_{1} & x_{2} \\
\hat{j} & y_{1} & y_{2} \\
\hat{k} & z_{1} & z_{2} \\
\end{array} \nonumber \\[0.2cm]
&= \hat{i} \,
\begin{array}{ | c c | }
y_{1} & y_{2} \\
z_{1} & z_{2} \\
\end{array}
+ \hat{j} \,
\begin{array}{ | c c | }
z_{1} & z_{2} \\
x_{1} & x_{2} \\
\end{array}
+ \hat{k} \,
\begin{array}{ | c c | }
x_{1} & x_{2} \\
y_{1} & y_{2} \\
\end{array}
\nonumber
\end{align}
Pada \equ~\ref{eq:matriks} dapat dilihat beberapa baris menjadi satu bagian
dari \equ~\ref{eq:matriks}.
Sedangkan dibawah ini dapat dilihat bahwa dengan cara yang sama, \equ~
\ref{eq:gabungan1}, \ref{eq:gabungan2}, dan \ref{eq:gabungan3} memiliki nomor
persamaannya masing-masing.
\noindent \begin{align}\label{eq:gabungan1}
\int_{a}^{b} f(x)\, dx + \int_{b}^{c} f(x) \, dx = \int_{a}^{c} f(x) \, dx
\\\label{eq:gabungan2}
\lim_{x \to \infty} \frac{f(x)}{g(x)} = 0 \hspace{1cm}
\text{jika pangkat $f(x)$ $<$ pangkat $g(x)$} \\\label{eq:gabungan3}
a^{m^{a \, ^{n}\log b }} = b^{\frac{m}{n}}
\end{align}

70
bab4.tex Normal file
View File

@ -0,0 +1,70 @@
%-----------------------------------------------------------------------------%
\chapter{\babEmpat}
%-----------------------------------------------------------------------------%
\todo{tambahkan kata-kata pengantar bab 1 disini}
%-----------------------------------------------------------------------------%
\section{thesis.tex}
%-----------------------------------------------------------------------------%
Berkas ini berisi seluruh berkas Latex yang dibaca, jadi bisa dikatakan sebagai
berkas utama. Dari berkas ini kita dapat mengatur bab apa saja yang ingin
kita tampilkan dalam dokumen.
%-----------------------------------------------------------------------------%
\section{laporan\_setting.tex}
%-----------------------------------------------------------------------------%
Berkas ini berguna untuk mempermudah pembuatan beberapa template standar.
Anda diminta untuk menuliskan judul laporan, nama, npm, dan hal-hal lain yang
dibutuhkan untuk pembuatan template.
%-----------------------------------------------------------------------------%
\section{istilah.tex}
%-----------------------------------------------------------------------------%
Berkas istilah digunakan untuk mencatat istilah-istilah yang digunakan.
Fungsinya hanya untuk memudahkan penulisan.
Pada beberapa kasus, ada kata-kata yang harus selalu muncul dengan tercetak
miring atau tercetak tebal.
Dengan menjadikan kata-kata tersebut sebagai sebuah perintah \latex~tentu akan
mempercepat dan mempermudah pengerjaan laporan.
%-----------------------------------------------------------------------------%
\section{hype.indonesia.tex}
%-----------------------------------------------------------------------------%
Berkas ini berisi cara pemenggalan beberapa kata dalam bahasa Indonesia.
\latex~memiliki algoritma untuk memenggal kata-kata sendiri, namun untuk
beberapa kasus algoritma ini memenggal dengan cara yang salah.
Untuk memperbaiki pemenggalan yang salah inilah cara pemenggalan yang benar
ditulis dalam berkas hype.indonesia.tex.
%-----------------------------------------------------------------------------%
\section{pustaka.tex}
%-----------------------------------------------------------------------------%
Berkas pustaka.tex berisi seluruh daftar referensi yang digunakan dalam
laporan.
Anda bisa membuat model daftar referensi lain dengan menggunakan bibtex.
Untuk mempelajari bibtex lebih lanjut, silahkan buka
\url{http://www.bibtex.org/Format}.
Untuk merujuk pada salah satu referensi yang ada, gunakan perintah \bslash
cite, e.g. \bslash cite\{latex.intro\} yang akan akan memunculkan
\cite{latex.intro}
%-----------------------------------------------------------------------------%
\section{bab[1 - 6].tex}
%-----------------------------------------------------------------------------%
Berkas ini berisi isi laporan yang Anda tulis.
Setiap nama berkas e.g. bab1.tex merepresentasikan bab dimana tulisan tersebut
akan muncul.
Sebagai contoh, kode dimana tulisan ini dibaut berada dalam berkas dengan nama
bab4.tex.
Ada enam buah berkas yang telah disiapkan untuk mengakomodir enam bab dari
laporan Anda, diluar bab kesimpulan dan saran.
Jika Anda tidak membutuhkan sebanyak itu, silahkan hapus kode dalam berkas
thesis.tex yang memasukan berkas \latex~yang tidak dibutuhkan; contohnya
perintah \bslash include\{bab6.tex\} merupakan kode untuk memasukan berkas
bab6.tex kedalam laporan.

80
bab5.tex Normal file
View File

@ -0,0 +1,80 @@
%-----------------------------------------------------------------------------%
\chapter{\babLima}
%-----------------------------------------------------------------------------%
\todo{Tambahkan kata-kata pengantar bab 5 disini.}
%-----------------------------------------------------------------------------%
\section{Mengubah Tampilan Teks}
%-----------------------------------------------------------------------------%
Beberapa perintah yang dapat digunakan untuk mengubah tampilan adalah:
\begin{itemize}
\item \bslash f \\
Merupakan alias untuk perintah \bslash textit, contoh
\f{contoh hasil tulisan}.
\item \bslash bi \\
\bi{Contoh hasil tulisan}.
\item \bslash bo \\
\bo{Contoh hasil tulisan}.
\item \bslash m \\
\m{Contoh hasil tulisan}.
\item \bslash mc \\
\mc{Contoh hasil tulisan}.
\item \bslash code \\
\code{Contoh hasil tulisan}.
\end{itemize}
%-----------------------------------------------------------------------------%
\section{Memberikan Catatan}
%-----------------------------------------------------------------------------%
Ada dua perintah untuk memberikan catatan penulisan dalam dokumen yang Anda
kerjakan, yaitu:
\begin{itemize}
\item \bslash todo \\
Contoh: \\ \todo{Contoh bentuk todo.}
\item \bslash todoCite \\
Contoh: \todoCite
\end{itemize}
%-----------------------------------------------------------------------------%
\section{Menambah Isi Daftar Isi}
%-----------------------------------------------------------------------------%
Terkadang ada kebutuhan untuk memasukan kata-kata tertentu kedalam Daftar Isi.
Perintah \bslash addChapter dapat digunakan untuk judul bab dalam Daftar isi.
Contohnya dapat dilihat pada berkas thesis.tex.
%-----------------------------------------------------------------------------%
\section{Memasukan PDF}
%-----------------------------------------------------------------------------%
Untuk memasukan PDF dapat menggunakan perintah \bslash inpdf yang menerima satu
buah argumen. Argumen ini berisi nama berkas yang akan digabungkan dalam
laporan. PDF yang dimasukan degnan cara ini akan memiliki header dan footer
seperti pada halaman lainnya.
\inpdf{include}
Cara lain untuk memasukan PDF adalah dengan menggunakan perintah \bslash putpdf
dengan satu argumen yang berisi nama berkas pdf. Berbeda dengan perintah
sebelumnya, PDF yang dimasukan dengan cara ini tidak akan memiliki footer atau
header seperti pada halaman lainnya.
\putpdf{include}
%-----------------------------------------------------------------------------%
\section{Membuat Perintah Baru}
%-----------------------------------------------------------------------------%
Ada dua perintah yang dapat digunakan untuk membuat perintah baru, yaitu:
\begin{itemize}
\item \bslash Var \\
Digunakan untuk membuat perintah baru, namun setiap kata yang diberikan
akan diproses dahulu menjadi huruf kapital.
Contoh jika perintahnya adalah \bslash Var\{adalah\} makan ketika
perintah \bslash Var dipanggil, yang akan muncul adalah ADALAH.
\item \bslash var \\
Digunakan untuk membuat perintah atau baru.
\end{itemize}

5
bab6.tex Normal file
View File

@ -0,0 +1,5 @@
%-----------------------------------------------------------------------------%
\chapter{\babEnam}
%-----------------------------------------------------------------------------%
\todo{tambahkan kata-kata pengantar bab 6 disini}

711
fncychap.sty Normal file
View File

@ -0,0 +1,711 @@
%%% Copyright Ulf A. Lindgren
%%%
%%% Note Premission is granted to modify this file under
%%% the condition that it is saved using another
%%% file and package name.
%%%
%%% Revision 1.1 (1997)
%%%
%%% Jan. 8th Modified package name base date option
%%% Jan. 22th Modified FmN and FmTi for error in book.cls
%%% \MakeUppercase{#}->{\MakeUppercase#}
%%% Apr. 6th Modified Lenny option to prevent undesired
%%% skip of line.
%%% Nov. 8th Fixed \@chapapp for AMS
%%%
%%% Revision 1.2 (1998)
%%%
%%% Feb. 11th Fixed appendix problem related to Bjarne
%%% Aug. 11th Fixed problem related to 11pt and 12pt
%%% suggested by Tomas Lundberg. THANKS!
%%%
%%% Revision 1.3 (2004)
%%% Sep. 20th problem with frontmatter, mainmatter and
%%% backmatter, pointed out by Lapo Mori
%%%
%%% Revision 1.31 (2004)
%%% Sep. 21th problem with the Rejne definition streched text
%%% caused ugly gaps in the vrule aligned with the title
%%% text. Kindly pointed out to me by Hendri Adriaens
%%%
%%% Revision 1.32 (2005)
%%% Jun. 23th compatibility problem with the KOMA class 'scrbook.cls'
%%% a remedy is a redefinition of '\@schapter' in
%%% line with that used in KOMA. The problem was pointed
%%% out to me by Mikkel Holm Olsen
%%%
%%% Revision 1.33 (2005)
%%% Aug. 9th misspelled ``TWELV'' corrected, the error was pointed
%%% out to me by George Pearson
%%%
%%% Revision 1.34 (2007)
%%% Added an alternative to Lenny provided by Peter
%%% Osborne (2005-11-28)
%%% Corrected front, main and back matter, based on input
%%% from Bas van Gils (2006-04-24)
%%% Jul. 30th Added Bjornstrup option provided by Jean-Marc
%%% Francois (2007-01-05).
%%% Reverted to \MakeUppercase{#} see rev 1.1, solved
%%% problem with MakeUppercase and MakeLowercase pointed
%%% out by Marco Feuerstein (2007-06-06)
%%% Last modified Jul. 2007
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{fncychap}
[2007/07/30 v1.34
LaTeX package (Revised chapters)]
%%%% For conditional inclusion of color
\newif\ifusecolor
\usecolorfalse
%%%% DEFINITION OF Chapapp variables
\newcommand{\CNV}{\huge\bfseries}
\newcommand{\ChNameVar}[1]{\renewcommand{\CNV}{#1}}
%%%% DEFINITION OF TheChapter variables
\newcommand{\CNoV}{\huge\bfseries}
\newcommand{\ChNumVar}[1]{\renewcommand{\CNoV}{#1}}
\newif\ifUCN
\UCNfalse
\newif\ifLCN
\LCNfalse
\def\ChNameLowerCase{\LCNtrue\UCNfalse}
\def\ChNameUpperCase{\UCNtrue\LCNfalse}
\def\ChNameAsIs{\UCNfalse\LCNfalse}
%%%%% Fix for AMSBook 971008
\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}
%%%%% Fix for Bjarne and appendix 980211
\newif\ifinapp
\inappfalse
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\inapptrue%
\renewcommand\@chapapp{\appendixname}%
\renewcommand\thechapter{\@Alph\c@chapter}}
%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
\@ifundefined{@mainmatter}{\newif\if@mainmatter \@mainmattertrue}{}
%%%%%
\newcommand{\FmN}[1]{%
\ifUCN
{\MakeUppercase{#1}}\LCNfalse
\else
\ifLCN
{\MakeLowercase{#1}}\UCNfalse
\else #1
\fi
\fi}
%%%% DEFINITION OF Title variables
\newcommand{\CTV}{\Huge\bfseries}
\newcommand{\ChTitleVar}[1]{\renewcommand{\CTV}{#1}}
%%%% DEFINITION OF the basic rule width
\newlength{\RW}
\setlength{\RW}{1pt}
\newcommand{\ChRuleWidth}[1]{\setlength{\RW}{#1}}
\newif\ifUCT
\UCTfalse
\newif\ifLCT
\LCTfalse
\def\ChTitleLowerCase{\LCTtrue\UCTfalse}
\def\ChTitleUpperCase{\UCTtrue\LCTfalse}
\def\ChTitleAsIs{\UCTfalse\LCTfalse}
\newcommand{\FmTi}[1]{%
\ifUCT
{\MakeUppercase{#1}}\LCTfalse
\else
\ifLCT
{\MakeLowercase{#1}}\UCTfalse
\else {#1}
\fi
\fi}
\newlength{\mylen}
\newlength{\myhi}
\newlength{\px}
\newlength{\py}
\newlength{\pyy}
\newlength{\pxx}
\def\mghrulefill#1{\leavevmode\leaders\hrule\@height #1\hfill\kern\z@}
\newcommand{\DOCH}{%
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
\par\nobreak
\vskip 20\p@
}
\newcommand{\DOTI}[1]{%
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@
}
\newcommand{\DOTIS}[1]{%
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@
}
%%%%%% SONNY DEF
\DeclareOption{Sonny}{%
\ChNameVar{\Large\sf}
\ChNumVar{\Huge}
\ChTitleVar{\Large\sf}
\ChRuleWidth{0.5pt}
\ChNameUpperCase
\renewcommand{\DOCH}{%
\raggedleft
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
\par\nobreak
\vskip 40\p@}
\renewcommand{\DOTI}[1]{%
\CTV\raggedleft\mghrulefill{\RW}\par\nobreak
\vskip 5\p@
\CTV\FmTi{#1}\par\nobreak
\mghrulefill{\RW}\par\nobreak
\vskip 40\p@}
\renewcommand{\DOTIS}[1]{%
\CTV\raggedleft\mghrulefill{\RW}\par\nobreak
\vskip 5\p@
\CTV\FmTi{#1}\par\nobreak
\mghrulefill{\RW}\par\nobreak
\vskip 40\p@}
}
%%%%%% LENNY DEF
\DeclareOption{Lenny}{%
\ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
\ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
\ChTitleVar{\Huge\bfseries\rm}
\ChRuleWidth{1pt}
\renewcommand{\DOCH}{%
\settowidth{\px}{\CNV\FmN{\@chapapp}}
\addtolength{\px}{2pt}
\settoheight{\py}{\CNV\FmN{\@chapapp}}
\addtolength{\py}{1pt}
\settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
\addtolength{\mylen}{1pt}
\settowidth{\pxx}{\CNoV\thechapter}
\addtolength{\pxx}{-1pt}
\settoheight{\pyy}{\CNoV\thechapter}
\addtolength{\pyy}{-2pt}
\setlength{\myhi}{\pyy}
\addtolength{\myhi}{-1\py}
\par
\parbox[b]{\textwidth}{%
\rule[\py]{\RW}{\myhi}%
\hskip -\RW%
\rule[\pyy]{\px}{\RW}%
\hskip -\px%
\raggedright%
\CNV\FmN{\@chapapp}\space\CNoV\thechapter%
\hskip1pt%
\mghrulefill{\RW}%
\rule{\RW}{\pyy}\par\nobreak%
\vskip -\baselineskip%
\vskip -\pyy%
\hskip \mylen%
\mghrulefill{\RW}\par\nobreak%
\vskip \pyy}%
\vskip 20\p@}
\renewcommand{\DOTI}[1]{%
\raggedright
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
\renewcommand{\DOTIS}[1]{%
\raggedright
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
}
%%%%%% Peter Osbornes' version of LENNY DEF
\DeclareOption{PetersLenny}{%
% five new lengths
\newlength{\bl} % bottom left : orig \space
\setlength{\bl}{6pt}
\newcommand{\BL}[1]{\setlength{\bl}{#1}}
\newlength{\br} % bottom right : orig 1pt
\setlength{\br}{1pt}
\newcommand{\BR}[1]{\setlength{\br}{#1}}
\newlength{\tl} % top left : orig 2pt
\setlength{\tl}{2pt}
\newcommand{\TL}[1]{\setlength{\tl}{#1}}
\newlength{\trr} % top right :orig 1pt
\setlength{\trr}{1pt}
\newcommand{\TR}[1]{\setlength{\trr}{#1}}
\newlength{\blrule} % top right :orig 1pt
\setlength{\trr}{0pt}
\newcommand{\BLrule}[1]{\setlength{\blrule}{#1}}
\ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
\ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
\ChTitleVar{\Huge\bfseries\rm}
\ChRuleWidth{1pt}
\renewcommand{\DOCH}{%
%%%%%%% tweaks for 1--9 and A--Z
\ifcase\c@chapter\relax%
\or\BL{-3pt}\TL{-4pt}\BR{0pt}\TR{-6pt}%1
\or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%2
\or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%3
\or\BL{0pt}\TL{5pt}\BR{2pt}\TR{-4pt}%4
\or\BL{0pt}\TL{3pt}\BR{2pt}\TR{-4pt}%5
\or\BL{-1pt}\TL{0pt}\BR{2pt}\TR{-2pt}%6
\or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%7
\or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%8
\or\BL{0pt}\TL{-3pt}\BR{-4pt}\TR{-2pt}%9
\or\BL{-3pt}\TL{-3pt}\BR{2pt}\TR{-7pt}%10
\or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%11
\or\BL{-6pt}\TL{-6pt}\BR{2pt}\TR{-7pt}%12
\or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%13
\or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%14
\or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%15
\or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%16
\or\BL{-5pt}\TL{-3pt}\BR{-8pt}\TR{-6pt}%17
\or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%18
\or\BL{-3pt}\TL{-3pt}\BR{-6pt}\TR{-9pt}%19
\or\BL{0pt}\TL{0pt}\BR{0pt}\TR{-5pt}%20
\fi
\ifinapp\ifcase\c@chapter\relax%
\or\BL{0pt}\TL{14pt}\BR{5pt}\TR{-19pt}%A
\or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}%B
\or\BL{-3pt}\TL{-2pt}\BR{1pt}\TR{-6pt}\BLrule{0pt}%C
\or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}\BLrule{0pt}%D
\or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-3pt}%E
\or\BL{0pt}\TL{-5pt}\BR{-10pt}\TR{-1pt}%F
\or\BL{-3pt}\TL{0pt}\BR{0pt}\TR{-7pt}%G
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%H
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%I
\or\BL{2pt}\TL{0pt}\BR{-3pt}\TR{1pt}%J
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%K
\or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-19pt}%L
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%M
\or\BL{0pt}\TL{-5pt}\BR{-2pt}\TR{-1pt}%N
\or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%O
\or\BL{0pt}\TL{-5pt}\BR{-9pt}\TR{-3pt}%P
\or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%Q
\or\BL{0pt}\TL{-5pt}\BR{4pt}\TR{-8pt}%R
\or\BL{-2pt}\TL{-2pt}\BR{-2pt}\TR{-7pt}%S
\or\BL{-3pt}\TL{0pt}\BR{-5pt}\TR{4pt}\BLrule{8pt}%T
\or\BL{-7pt}\TL{-11pt}\BR{-5pt}\TR{-7pt}\BLrule{0pt}%U
\or\BL{-14pt}\TL{-5pt}\BR{-14pt}\TR{-1pt}\BLrule{14pt}%V
\or\BL{-10pt}\TL{-9pt}\BR{-13pt}\TR{-3pt}\BLrule{7pt}%W
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%X
\or\BL{-6pt}\TL{-4pt}\BR{-7pt}\TR{1pt}\BLrule{7pt}%Y
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%Z
\fi\fi
%%%%%%%
\settowidth{\px}{\CNV\FmN{\@chapapp}}
\addtolength{\px}{\tl} %MOD change 2pt to \tl
\settoheight{\py}{\CNV\FmN{\@chapapp}}
\addtolength{\py}{1pt}
\settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
\addtolength{\mylen}{\trr}% MOD change 1pt to \tr
\settowidth{\pxx}{\CNoV\thechapter}
\addtolength{\pxx}{-1pt}
\settoheight{\pyy}{\CNoV\thechapter}
\addtolength{\pyy}{-2pt}
\setlength{\myhi}{\pyy}
\addtolength{\myhi}{-1\py}
\par
\parbox[b]{\textwidth}{%
\rule[\py]{\RW}{\myhi}%
\hskip -\RW%
\rule[\pyy]{\px}{\RW}%
\hskip -\px%
\raggedright%
\CNV\FmN{\@chapapp}\rule{\blrule}{\RW}\hskip\bl\CNoV\thechapter%MOD
% \CNV\FmN{\@chapapp}\space\CNoV\thechapter %ORIGINAL
\hskip\br% %MOD 1pt to \br
\mghrulefill{\RW}%
\rule{\RW}{\pyy}\par\nobreak%
\vskip -\baselineskip%
\vskip -\pyy%
\hskip \mylen%
\mghrulefill{\RW}\par\nobreak%
\vskip \pyy}%
\vskip 20\p@}
\renewcommand{\DOTI}[1]{%
\raggedright
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
\renewcommand{\DOTIS}[1]{%
\raggedright
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
}
%
%%%%%% BJORNSTRUP DEF
\DeclareOption{Bjornstrup}{%
\usecolortrue
% pzc (Zapf Chancelery) is nice. ppl (Palatino) is cool too.
\ChNumVar{\fontsize{76}{80}\usefont{OT1}{pzc}{m}{n}\selectfont}
\ChTitleVar{\raggedleft\Large\sffamily\bfseries}
\setlength{\myhi}{10pt} % Space between grey box border and text
\setlength{\mylen}{\textwidth}
\addtolength{\mylen}{-2\myhi}
\renewcommand{\DOCH}{%
\settowidth{\py}{\CNoV\thechapter}
\addtolength{\py}{-10pt} % Amount of space by which the
% % number is shifted right
\fboxsep=0pt%
\colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}%
\kern-\py\raise20pt%
\hbox{\color[gray]{.5}\CNoV\thechapter}\\%
}
\renewcommand{\DOTI}[1]{%
\nointerlineskip\raggedright%
\fboxsep=\myhi%
\vskip-1ex%
\colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
\vskip 40\p@%
}
\renewcommand{\DOTIS}[1]{%
\fboxsep=0pt
\colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\%
\nointerlineskip\raggedright%
\fboxsep=\myhi%
\colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
\vskip 40\p@%
}
}
%%%%%%% GLENN DEF
\DeclareOption{Glenn}{%
\ChNameVar{\bfseries\Large\sf}
\ChNumVar{\Huge}
\ChTitleVar{\bfseries\Large\rm}
\ChRuleWidth{1pt}
\ChNameUpperCase
\ChTitleUpperCase
\renewcommand{\DOCH}{%
\settoheight{\myhi}{\CTV\FmTi{Test}}
\setlength{\py}{\baselineskip}
\addtolength{\py}{\RW}
\addtolength{\py}{\myhi}
\setlength{\pyy}{\py}
\addtolength{\pyy}{-1\RW}
\raggedright
\CNV\FmN{\@chapapp}\space\CNoV\thechapter
\hskip 3pt\mghrulefill{\RW}\rule[-1\pyy]{2\RW}{\py}\par\nobreak}
\renewcommand{\DOTI}[1]{%
\addtolength{\pyy}{-4pt}
\settoheight{\myhi}{\CTV\FmTi{#1}}
\addtolength{\myhi}{\py}
\addtolength{\myhi}{-1\RW}
\vskip -1\pyy
\rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
\raggedleft\CTV\FmTi{#1}\par\nobreak
\vskip 80\p@}
\newlength{\backskip}
\renewcommand{\DOTIS}[1]{%
% \setlength{\py}{10pt}
% \setlength{\pyy}{\py}
% \addtolength{\pyy}{\RW}
% \setlength{\myhi}{\baselineskip}
% \addtolength{\myhi}{\pyy}
% \mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
% \addtolength{}{}
%\vskip -1\baselineskip
% \rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
% \raggedleft\CTV\FmTi{#1}\par\nobreak
% \vskip 60\p@}
%% Fix suggested by Tomas Lundberg
\setlength{\py}{25pt} % eller vad man vill
\setlength{\pyy}{\py}
\setlength{\backskip}{\py}
\addtolength{\backskip}{2pt}
\addtolength{\pyy}{\RW}
\setlength{\myhi}{\baselineskip}
\addtolength{\myhi}{\pyy}
\mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
\vskip -1\backskip
\rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 3pt %
\raggedleft\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@}
}
%%%%%%% CONNY DEF
\DeclareOption{Conny}{%
\ChNameUpperCase
\ChTitleUpperCase
\ChNameVar{\centering\Huge\rm\bfseries}
\ChNumVar{\Huge}
\ChTitleVar{\centering\Huge\rm}
\ChRuleWidth{2pt}
\renewcommand{\DOCH}{%
\mghrulefill{3\RW}\par\nobreak
\vskip -0.5\baselineskip
\mghrulefill{\RW}\par\nobreak
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
\par\nobreak
\vskip -0.5\baselineskip
}
\renewcommand{\DOTI}[1]{%
\mghrulefill{\RW}\par\nobreak
\CTV\FmTi{#1}\par\nobreak
\vskip 60\p@
}
\renewcommand{\DOTIS}[1]{%
\mghrulefill{\RW}\par\nobreak
\CTV\FmTi{#1}\par\nobreak
\vskip 60\p@
}
}
%%%%%%% CONNY DEF- revised
\DeclareOption{ConnyRevised}{%
\ChNameUpperCase
\ChTitleUpperCase
\ChNameVar{\centering\large\rm\bfseries}
\ChNumVar{\large\bfseries}
\ChTitleVar{\centering\large\rm\bfseries}
%\ChRuleWidth{2pt}
\renewcommand{\DOCH}{%
%\vskip -0.5\baselineskip
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
\par\nobreak
%\vskip -0.5\baselineskip
}
\renewcommand{\DOTI}[1]{%
%\mghrulefill{\RW}\par\nobreak
\CTV\FmTi{#1}\par\nobreak
\vskip 20\p@
}
\renewcommand{\DOTIS}[1]{%
%\mghrulefill{\RW}\par\nobreak
\CTV\FmTi{#1}\par\nobreak
\vskip 10\p@
}
}
%%%%%%% REJNE DEF
\DeclareOption{Rejne}{%
\ChNameUpperCase
\ChTitleUpperCase
\ChNameVar{\centering\Large\rm}
\ChNumVar{\Huge}
\ChTitleVar{\centering\Huge\rm}
\ChRuleWidth{1pt}
\renewcommand{\DOCH}{%
\settoheight{\py}{\CNoV\thechapter}
\parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
\addtolength{\py}{-1pt}
\CNV\FmN{\@chapapp}\par\nobreak
\vskip 20\p@
\setlength{\myhi}{2\baselineskip}
\setlength{\px}{\myhi}
\addtolength{\px}{-1\RW}
\rule[-1\px]{\RW}{\myhi}\mghrulefill{\RW}\hskip
10pt\raisebox{-0.5\py}{\CNoV\thechapter}\hskip 10pt\mghrulefill{\RW}\rule[-1\px]{\RW}{\myhi}\par\nobreak
\vskip -3\p@% Added -2pt vskip to correct for streched text v1.31
}
\renewcommand{\DOTI}[1]{%
\setlength{\mylen}{\textwidth}
\parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
\addtolength{\mylen}{-2\RW}
{\vrule width\RW}\parbox{\mylen}{\CTV\FmTi{#1}}{\vrule width\RW}\par\nobreak%
\vskip -3pt\rule{\RW}{2\baselineskip}\mghrulefill{\RW}\rule{\RW}{2\baselineskip}%
\vskip 60\p@% Added -2pt in vskip to correct for streched text v1.31
}
\renewcommand{\DOTIS}[1]{%
\setlength{\py}{\fboxrule}
\setlength{\fboxrule}{\RW}
\setlength{\mylen}{\textwidth}
\addtolength{\mylen}{-2\RW}
\fbox{\parbox{\mylen}{\vskip 2\baselineskip\CTV\FmTi{#1}\par\nobreak\vskip \baselineskip}}
\setlength{\fboxrule}{\py}
\vskip 60\p@
}
}
%%%%%%% BJARNE DEF
\DeclareOption{Bjarne}{%
\ChNameUpperCase
\ChTitleUpperCase
\ChNameVar{\raggedleft\normalsize\rm}
\ChNumVar{\raggedleft \bfseries\Large}
\ChTitleVar{\raggedleft \Large\rm}
\ChRuleWidth{1pt}
%% Note thechapter -> c@chapter fix appendix bug
%% Fixed misspelled 12
\newcounter{AlphaCnt}
\newcounter{AlphaDecCnt}
\newcommand{\AlphaNo}{%
\ifcase\number\theAlphaCnt
\ifnum\c@chapter=0
ZERO\else{}\fi
\or ONE\or TWO\or THREE\or FOUR\or FIVE
\or SIX\or SEVEN\or EIGHT\or NINE\or TEN
\or ELEVEN\or TWELVE\or THIRTEEN\or FOURTEEN\or FIFTEEN
\or SIXTEEN\or SEVENTEEN\or EIGHTEEN\or NINETEEN\fi
}
\newcommand{\AlphaDecNo}{%
\setcounter{AlphaDecCnt}{0}
\@whilenum\number\theAlphaCnt>0\do
{\addtocounter{AlphaCnt}{-10}
\addtocounter{AlphaDecCnt}{1}}
\ifnum\number\theAlphaCnt=0
\else
\addtocounter{AlphaDecCnt}{-1}
\addtocounter{AlphaCnt}{10}
\fi
\ifcase\number\theAlphaDecCnt\or TEN\or TWENTY\or THIRTY\or
FORTY\or FIFTY\or SIXTY\or SEVENTY\or EIGHTY\or NINETY\fi
}
\newcommand{\TheAlphaChapter}{%
\ifinapp
\thechapter
\else
\setcounter{AlphaCnt}{\c@chapter}
\ifnum\c@chapter<20
\AlphaNo
\else
\AlphaDecNo\AlphaNo
\fi
\fi
}
\renewcommand{\DOCH}{%
\mghrulefill{\RW}\par\nobreak
\CNV\FmN{\@chapapp}\par\nobreak
\CNoV\TheAlphaChapter\par\nobreak
\vskip -1\baselineskip\vskip 5pt\mghrulefill{\RW}\par\nobreak
\vskip 20\p@
}
\renewcommand{\DOTI}[1]{%
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@
}
\renewcommand{\DOTIS}[1]{%
\CTV\FmTi{#1}\par\nobreak
\vskip 40\p@
}
}
\DeclareOption*{%
\PackageWarning{fancychapter}{unknown style option}
}
\ProcessOptions* \relax
\ifusecolor
\RequirePackage{color}
\fi
\def\@makechapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
\DOCH
\fi
\fi
\interlinepenalty\@M
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 060424
\DOTI{#1}%
\else%
\DOTIS{#1}%
\fi
}}
%%% Begin: To avoid problem with scrbook.cls (fncychap version 1.32)
%%OUT:
%\def\@schapter#1{\if@twocolumn
% \@topnewpage[\@makeschapterhead{#1}]%
% \else
% \@makeschapterhead{#1}%
% \@afterheading
% \fi}
%%IN:
\def\@schapter#1{%
\if@twocolumn%
\@makeschapterhead{#1}%
\else%
\@makeschapterhead{#1}%
\@afterheading%
\fi}
%%% End: To avoid problem with scrbook.cls (fncychap version 1.32)
\def\@makeschapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\DOTIS{#1}
\vskip 20\p@
}}
\endinput

78
hype.indonesia.tex Normal file
View File

@ -0,0 +1,78 @@
%
% Hyphenation untuk Indonesia
%
% @author Andreas Febrian
% @version 1.00
%
% Tambahkan cara pemenggalan kata-kata yang salah dipenggal secara otomatis
% oleh LaTeX. Jika kata tersebut dapat dipenggal dengan benar, maka tidak
% perlu ditambahkan dalam berkas ini. Tanda pemenggalan kata menggunakan
% tanda '-'; contoh:
% menarik
% --> pemenggalan: me-na-rik
%
\hyphenation{
% alphabhet A
a-na-li-sa a-tur
a-pli-ka-si
% alphabhet B
ba-ngun-an
be-be-ra-pa
ber-ge-rak
ber-ke-lan-jut-an
ber-pe-nga-ruh
% alphabhet C
ca-ri
% alphabhet D
di-sim-pan di-pim-pin de-ngan da-e-rah di-ba-ngun da-pat di-nya-ta-kan
di-sim-bol-kan di-pi-lih di-li-hat de-fi-ni-si
% alphabhet E
e-ner-gi eks-klu-sif
% alphabhet F
fa-si-li-tas
% alphabhet G
ga-bung-an ge-rak
% alphabhet H
ha-lang-an
% alphabhet I
% alphabhet J
% alphabhet K
ke-hi-lang-an
ku-ning
kua-li-tas ka-me-ra ke-mung-kin-an ke-se-pa-ham-an
% alphabhet L
ling-kung-an
% alphabhet M
me-neng-ah
meng-a-tas-i me-mung-kin-kan me-nge-na-i me-ngi-rim-kan
meng-u-bah meng-a-dap-ta-si me-nya-ta-kan mo-di-fi-ka-si
meng-a-tur
% alphabhet N
nya-ta non-eks-klu-sif
% alphabhet O
% alphabhet P
pe-nye-rap-an
pe-ngon-trol
pe-mo-del-an
pe-ran pe-ran-an-nya
pem-ba-ngun-an pre-si-den pe-me-rin-tah prio-ri-tas peng-am-bil-an
peng-ga-bung-an pe-nga-was-an pe-ngem-bang-an
pe-nga-ruh pa-ra-lel-is-me per-hi-tung-an per-ma-sa-lah-an
pen-ca-ri-an peng-struk-tur-an
% alphabhet Q
% alphabhet R
ran-cang-an
% alphabhet S
si-mu-la-si sa-ngat
% alphabhet T
te-ngah
ter-da-pat
% alphabhet U
% alphabhet V
% alphabhet W
% alphabhet X
% alphabhet Y
% alphabhet Z
% special
}

BIN
include.pdf Normal file

Binary file not shown.

10
istilah.tex Normal file
View File

@ -0,0 +1,10 @@
%
% @author Andreas Febrian
% @version 1.00
%
% Mendaftar seluruh istilah yang mungkin akan perlu dijadikan
% italic atau bold pada setiap kemunculannya dalam dokumen.
%
\var{\license}{\f{Creative Common License 1.0 Generic}}
\var{\bslash}{$\setminus$}

46
judul_dalam.tex Normal file
View File

@ -0,0 +1,46 @@
%
% Halaman Judul Laporan
%
% @author unknown
% @version 1.01
% @edit by Andreas Febrian
%
\begin{titlepage}
\begin{center}\begin{figure}
\begin{center}
\includegraphics[width=2.5cm]{pics/makara.png}
\end{center}
\end{figure}
\vspace*{0cm}
\bo{
UNIVERSITAS INDONESIA\\
}
\vspace*{1.0cm}
% judul thesis harus dalam 14pt Times New Roman
\bo{\Judul} \\[1.0cm]
\vspace*{2.5 cm}
% harus dalam 14pt Times New Roman
\bo{\Type} \\
% keterangan prasyarat
\bo{Diajukan sebagai salah satu syarat untuk memperoleh gelar \\
\gelar}\\
\vspace*{3 cm}
% penulis dan npm
\bo{\Penulis} \\
\bo{\npm} \\
\vspace*{5.0cm}
% informasi mengenai fakultas dan program studi
\bo{
FAKULTAS \Fakultas\\
PROGRAM STUDI \Program \\
DEPOK \\
\bulanTahun
}
\end{center}
\end{titlepage}

15
kesimpulan.tex Normal file
View File

@ -0,0 +1,15 @@
%---------------------------------------------------------------
\chapter{\kesimpulan}
%---------------------------------------------------------------
\todo{Tambahkan kesimpulan dan saran terkait dengan perkerjaan
yang dilakukan.}
%---------------------------------------------------------------
\section{Kesimpulan}
%---------------------------------------------------------------
%---------------------------------------------------------------
\section{Saran}
%---------------------------------------------------------------

4
lampiran.tex Normal file
View File

@ -0,0 +1,4 @@
%-----------------------------------------------------------------------------%
\addChapter{Lampiran 1}
\chapter*{Lampiran 1}
%-----------------------------------------------------------------------------%

72
laporan_setting.tex Normal file
View File

@ -0,0 +1,72 @@
%-----------------------------------------------------------------------------%
% Informasi Mengenai Dokumen
%-----------------------------------------------------------------------------%
%
% Judul laporan.
\var{\judul}{Judul Skripsi/Thesis/Disertasi}
%
% Tulis kembali judul laporan, kali ini akan diubah menjadi huruf kapital
\Var{\Judul}{Judul Skripsi/Thesis/Disertasi}
%
% Tulis kembali judul laporan namun dengan bahasa Ingris
\var{\judulInggris}{Unknown Title for Final Report/Thesis/Disertation}
%
% Tipe laporan, dapat berisi Skripsi, Tugas Akhir, Thesis, atau Disertasi
\var{\type}{Tugas Akhir}
%
% Tulis kembali tipe laporan, kali ini akan diubah menjadi huruf kapital
\Var{\Type}{Tugas Akhir}
%
% Tulis nama penulis
\var{\penulis}{Tidak Diketahui}
%
% Tulis kembali nama penulis, kali ini akan diubah menjadi huruf kapital
\Var{\Penulis}{Tidak Diketahui}
%
% Tulis NPM penulis
\var{\npm}{XXXXXXXXXX}
%
% Tuliskan Fakultas dimana penulis berada
\Var{\Fakultas}{??}
\var{\fakultas}{??}
%
% Tuliskan Program Studi yang diambil penulis
\Var{\Program}{??}
\var{\program}{??}
%
% Tuliskan tahun publikasi laporan
\Var{\bulanTahun}{Januari 2010}
%
% Tuliskan gelar yang akan diperoleh dengan menyerahkan laporan ini
\var{\gelar}{Sarjana ??}
%
% Tuliskan tanggal pengesahan laporan, waktu dimana laporan diserahkan ke
% penguji/sekretariat
\var{\tanggalPengesahan}{XX Januari 2010}
%
% Tuliskan tanggal keputusan sidang dikeluarkan dan penulis dinyatakan
% lulus/tidak lulus
\var{\tanggalLulus}{XX Januari 2010}
%
% Tuliskan pembimbing
\var{\pembimbing}{Prof. XXXX}
%
% Alias untuk memudahkan alur penulisan paa saat menulis laporan
\var{\saya}{Penulis}
%-----------------------------------------------------------------------------%
% Judul Setiap Bab
%-----------------------------------------------------------------------------%
%
% Berikut ada judul-judul setiap bab.
% Silahkan diubah sesuai dengan kebutuhan.
%
\Var{\kataPengantar}{Kata Pengantar}
\Var{\babSatu}{Pendahuluan}
\Var{\babDua}{Sekilas Mengenai \latex}
\Var{\babTiga}{Notasi Matematik}
\Var{\babEmpat}{Struktur Berkas}
\Var{\babLima}{Perintah dalam uithesis.sty}
\Var{\babEnam}{??}
\Var{\kesimpulan}{Kesimpulan dan Saran}

13
markLampiran.tex Normal file
View File

@ -0,0 +1,13 @@
%
% @author Andreas Febrian
% @version 1.00
%
% Hanya sebuah pembatas bertuliskan LAMPIRAN ditengah halaman.
%
\begin{titlepage}
\centering
\vspace*{6cm}
\noindent \Huge{LAMPIRAN}
\addChapter{LAMPIRAN}
\end{titlepage}

27
orisinal.tex Normal file
View File

@ -0,0 +1,27 @@
%
% Halaman Orisinalitas
%
% @author Andreas Febrian
% @version 1.01
%
\chapter*{\uppercase{halaman pernyataan orisinalitas}}
\vspace*{2cm}
\begin{center}
\bo{\type~ini adalah hasil karya saya sendiri, \\
dan semua sumber baik yang dikutip maupun dirujuk \\
telah saya nyatakan dengan benar.} \\
\vspace*{2.6cm}
\begin{tabular}{l c l}
\bo{Nama} & : & \bo{\penulis} \\
\bo{NPM} & : & \bo{\npm} \\
\bo{Tanda Tangan} & : & \\
& & \\
& & \\
\bo{Tanggal} & : & \bo{\tanggalPengesahan} \\
\end{tabular}
\end{center}
\newpage

79
pengantar.tex Normal file
View File

@ -0,0 +1,79 @@
%-----------------------------------------------------------------------------%
\chapter*{\kataPengantar}
%-----------------------------------------------------------------------------%
Template ini disediakan untuk orang-orang yang berencana menggunakan
\latex~untuk membuat dokumen tugas akhirnya.
Mengapa \latex?
Ada banyak hal mengapa menggunakan \latex, diantaranya:
\begin{enumerate}
\item \latex~membuat kita jadi lebih fokus terhadap isi dokumen, bukan
tampilan atau halaman.
\item \latex~memudahkan dalam penulisan persamaan matematis.
\item Adanya automatis dalam penomoran caption, bab, subbab, subsubbab,
referensi, dan rumus.
\item Adanya automatisasi dalam pembuatan daftar isi, daftar gambar, dan
daftar tabel.
\item Adanya kemudahan dalam memberikan referensi dalam tulisan dengan
menggunakan label. Cara ini dapat meminimalkan kesalahan pemberian
referensi.
\end{enumerate}
Template ini bebas digunakan dan
didistribusikan sesuai dengan aturan \license, yang secara sederhana berisi:
\begin{figure}
\centering
\includegraphics[width=0.74\textwidth]
{pics/creative_common.png}
\caption{\license}
\label{fig:lisensi}
\end{figure}
\pic~\ref{fig:lisensi} diambil dari
\url{http://creativecommons.org/licenses/by-nc-sa/1.0/deed.en_CA}.
Jika ingin mengentahui lebih lengkap mengenai \license, silahkan buka
\url{http://creativecommons.org/licenses/by-nc-sa/1.0/legalcode}.
Seluruh dokumen yang dibuat dengan menggunakan template ini sepenuhnya
menjadi hak milik pembuat dokumen dan bebas didistribusikan sesuai dengan
keperluan masing-masing.
Lisensi hanya berlaku jika ada orang yang membuat template baru dengan
menggunakan template ini sebagai dasarnya.
Dokumen ini dibuat dengan \latex~juga. Untuk meyakinkan Anda, coba lihat
properti dari dokumen ini dan Anda akan menemukan bagian seperti
\pic~\ref{fig:pdflatex}.
Dokumen ini dimaksudkan untuk memberikan gambaran kepada Anda seperti apa
mudahnya menggunakan \latex~dan juga memperlihatkan betapa bagus dokumen
yang dihasilkan.
Seluruh url yang Anda temukan dapat Anda klik.
Seluruh referensi yang ada juga dapat diklik.
Untuk mengerti template yang disediakan, Anda tetap harus membuka kode
\latex~dan bermain-main dengannya.
Penjelasan dalam PDF ini masih bersifat gambaran dan tidak begitu
mendetail, dapat dianggap sebagai pengantar singkat.
Jika Anda merasa kesulitan dengan template ini, mungkin ada baiknya
Anda belajar sedikit dasar-dasar \latex.
\begin{figure}
\centering
\includegraphics[width=0.54\textwidth]
{pics/mark.png}
\caption{Dokumen Dibuat dengan PDFLatex}
\label{fig:pdflatex}
\end{figure}
Semoga template ini dapat membantu orang-orang yang ingin mencoba menggunakan
\latex. Semoga template ini juga tidak berhenti disini dengan ada kontribusi
dari para penggunanya.
Kami juga ingin berterima kasih kepada Andreas Febrian, Lia Sadita, Fahrurrozi
Rahman, Andre Tampubolon, dan Erik Dominikus atas kontribusinya dalam template
ini.
\vspace*{0.1cm}
\begin{flushright}
Depok, 30 Desember 2009\\[0.1cm]
\vspace*{1cm}
\penulis
\end{flushright}

31
pengesahan.tex Normal file
View File

@ -0,0 +1,31 @@
%
% Halaman Pengesahan
%
% @author Andreas Febrian
% @version 1.01
%
\chapter*{HALAMAN PERSETUJUAN}
\vspace*{0.2cm}
\noindent
\noindent
\begin{tabular}{l l p{11cm}}
\bo{Judul}&: & \judul \\
\bo{Nama}&: & \penulis \\
\bo{NPM}&: & \npm \\
\end{tabular} \\
\vspace*{1.2cm}
\noindent Laporan \type~ini telah diperiksa dan disetujui.\\[0.3cm]
\begin{center}
\tanggalPengesahan \\[2cm]
\underline{\pembimbing}\\[0.1cm]
Pembimbing \type
\end{center}
\newpage

56
pengesahan_sidang.tex Normal file
View File

@ -0,0 +1,56 @@
%
% Halaman Pengesahan Sidang
%
% @author Andreas Febrian, Andre Tampubolon
% @version 1.02
%
\chapter*{HALAMAN PENGESAHAN}
\vspace*{0.4cm}
\noindent
\noindent
\begin{tabular}{ll p{9cm}}
\type~ini diajukan oleh&: & \\
Nama&: & \penulis \\
NPM&: & \npm \\
Program Studi&: & \program \\
Judul \type&: & \judul \\
\end{tabular} \\
\vspace*{1.0cm}
\noindent \bo{Telah berhasil dipertahankan di hadapan Dewan Penguji
dan diterima sebagai bagian persyaratan yang diperlukan untuk
memperoleh gelar \gelar~pada Program Studi \program, Fakultas
\fakultas, Universitas Indonesia.}\\[0.2cm]
\begin{center}
\bo{DEWAN PENGUJI}
\end{center}
\vspace*{0.3cm}
\begin{tabular}{l l l l }
& & & \\
Pembimbing&: & \pembimbing & (\hspace*{3.0cm}) \\
& & & \\
Penguji&: & Prof. XXX & (\hspace*{3.0cm}) \\
& & & \\
Penguji&: & Prof. XXXX & (\hspace*{3.0cm}) \\
& & & \\
Penguji&: & Prof. XXXXXX & (\hspace*{3.0cm}) \\
\end{tabular}\\
\todo{Jangan lupa mengisi nama para penguji.}
\vspace*{2.0cm}
\begin{tabular}{ll l}
Ditetapkan di&: & Depok\\
Tanggal&: & \tanggalLulus \\
\end{tabular}
\newpage

53
persetujuan_publikasi.tex Normal file
View File

@ -0,0 +1,53 @@
%
% @author Andre Tampubolon, Andreas Febrian
% @version 1.01
%
\chapter*{\uppercase{Halaman Pernyataan Persetujuan Publikasi Tugas Akhir untuk Kepentingan Akademis}}
\vspace*{0.2cm}
\noindent
Sebagai sivitas akademik Universitas Indonesia, saya yang bertanda
tangan di bawah ini:
\vspace*{0.4cm}
\begin{tabular}{p{4.2cm} l p{6cm}}
\bo{Nama} & : & \penulis \\
\bo{NPM} & : & \npm \\
\bo{Program Studi} & : & \program\\
\bo{Fakultas} & : & \fakultas\\
\bo{Jenis Karya} & : & \type \\
\end{tabular}
\vspace*{0.6cm}
\noindent demi pengembangan ilmu pengetahuan, menyetujui untuk memberikan
kepada Universitas Indonesia \bo{Hak Bebas Royalti Noneksklusif
(Non-exclusive Royalty Free Right)} atas karya ilmiah saya yang berjudul:
\begin{center}
\judul
\end{center}
beserta perangkat yang ada (jika diperlukan). Dengan Hak Bebas Royalti
Noneksklusif ini Universitas Indonesia berhak menyimpan,
mengalihmedia/formatkan, mengelola dalam bentuk pangkalan data
(database), merawat, dan memublikasikan tugas akhir saya selama
tetap mencantumkan nama saya sebagai penulis/pencipta dan sebagai
pemilik Hak Cipta. \\
\noindent Demikian pernyatan ini saya buat dengan sebenarnya.
\begin{center}
\vspace*{0.8cm}
\begin{tabular}{lll}
Dibuat di&: & Depok \\
Pada tanggal&: & \tanggalPengesahan \\
\end{tabular}\\
\vspace*{0.2cm}
Yang menyatakan \\
\vspace*{1.1cm}
(\penulis)
\end{center}
\newpage

BIN
pics/creative_common.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

5080
pics/makara.eps Normal file

File diff suppressed because it is too large Load Diff

BIN
pics/makara.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

BIN
pics/mark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

15
pustaka.tex Normal file
View File

@ -0,0 +1,15 @@
%
% Daftar Pustaka
%
%
% Tambahkan pustaka yang digunakan setelah perintah berikut.
%
\begin{thebibliography}{4}
\bibitem{latex.intro}
{Jeff Clark. (n.d). \f{Introduction to LaTeX}.
26 Januari 2010. \url{http://frodo.elon.edu/tutorial/tutorial/node3.html}.}
\end{thebibliography}

45
sampul.tex Normal file
View File

@ -0,0 +1,45 @@
%
% Sampul Laporan
%
% @author unknown
% @version 1.01
% @edit by Andreas Febrian
%
\begin{titlepage}
\begin{center}
\begin{figure}
\begin{center}
\includegraphics[width=2.5cm]{pics/makara.png}
\end{center}
\end{figure}
\vspace*{0cm}
\bo{
UNIVERSITAS INDONESIA\\
}
\vspace*{1.0cm}
% judul thesis harus dalam 14pt Times New Roman
\bo{\Judul} \\[1.0cm]
\vspace*{2.5 cm}
% harus dalam 14pt Times New Roman
\bo{\Type}
\vspace*{3 cm}
% penulis dan npm
\bo{\Penulis} \\
\bo{\npm} \\
\vspace*{5.0cm}
% informasi mengenai fakultas dan program studi
\bo{
FAKULTAS \Fakultas\\
PROGRAM STUDI \Program \\
DEPOK \\
\bulanTahun
}
\end{center}
\end{titlepage}

61
template_license.txt Normal file
View File

@ -0,0 +1,61 @@
Creative Common (CC) - Legal Code
Attribution-NonCommercial-ShareAlike 1.0
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DRAFT LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
"Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.
"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License.
"Licensor" means the individual or entity that offers the Work under the terms of this License.
"Original Author" means the individual or entity who created the Work.
"Work" means the copyrightable work of authorship offered under the terms of this License.
"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;
to create and reproduce Derivative Works;
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works;
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested.
You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License.
You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and give the Original Author credit reasonable to the medium or means You are utilizing by conveying the name (or pseudonym if applicable) of the Original Author if supplied; the title of the Work if supplied; in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.
5. Representations, Warranties and Disclaimer
By offering the Work for public release under this License, Licensor represents and warrants that, to the best of Licensor's knowledge after reasonable inquiry:
Licensor has secured all rights in the Work necessary to grant the license rights hereunder and to permit the lawful exercise of the rights granted hereunder without You having any obligation to pay any royalties, compulsory license fees, residuals or any other payments;
The Work does not infringe the copyright, trademark, publicity rights, common law rights or any other right of any third party or constitute defamation, invasion of privacy or other tortious injury to any third party.
EXCEPT AS EXPRESSLY STATED IN THIS LICENSE OR OTHERWISE AGREED IN WRITING OR REQUIRED BY APPLICABLE LAW, THE WORK IS LICENSED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES REGARDING THE CONTENTS OR ACCURACY OF THE WORK.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, AND EXCEPT FOR DAMAGES ARISING FROM LIABILITY TO A THIRD PARTY RESULTING FROM BREACH OF THE WARRANTIES IN SECTION 5, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time.
Creative Commons may be contacted at http://creativecommons.org/.

115
thesis.tex Normal file
View File

@ -0,0 +1,115 @@
%
% Template Laporan Skripsi/Thesis
%
% @author Andreas Febrian, Lia Sadita
% @version 1.03
%
% Dokumen ini dibuat berdasarkan standar IEEE dalam membuat class untuk
% LaTeX dan konfigurasi LaTeX yang digunakan Fahrurrozi Rahman ketika
% membuat laporan skripsi. Konfigurasi yang lama telah disesuaikan dengan
% aturan penulisan thesis yang dikeluarkan UI pada tahun 2008.
%
%
% Tipe dokumen adalah report dengan satu kolom.
%
\documentclass[12pt, a4paper, onecolumn, oneside, final]{report}
% Load konfigurasi LaTeX untuk tipe laporan thesis
\usepackage{uithesis}
% Load konfigurasi khusus untuk laporan yang sedang dibuat
\input{laporan_setting}
% Daftar pemenggalan suku kata dan istilah dalam LaTeX
\include{hype.indonesia}
% Daftar istilah yang mungkin perlu ditandai
\input{istilah}
% Awal bagian penulisan laporan
\begin{document}
%
% Sampul Laporan
\include{sampul}
%
% Gunakan penomeran romawi
\pagenumbering{roman}
%
% load halaman judul dalam
\addChapter{HALAMAN JUDUL}
\include{judul_dalam}
%
% setelah bagian ini, halaman dihitung sebagai halaman ke 2
\setcounter{page}{2}
%
% load halaman pengesahan
\addChapter{LEMBAR PERSETUJUAN}
\include{pengesahan}
%
% load halaman orisinalitas
\addChapter{LEMBAR PERNYATAAN ORISINALITAS}
\include{orisinal}
%
%
\addChapter{LEMBAR PENGESAHAN}
\include{pengesahan_sidang}
%
%
\addChapter{\kataPengantar}
\include{pengantar}
%
%
\addChapter{LEMBAR PERSETUJUAN PUBLIKASI ILMIAH}
\include{persetujuan_publikasi}
%
%
\addChapter{ABSTRAK}
\include{abstrak}
%
%
\include{abstract}
%
% Daftar isi, gambar, dan tabel
%
\tableofcontents
\clearpage
\listoffigures
\clearpage
\listoftables
\clearpage
%
% Gunakan penomeran Arab (1, 2, 3, ...) setelah bagian ini.
%
\pagenumbering{arabic}
%
%
%
\include{bab1}
\include{bab2}
\include{bab3}
\include{bab4}
\include{bab5}
\include{bab6}
\include{kesimpulan}
%
% Daftar Pustaka
\include{pustaka}
%
% Lampiran
%
\begin{appendix}
\include{markLampiran}
\setcounter{page}{2}
\include{lampiran}
\end{appendix}
\end{document}

299
uithesis.sty Normal file
View File

@ -0,0 +1,299 @@
%
% Konfigurasi LaTeX untuk laporan thesis/ta/skripsi/sp sesuai dengan aturan UI
%
% @author Andreas Febrian
% @version 1.03
%
% Terima kasih untuk:
% 1. Lia Sadita
% 2. Andre Tampubolon
% 3. Erik Dominikus
%
%
% Konfigurasi ini dibuat dengan menggunakan:
% - konfigurasi laporan TA yang digunakan Fahrurrozi Rahman
% - konfigurasi LaTeX untuk proceeding ICACSIS 2009 yang dibuat oleh Andreas
% Febrian dan Andre Tampubolon
% - Laporan Thesis yang dibuat Andreas Febrian
%
%-----------------------------------------------------------------------------%
% Package
%-----------------------------------------------------------------------------%
%
% From The tocbibind package [author: Peter Wilson, Herries Press]:
% The tocbibind package can be used to add document elements like a
% bibliography or an index to the Table of Contents. The package is designed
% to work with the four standard book, report, article and proc classes, and to
% a limited extent with the ltxdoc class.
%
\usepackage{tocbibind}
%
% From [Wikipedia]:
% The package hyperref provides LaTeX the ability to create hyperlinks within
% the document. It works with pdflatex and also with standard "latex" used with
% dvips and ghostscript or dvipdfm to build a PDF file. For example:
% - \hyperref[mainlemma]{lemma \ref{mainlemma}}
% - \url{http://www.wikibooks.org}
% - \href{http://www.wikibooks.org}{wikibooks home}
% - \href{mailto:my_address@wikibooks.org}{
% \nolinkurl{my_address@wikibooks.org}}
%
\usepackage{hyperref}
\hypersetup{
a4paper,
colorlinks=false,
pdfborder=0 0 0,
linkcolor=blue,
citecolor=black,
bookmarksopen=false,
bookmarksnumbered=true,
pdfstartview=FitH,
pdfview=FitH
}
%
% The url package allows spacing and line breaks that result in intelligent
% printing of email addresses, hypertext links, and path or directory addresses.
% You must enter package commands in TeX fields. The address, link, path, or
% directory address specified in the command must not contain unbalanced braces.
% If it doesn't contain certain other characters (such as % or #) and doesn't
% end with a backslash, you can use the command in the argument to another
% command.
%
\usepackage{url}
\urlstyle{same}
%
% Agar tabel bisa menggunakan rowspan atau colspan.
%
\usepackage{multirow}
%
% Digunakan untuk memasukan gambar ke laporan.
%
\usepackage{graphicx}
%
% Digunakan untuk mengantur line spacing pada laporan. Umumnya spacing yang
% digunakan adalah 1.5.
%
\usepackage{setspace}
\onehalfspacing
%\doublespacing
%\singlespacing
%
% From Rforge:
% The geometry package controls the overall margins and text area of the
% document. The package must be called in the preamble of the document and
% specified when called.
%
\usepackage[paper=a4paper,headheight=0pt,left=4cm,top=3cm,right=3cm,bottom=3cm]{geometry}
%
% Digunakan untuk mengatur caption dalam dokumen.
%
\usepackage[font=footnotesize,format=plain,labelfont=bf,up,textfont=up]{caption}
%
% Membantu penulisan notasi matematika terutama untuk dokumen dengan banyak
% rumus.
%
\usepackage{amsmath}
%
% Membuat seluruh tulisan menjadi Times New Roman.
%
\usepackage{pslatex}
%
% Package untuk membuat header dan footer pada dokumen.
%
\usepackage{fancyhdr}
%
% Package untuk memasukan berkas pdf sebagai bagian dari dokumen.
%
\usepackage{pdfpages}
%
% Membantu dalam mengatur jarak antara tepi kertas dengan posisi header.
%
\usepackage[ConnyRevised]{fncychap}
%
% Digunakan untuk membuat tabel berwarna-warni.
%
\usepackage{colortbl}
%
%
%
\usepackage{float}
\floatplacement{figure}{H}
\floatplacement{table}{H}
%-----------------------------------------------------------------------------%
% Konfigurasi
%-----------------------------------------------------------------------------%
\sloppy
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse
\else
\pdfoutput=1
\pdftrue
\fi
% link page numbers in TOC
\makeatletter
\def\contentsline#1#2#3#4{%
\ifx\\#4\\%
\csname l@#1\endcsname{#2}{#3}%
\else
\csname l@#1\endcsname{%
\hyper@linkstart{link}{#4}{#2}\hyper@linkend
}{%
% same link destination for the page:
\hyper@linkstart{link}{#4}{#3}\hyper@linkend
% link destination is the page itself:
% \hyperpage{#3}%
}%
\fi
}
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\large\bfseries}}
\makeatother
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
%
% Atur header dan footer dalam dokumen.
%
\renewcommand{\headrulewidth}{0.0pt}
\fancyhf{}
\fancyhead[L]{}
\fancyhead[C]{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.0pt}
\fancyfoot[R]{\footnotesize \bo{Universitas Indonesia}}
\renewcommand{\footrulewidth}{0.0pt}
\pagestyle{fancy}
%-----------------------------------------------------------------------------%
% Perintah Baru
%-----------------------------------------------------------------------------%
%
% Perintah untuk membuat huruf tecetak miring. (alias)
\newcommand{\f}[1]{\textit{#1}}
%
% Perintah untuk huruf tercetak tebal dan miring.
\newcommand{\bi}[1]{\textbf{\textit{#1}}}
%
% Perintah untuk huruf tercetak tebal.
\newcommand{\bo}[1]{\textbf{#1}}
%
%
\newcommand{\m}[1]{\boldmath{ \( #1 \)}}
%
%
\newcommand{\mc}[1]{\boldmath{ \[ #1 \]}}
%
%
\newcommand{\code}[1]{{\ttfamily #1}}
%
% Buat catatan kecil. Catatan akan ditampilkan dalam tabel.
\newcommand{\todo}[1]{
\begin{tabular}{| p{13.5cm} |}
\rowcolor[rgb]{.9,.6,.6}
\bo{@todo} \\
\rowcolor[gray]{1.}
#1 \\
\\
\hline
\end{tabular}
}
%
% Buat catatan untuk menambahkan referensi.
\newcommand{\todoCite}{
\begin{tabular}{| l |}
\rowcolor[rgb]{.6,.9,.6}
\bo{@todo} \\
\rowcolor[gray]{1.}
Referensi \\
\\
\hline
\end{tabular}
}
%
% Tambahkan berkas PDF ke dalam laporan dan gunakan style laporan
% terhadap berkas ini.
\newcommand{\inpdf}[1]{
\includepdf[pages=-,pagecommand={\thispagestyle{fancy}}]{#1.pdf}}
%
% Tambahkan berkas PDF ke dalam laporan.
\newcommand{\putpdf}[1]{\includepdf[pages=-]{#1.pdf}}
%
% Perintah untuk membuat perintah/variabel baru.
\newcommand{\var}[2]{\newcommand{#1}{#2}}
%
% Perintah untuk membuat perintah/variabel baru. Teks yang ditulis dalam
% perintah ini akan diformat ulang menggunakan huruf kapital.
\newcommand{\Var}[2]{\newcommand{#1}{\uppercase{#2}}}
%
% Tambahkan kata-kata yang dimasukan kedalam Table of Contents.
\newcommand{\addChapter}[1]{\phantomsection \addcontentsline{toc}{chapter}{#1}}
%
% Alias untuk perintah \LaTeX
\newcommand{\latex}{\LaTeX}
%-----------------------------------------------------------------------------%
% Ubah Istilah Penulisan
%-----------------------------------------------------------------------------%
%
% Beberapa istilah yang tepat untuk digunakan dalam laporan.
\renewcommand{\bibname}{Daftar Referensi}
%
%
\renewcommand{\contentsname}{Daftar Isi}
%
%
\renewcommand{\listfigurename}{Daftar Gambar}
%
%
\renewcommand{\listtablename}{Daftar Tabel}
%
%
\renewcommand{\chaptername}{BAB}
%
%
\renewcommand{\figurename}{\bo{Gambar}}
%
%
\renewcommand{\tablename}{\bo{Tabel}}
%
%
\newcommand{\pic}{Gambar}
%
%
\newcommand{\tab}{Tabel}
%
%
\newcommand{\equ}{Persamaan}