artikel terkompile
parent
f0dd0f3927
commit
766f067507
|
@ -6,7 +6,8 @@
|
|||
{
|
||||
"label": "Compile thesis",
|
||||
"type": "shell",
|
||||
"command": "latexmk -pdf thesis.tex article.tex && latexmk -pdf -c thesis.tex article.tex"
|
||||
"command": "latexmk -pdf thesis.tex article.tex && latexmk -pdf -c thesis.tex article.tex",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,108 @@
|
|||
|
||||
|
||||
Penentuan koordinat tentangga dapat ditemukan dengang mengubah koordinat polar menjadi koordinat kartesian.
|
||||
Koordinat polar membutuhkan panjang $d_a$, dan sudut $\alpha$.
|
||||
Panjang $d_a$ adalah variable yang didapat dari sensor yang memberikan nilai jarak dari robot $A$ ke robot $B$,
|
||||
akan tetapi untuk mendapatkan koordinat polar, pengukuran sudu $\alpha$ tidak tersedia.
|
||||
Algoritama yang ditawarkan memanfaatkan hukum \textit{cosinus} pada segitiga untuk mendapatkan sudut tersebut.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[scale=.5]{BAB3/img/estimate_coordinate.png}
|
||||
\caption{Strategi Penentuan Koordinat}
|
||||
\label{fig:strategiPenentuanKoordinat}
|
||||
\end{figure}
|
||||
|
||||
Dapat diperhatikan pada gambar~\ref{fig:strategiPenentuanKoordinat} untuk gambaran strateginya.
|
||||
Robot $B \in \tetangga_A$, adalah tetangga dari robot $A$.
|
||||
Pertama-tama, sebelum robot $A$ bergerak, disimpan terlebih dahulu nilai $d_a$,
|
||||
atau dinotasikan dengan $d_a[k]$ sebagai jarak sebelum bergerak.
|
||||
Lalu robot $A$ berjalan secara random kesegala arah dengan jarak $l_a$.
|
||||
Disimpan kembali nilai jara $d_a$, atau dinotasikan dengan $d_a[k+1]$.
|
||||
Setalah itu dapat ditentukan sudut $\alpha[k+1]$
|
||||
\begin{align}
|
||||
d_a[k]^2 & = d_a[k+1]^2 + l_a^2 + 2 d_a[k+1] l_a \cos{(\alpha[k+1])} \\
|
||||
\alpha[k+1] & = cos^{-1}\Bigg( \frac{l_a^2 + d_a[k+1]^2 -d_a[k]^2}{2d_a[k+1]l_a} \Bigg)
|
||||
\label{eq:algo_getAngle}
|
||||
\end{align}
|
||||
Sebelum $\alpha[k+1]$ digunakan, jarak $d_a[k+1]$ dan $d_a[k]$ berpengaruh dalam penentuan koordinat.
|
||||
Sehingga diperlukan sedikit algoritma
|
||||
\begin{align}
|
||||
\alpha_i=
|
||||
\begin{cases}
|
||||
\alpha[k+1] & ,d_a[k+1] > d_a[k] \\
|
||||
180-\alpha[k+1] & ,d_a[k+1] < d_a[k]
|
||||
\end{cases}.\label{eq:init_relatif_koordinat}
|
||||
\end{align}
|
||||
|
||||
Strategi pada gambar~\ref{fig:strategiPenentuanKoordinat} hanya berlaku apabila target ukur berhenti. Apabila dinotasikan koordinat $(x_B^A, y_B^A)$ adalah koordinat relatif robot $B$ terhadap $A$,
|
||||
maka $(\dot{x}_B^A, \dot{y}_B^A)$ adalah notasi kecepatan koordinat dari robot B.
|
||||
Dengan menggunakan persamaan~\eqref{eq:kinematika_robot} untuk menyelesaikan koordinat dalam
|
||||
keadaan robot $B$ bergerak, yaitu mengirimkan informasi kecepatan koordinatnya
|
||||
ke robot $A$. Lalu robot $A$ dapat mengkalkulasi koordinat relatif dengan persamaan berikut
|
||||
\begin{align}
|
||||
\alpha[k+1] & = \alpha[k]+tan^{-1} \Big[ \frac{\dot{x}_B^A}{\dot{y}_B^A} \Big]
|
||||
\end{align}
|
||||
dimana kondisi inisial adalah $\alpha[k] = \alpha_i$ diperoleh dari hasil strategi pada persamaan~\eqref{eq:init_relatif_koordinat}.
|
||||
Dengan memanfaatkan kedua strategi tersebut dapat digunakan untuk
|
||||
mengkalkulasi koordinat robot $B$ relatif terhadap robot $A$
|
||||
\begin{align}
|
||||
x_B^A = \begin{bmatrix}
|
||||
x_B = d_a[k]\cos \alpha[k] \\
|
||||
y_B = d_a[k]\sin \alpha[k]
|
||||
\end{bmatrix}
|
||||
\end{align}
|
||||
Dalam strategi ini akan terjadi ketidak akuratan dalam pengukuran apabila target ukur
|
||||
berada pada sudut $90^\circ$.
|
||||
Akan tetapi, \kutip{Cao2007} sudah menjelaskan mengenai kriteria posisi agent ketika dalam kondisi inisial.
|
||||
Yaitu semua agent tidak berada pada kondisi sejajar secara koordinat global.
|
||||
|
||||
\begin{algorithm}
|
||||
\DontPrintSemicolon
|
||||
\KwInput{
|
||||
Integer $l_a>0$,
|
||||
$\tetangga_i=getConnectionRobot()$, }
|
||||
\KwOutput{$x_i^j$}
|
||||
|
||||
\If{isInisilised() == false}{
|
||||
\tcc{inisialisasi}
|
||||
\tcc{getRandomDirection() akan mengembalikan sudur random antara 0 - 360}
|
||||
$dir = getRandomDirection()$\;
|
||||
$d_{before} = getDistanceFromSensor(\tetangga_i)$\;
|
||||
$r = \begin{bmatrix}
|
||||
l_a \cos(dir) \\
|
||||
l_a \sin(dir)
|
||||
\end{bmatrix}$\;
|
||||
|
||||
\tcc{Menjalankan robot hingga mencapai setpoint}
|
||||
\While{isSetpointReached()}{
|
||||
$runRobotToSetpoint(r)$\;
|
||||
}
|
||||
|
||||
\tcc{Mengambil jarak setelah robot mencapai setpoint}
|
||||
$d_{after} = getDistanceFromSensor(\tetangga_i)$\;
|
||||
|
||||
\tcc{Mengkalkulasi sudut}
|
||||
$ang = cos^{-1}\Bigg[ \frac{l_a^2 + d_{after}^2 -d_{before}^2}{2d_{before}l_a} \Bigg]$\;
|
||||
}
|
||||
\Else{
|
||||
\tcc{mendapatkan infromasi state dari tetangga}
|
||||
$\begin{bmatrix}
|
||||
\dot{x}_B^A \\ \dot{y}_B^A
|
||||
\end{bmatrix} = getState()$ \;
|
||||
$ang = \alpha[k]+tan^{-1} \Big[ \frac{\dot{x}_B^A}{\dot{y}_B^A} \Big]$ \;
|
||||
}
|
||||
|
||||
\If{$d_{before}<d_{after}$}
|
||||
{
|
||||
$ang = 180-ang$\;
|
||||
}
|
||||
\tcc{Menjadikan koordinat kartesian}
|
||||
\Return $x_i^j = \begin{bmatrix}
|
||||
d_{after} \cos(ang) \\
|
||||
d_{after} \sin(ang)
|
||||
\end{bmatrix}$\;
|
||||
|
||||
\caption{\textit{Algoritma Cosinus}}
|
||||
\label{algo:algoritma_cosinus}
|
||||
\end{algorithm}
|
|
@ -0,0 +1,11 @@
|
|||
@Comment{$ biblatex control file $}
|
||||
@Comment{$ biblatex bcf format version 3.7 $}
|
||||
% Do not modify this file!
|
||||
%
|
||||
% This is an auxiliary file used by the 'biblatex' package.
|
||||
% This file may safely be deleted. It will be recreated as
|
||||
% required.
|
||||
|
||||
@Control{biblatex-control,
|
||||
options = {3.7:0:0:1:0:1:1:0:0:1:0:2:3:1:3:1:0:0:3:1:79:+:+:nyt},
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
% $ biblatex auxiliary file $
|
||||
% $ biblatex bbl format version 3.1 $
|
||||
% Do not modify the above lines!
|
||||
%
|
||||
% This is an auxiliary file used by the 'biblatex' package.
|
||||
% This file may safely be deleted. It will be recreated as
|
||||
% required.
|
||||
%
|
||||
\begingroup
|
||||
\makeatletter
|
||||
\@ifundefined{ver@biblatex.sty}
|
||||
{\@latex@error
|
||||
{Missing 'biblatex' package}
|
||||
{The bibliography requires the 'biblatex' package.}
|
||||
\aftergroup\endinput}
|
||||
{}
|
||||
\endgroup
|
||||
|
||||
\datalist[entry]{nyt/global//global/global}
|
||||
\entry{Cao2007}{inproceedings}{}
|
||||
\name{author}{5}{}{%
|
||||
{{hash=CM}{%
|
||||
family={{Cao}},
|
||||
familyi={C\bibinitperiod},
|
||||
given={M.},
|
||||
giveni={M\bibinitperiod},
|
||||
}}%
|
||||
{{hash=MAS}{%
|
||||
family={{Morse}},
|
||||
familyi={M\bibinitperiod},
|
||||
given={A.\bibnamedelima S.},
|
||||
giveni={A\bibinitperiod\bibinitdelim S\bibinitperiod},
|
||||
}}%
|
||||
{{hash=YC}{%
|
||||
family={{Yu}},
|
||||
familyi={Y\bibinitperiod},
|
||||
given={C.},
|
||||
giveni={C\bibinitperiod},
|
||||
}}%
|
||||
{{hash=ABDO}{%
|
||||
family={{Anderson}},
|
||||
familyi={A\bibinitperiod},
|
||||
given={B.\bibnamedelima D.\bibnamedelima O.},
|
||||
giveni={B\bibinitperiod\bibinitdelim D\bibinitperiod\bibinitdelim
|
||||
O\bibinitperiod},
|
||||
}}%
|
||||
{{hash=DS}{%
|
||||
family={{Dasguvta}},
|
||||
familyi={D\bibinitperiod},
|
||||
given={S.},
|
||||
giveni={S\bibinitperiod},
|
||||
}}%
|
||||
}
|
||||
\keyw{distributed control;mobile robots;multi-robot systems;spatial
|
||||
variables control;triangular formation;mobile autonomous agents;collinear
|
||||
formations;distributed control law;Autonomous agents;USA Councils;Distributed
|
||||
control;H infinity control;Differential equations;Information
|
||||
technology;Art;Australia Council}
|
||||
\strng{namehash}{CM+1}
|
||||
\strng{fullhash}{CMMASYCABDODS1}
|
||||
\field{labelnamesource}{author}
|
||||
\field{labeltitlesource}{title}
|
||||
\field{labelyear}{2007}
|
||||
\field{labeldatesource}{}
|
||||
\field{sortinit}{C}
|
||||
\field{sortinithash}{C}
|
||||
\field{abstract}{%
|
||||
This paper proposes a distributed control law for maintaining a triangular
|
||||
formation in the plane consisting of three mobile autonomous agents. It is
|
||||
shown that the control law can cause any initially non-collinear,
|
||||
positively-oriented {resp. negatively-oriented} triangular formation to
|
||||
converge exponentially fast to a desired positively-oriented {resp.
|
||||
negatively- oriented} triangular formation. It is also shown that there is a
|
||||
thin set of initially collinear formations which remain collinear and may
|
||||
drift off to infinity as t rarr infin. These findings complement and extend
|
||||
earlier findings cited below.%
|
||||
}
|
||||
\field{booktitle}{2007 46th IEEE Conference on Decision and Control}
|
||||
\verb{doi}
|
||||
\verb 10.1109/CDC.2007.4434757
|
||||
\endverb
|
||||
\field{issn}{0191-2216}
|
||||
\field{pages}{3603\bibrangedash 3608}
|
||||
\field{title}{Controlling a triangular formation of mobile autonomous
|
||||
agents}
|
||||
\field{year}{2007}
|
||||
\warn{\item Invalid format of field 'month'}
|
||||
\endentry
|
||||
\enddatalist
|
||||
\endinput
|
BIN
article.pdf
BIN
article.pdf
Binary file not shown.
|
@ -0,0 +1,93 @@
|
|||
<?xml version="1.0" standalone="yes"?>
|
||||
<!-- logreq request file -->
|
||||
<!-- logreq version 1.0 / dtd version 1.0 -->
|
||||
<!-- Do not edit this file! -->
|
||||
<!DOCTYPE requests [
|
||||
<!ELEMENT requests (internal | external)*>
|
||||
<!ELEMENT internal (generic, (provides | requires)*)>
|
||||
<!ELEMENT external (generic, cmdline?, input?, output?, (provides | requires)*)>
|
||||
<!ELEMENT cmdline (binary, (option | infile | outfile)*)>
|
||||
<!ELEMENT input (file)+>
|
||||
<!ELEMENT output (file)+>
|
||||
<!ELEMENT provides (file)+>
|
||||
<!ELEMENT requires (file)+>
|
||||
<!ELEMENT generic (#PCDATA)>
|
||||
<!ELEMENT binary (#PCDATA)>
|
||||
<!ELEMENT option (#PCDATA)>
|
||||
<!ELEMENT infile (#PCDATA)>
|
||||
<!ELEMENT outfile (#PCDATA)>
|
||||
<!ELEMENT file (#PCDATA)>
|
||||
<!ATTLIST requests
|
||||
version CDATA #REQUIRED
|
||||
>
|
||||
<!ATTLIST internal
|
||||
package CDATA #REQUIRED
|
||||
priority (9) #REQUIRED
|
||||
active (0 | 1) #REQUIRED
|
||||
>
|
||||
<!ATTLIST external
|
||||
package CDATA #REQUIRED
|
||||
priority (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8) #REQUIRED
|
||||
active (0 | 1) #REQUIRED
|
||||
>
|
||||
<!ATTLIST provides
|
||||
type (static | dynamic | editable) #REQUIRED
|
||||
>
|
||||
<!ATTLIST requires
|
||||
type (static | dynamic | editable) #REQUIRED
|
||||
>
|
||||
<!ATTLIST file
|
||||
type CDATA #IMPLIED
|
||||
>
|
||||
]>
|
||||
<requests version="1.0">
|
||||
<internal package="biblatex" priority="9" active="0">
|
||||
<generic>latex</generic>
|
||||
<provides type="dynamic">
|
||||
<file>article.aux</file>
|
||||
<file>article-blx.bib</file>
|
||||
</provides>
|
||||
<requires type="dynamic">
|
||||
<file>article.bbl</file>
|
||||
</requires>
|
||||
<requires type="static">
|
||||
<file>blx-dm.def</file>
|
||||
<file>blx-compat.def</file>
|
||||
<file>blx-bibtex.def</file>
|
||||
<file>biblatex.def</file>
|
||||
<file>standard.bbx</file>
|
||||
<file>authoryear.bbx</file>
|
||||
<file>authoryear-icomp.bbx</file>
|
||||
<file>authoryear-icomp.cbx</file>
|
||||
<file>biblatex.cfg</file>
|
||||
<file>english.lbx</file>
|
||||
</requires>
|
||||
</internal>
|
||||
<external package="biblatex" priority="5" active="0">
|
||||
<generic>bibtex</generic>
|
||||
<cmdline>
|
||||
<binary>bibtex</binary>
|
||||
<option>-min-crossrefs 2</option>
|
||||
<infile>article</infile>
|
||||
</cmdline>
|
||||
<input>
|
||||
<file>article.aux</file>
|
||||
</input>
|
||||
<output>
|
||||
<file>article.bbl</file>
|
||||
</output>
|
||||
<provides type="dynamic">
|
||||
<file>article.bbl</file>
|
||||
</provides>
|
||||
<requires type="dynamic">
|
||||
<file>article.aux</file>
|
||||
<file>article-blx.bib</file>
|
||||
</requires>
|
||||
<requires type="editable">
|
||||
<file>OTHER/references.bib</file>
|
||||
</requires>
|
||||
<requires type="static">
|
||||
<file>biblatex.bst</file>
|
||||
</requires>
|
||||
</external>
|
||||
</requests>
|
145
article.tex
145
article.tex
|
@ -21,45 +21,12 @@
|
|||
|
||||
\documentclass[twoside,twocolumn]{article}
|
||||
|
||||
\usepackage{uithesis}
|
||||
\usepackage{blindtext} % Package to generate dummy text throughout this template
|
||||
|
||||
\usepackage[sc]{mathpazo} % Use the Palatino font
|
||||
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
|
||||
\linespread{1.05} % Line spacing - Palatino needs more space between lines
|
||||
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
|
||||
|
||||
\usepackage[english]{babel} % Language hyphenation and typographical rules
|
||||
|
||||
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins
|
||||
\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures
|
||||
\usepackage{booktabs} % Horizontal rules in tables
|
||||
|
||||
\usepackage{lettrine} % The lettrine is the first enlarged letter at the beginning of the text
|
||||
|
||||
\usepackage{enumitem} % Customized lists
|
||||
\setlist[itemize]{noitemsep} % Make itemize lists more compact
|
||||
|
||||
\usepackage{abstract} % Allows abstract customization
|
||||
\renewcommand{\abstractnamefont}{\normalfont\bfseries} % Set the "Abstract" text to bold
|
||||
\renewcommand{\abstracttextfont}{\normalfont\small\itshape} % Set the abstract itself to small italic text
|
||||
|
||||
\usepackage{titlesec} % Allows customization of titles
|
||||
\renewcommand\thesection{\Roman{section}} % Roman numerals for the sections
|
||||
\renewcommand\thesubsection{\roman{subsection}} % roman numerals for subsections
|
||||
\titleformat{\section}[block]{\large\scshape\centering}{\thesection.}{1em}{} % Change the look of the section titles
|
||||
\titleformat{\subsection}[block]{\large}{\thesubsection.}{1em}{} % Change the look of the section titles
|
||||
|
||||
\usepackage{fancyhdr} % Headers and footers
|
||||
\pagestyle{fancy} % All pages have headers and footers
|
||||
\fancyhead{} % Blank out the default header
|
||||
\fancyfoot{} % Blank out the default footer
|
||||
\fancyhead[C]{Running title $\bullet$ May 2016 $\bullet$ Vol. XXI, No. 1} % Custom header text
|
||||
\fancyfoot[RO,LE]{\thepage} % Custom footer text
|
||||
|
||||
\usepackage{titling} % Customizing the title section
|
||||
|
||||
\usepackage{hyperref} % For hyperlinks in the PDF
|
||||
|
||||
\addbibresource{OTHER/references.bib}
|
||||
\input{laporan_setting}
|
||||
\include{hype.indonesia}
|
||||
%----------------------------------------------------------------------------------------
|
||||
% TITLE SECTION
|
||||
%----------------------------------------------------------------------------------------
|
||||
|
@ -96,85 +63,81 @@
|
|||
% ARTICLE CONTENTS
|
||||
%----------------------------------------------------------------------------------------
|
||||
|
||||
\section{Introduction}
|
||||
\section{Pendahuluan}
|
||||
|
||||
\lettrine[nindent=0em,lines=3]{L} orem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
\blindtext % Dummy text
|
||||
|
||||
\blindtext % Dummy text
|
||||
\include{BAB1/art_pendahuluan}
|
||||
% \blindtext % Dummy text
|
||||
% \blindtext % Dummy text
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\section{Methods}
|
||||
\section{Metode}
|
||||
\include{BAB4/art_metode}
|
||||
% Maecenas sed ultricies felis. Sed imperdiet dictum arcu a egestas.
|
||||
% \begin{itemize}
|
||||
% \item Donec dolor arcu, rutrum id molestie in, viverra sed diam
|
||||
% \item Curabitur feugiat
|
||||
% \item turpis sed auctor facilisis
|
||||
% \item arcu eros accumsan lorem, at posuere mi diam sit amet tortor
|
||||
% \item Fusce fermentum, mi sit amet euismod rutrum
|
||||
% \item sem lorem molestie diam, iaculis aliquet sapien tortor non nisi
|
||||
% \item Pellentesque bibendum pretium aliquet
|
||||
% \end{itemize}
|
||||
% \blindtext % Dummy text
|
||||
|
||||
Maecenas sed ultricies felis. Sed imperdiet dictum arcu a egestas.
|
||||
\begin{itemize}
|
||||
\item Donec dolor arcu, rutrum id molestie in, viverra sed diam
|
||||
\item Curabitur feugiat
|
||||
\item turpis sed auctor facilisis
|
||||
\item arcu eros accumsan lorem, at posuere mi diam sit amet tortor
|
||||
\item Fusce fermentum, mi sit amet euismod rutrum
|
||||
\item sem lorem molestie diam, iaculis aliquet sapien tortor non nisi
|
||||
\item Pellentesque bibendum pretium aliquet
|
||||
\end{itemize}
|
||||
\blindtext % Dummy text
|
||||
|
||||
Text requiring further explanation\footnote{Example footnote}.
|
||||
% Text requiring further explanation\footnote{Example footnote}.
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\section{Results}
|
||||
\section{Hasil}
|
||||
\include{BAB5/art_hasil}
|
||||
|
||||
\begin{table}
|
||||
\caption{Example table}
|
||||
\centering
|
||||
\begin{tabular}{llr}
|
||||
\toprule
|
||||
\multicolumn{2}{c}{Name} \\
|
||||
\cmidrule(r){1-2}
|
||||
First name & Last Name & Grade \\
|
||||
\midrule
|
||||
John & Doe & $7.5$ \\
|
||||
Richard & Miles & $2$ \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
% \begin{table}
|
||||
% \caption{Example table}
|
||||
% \centering
|
||||
% \begin{tabular}{llr}
|
||||
% \toprule
|
||||
% \multicolumn{2}{c}{Name} \\
|
||||
% \cmidrule(r){1-2}
|
||||
% First name & Last Name & Grade \\
|
||||
% \midrule
|
||||
% John & Doe & $7.5$ \\
|
||||
% Richard & Miles & $2$ \\
|
||||
% \bottomrule
|
||||
% \end{tabular}
|
||||
% \end{table}
|
||||
|
||||
\blindtext % Dummy text
|
||||
% \blindtext % Dummy text
|
||||
|
||||
\begin{equation}
|
||||
\label{eq:emc}
|
||||
e = mc^2
|
||||
\end{equation}
|
||||
% \begin{equation}
|
||||
% \label{eq:emc}
|
||||
% e = mc^2
|
||||
% \end{equation}
|
||||
|
||||
\blindtext % Dummy text
|
||||
% \blindtext % Dummy text
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\section{Discussion}
|
||||
\section{Diskusi}
|
||||
\include{BAB5/art_diskusi}
|
||||
|
||||
\subsection{Subsection One}
|
||||
% \subsection{Subsection One}
|
||||
|
||||
A statement requiring citation \cite{Figueredo:2009dg}.
|
||||
\blindtext % Dummy text
|
||||
% A statement requiring citation \cite{Figueredo:2009dg}.
|
||||
% \blindtext % Dummy text
|
||||
|
||||
\subsection{Subsection Two}
|
||||
% \subsection{Subsection Two}
|
||||
|
||||
\blindtext % Dummy text
|
||||
% \blindtext % Dummy text
|
||||
|
||||
%----------------------------------------------------------------------------------------
|
||||
% REFERENCE LIST
|
||||
%----------------------------------------------------------------------------------------
|
||||
|
||||
\begin{thebibliography}{99} % Bibliography - this is intentionally simple in this template
|
||||
|
||||
\bibitem[Figueredo and Wolf, 2009]{Figueredo:2009dg}
|
||||
Figueredo, A.~J. and Wolf, P. S.~A. (2009).
|
||||
\newblock Assortative pairing and life history strategy - a cross-cultural
|
||||
study.
|
||||
\newblock {\em Human Nature}, 20:317--330.
|
||||
|
||||
\end{thebibliography}
|
||||
\renewcommand{\bibname}{\mybibname}
|
||||
\section{\bibname}
|
||||
\printbibliography[title=\bibname]
|
||||
|
||||
%----------------------------------------------------------------------------------------
|
||||
|
||||
|
|
156
uithesis.sty
156
uithesis.sty
|
@ -24,6 +24,54 @@
|
|||
% Package
|
||||
%-----------------------------------------------------------------------------%
|
||||
|
||||
%
|
||||
% Digunakan untuk branching documentclass
|
||||
%
|
||||
\usepackage{fetchcls}
|
||||
|
||||
\@ifclassloaded{article}
|
||||
{
|
||||
\usepackage[sc]{mathpazo} % Use the Palatino font
|
||||
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
|
||||
\linespread{1.05} % Line spacing - Palatino needs more space between lines
|
||||
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
|
||||
|
||||
\usepackage[english]{babel} % Language hyphenation and typographical rules
|
||||
|
||||
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins
|
||||
\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats in tables or figures
|
||||
\usepackage{booktabs} % Horizontal rules in tables
|
||||
|
||||
\usepackage{lettrine} % The lettrine is the first enlarged letter at the beginning of the text
|
||||
|
||||
\usepackage{enumitem} % Customized lists
|
||||
\setlist[itemize]{noitemsep} % Make itemize lists more compact
|
||||
|
||||
\usepackage{abstract} % Allows abstract customization
|
||||
\renewcommand{\abstractnamefont}{\normalfont\bfseries} % Set the "Abstract" text to bold
|
||||
\renewcommand{\abstracttextfont}{\normalfont\small\itshape} % Set the abstract itself to small italic text
|
||||
|
||||
\usepackage{titlesec} % Allows customization of titles
|
||||
\renewcommand\thesection{\Roman{section}} % Roman numerals for the sections
|
||||
\renewcommand\thesubsection{\roman{subsection}} % roman numerals for subsections
|
||||
\titleformat{\section}[block]{\large\scshape\centering}{\thesection.}{1em}{} % Change the look of the section titles
|
||||
\titleformat{\subsection}[block]{\large}{\thesubsection.}{1em}{} % Change the look of the section titles
|
||||
|
||||
% \usepackage{fancyhdr} % Headers and footers
|
||||
% \pagestyle{fancy} % All pages have headers and footers
|
||||
% \fancyhead{} % Blank out the default header
|
||||
% \fancyfoot{} % Blank out the default footer
|
||||
% \fancyhead[C]{Running title $\bullet$ May 2016 $\bullet$ Vol. XXI, No. 1} % Custom header text
|
||||
% \fancyfoot[RO,LE]{\thepage} % Custom footer text
|
||||
|
||||
\usepackage{titling} % Customizing the title section
|
||||
|
||||
% \usepackage{hyperref} % For hyperlinks in the PDF
|
||||
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
%
|
||||
% From The tocbibind package [author: Peter Wilson, Herries Press]:
|
||||
% The tocbibind package can be used to add document elements like a
|
||||
|
@ -94,12 +142,22 @@
|
|||
% 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}
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
\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}
|
||||
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
\usepackage[font=footnotesize,format=plain,labelfont=bf,up,textfont=up]{caption}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
% digunakan untuk membuat sub gambar didalam figure
|
||||
% usepackage dilakukan setelah caption,
|
||||
|
@ -150,7 +208,13 @@
|
|||
%
|
||||
% Digunakan untuk nomor dengan format inline
|
||||
%
|
||||
\usepackage[inline]{enumitem}
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
\usepackage[inline]{enumitem}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
%
|
||||
% Menggunakan biblatex untuk referensi
|
||||
%
|
||||
|
@ -159,7 +223,21 @@
|
|||
% Digunakan untuk menghasilkan tabel pseudocode
|
||||
%
|
||||
\usepackage{xcolor}
|
||||
\usepackage[linesnumbered,ruled,vlined,algochapter]{algorithm2e}
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
\usepackage[linesnumbered,ruled,vlined,algochapter]{algorithm2e}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
\@ifclassloaded{article}
|
||||
{
|
||||
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
%
|
||||
% Digunakan untuk membuat mind map
|
||||
%
|
||||
|
@ -197,7 +275,7 @@
|
|||
|
||||
|
||||
% link page numbers in TOC
|
||||
\makeatletter
|
||||
% \makeatletter
|
||||
\def\contentsline#1#2#3#4{%
|
||||
\ifx\\#4\\%
|
||||
\csname l@#1\endcsname{#2}{#3}%
|
||||
|
@ -216,24 +294,73 @@
|
|||
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
||||
{2.3ex \@plus.2ex}%
|
||||
{\large\bfseries}}
|
||||
\makeatother
|
||||
% \makeatother
|
||||
|
||||
|
||||
%
|
||||
% Atur header dan footer dalam dokumen.
|
||||
%
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
|
||||
\setcounter{secnumdepth}{3}
|
||||
|
||||
\setcounter{tocdepth}{3}
|
||||
|
||||
%
|
||||
% Atur header dan footer dalam dokumen.
|
||||
%
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\fancyhf{}
|
||||
\fancyhf{}
|
||||
\fancyhf{}
|
||||
\fancyhf{}
|
||||
\fancyhf{}
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[R]{\thepage}
|
||||
\fancyhead[R]{\thepage}
|
||||
\fancyhead[R]{\thepage}
|
||||
\fancyhead[R]{\thepage}
|
||||
\fancyhead[R]{\thepage}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\renewcommand{\headrulewidth}{0.0pt}
|
||||
\fancyfoot[R]{\footnotesize \bo{ }}
|
||||
\fancyfoot[R]{\footnotesize \bo{ }}
|
||||
\fancyfoot[R]{\footnotesize \bo{ }}
|
||||
\fancyfoot[R]{\footnotesize \bo{ }}
|
||||
\fancyfoot[R]{\footnotesize \bo{ }}
|
||||
\renewcommand{\footrulewidth}{0.0pt}
|
||||
\renewcommand{\footrulewidth}{0.0pt}
|
||||
\pagestyle{fancy}
|
||||
\renewcommand{\footrulewidth}{0.0pt}
|
||||
\renewcommand{\footrulewidth}{0.0pt}
|
||||
\renewcommand{\footrulewidth}{0.0pt}
|
||||
\pagestyle{fancy}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
\@ifclassloaded{article}
|
||||
{
|
||||
\pagestyle{fancy} % All pages have headers and footers
|
||||
\fancyhead{} % Blank out the default header
|
||||
\fancyfoot{} % Blank out the default footer
|
||||
\fancyhead[C]{Running title $\bullet$ May 2016 $\bullet$ Vol. XXI, No. 1} % Custom header text
|
||||
\fancyfoot[RO,LE]{\thepage} % Custom footer tex
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
%-----------------------------------------------------------------------------%
|
||||
|
@ -367,7 +494,14 @@
|
|||
\renewcommand{\listtablename}{Daftar Tabel}
|
||||
%
|
||||
%
|
||||
|
||||
\@ifclassloaded{report}
|
||||
{
|
||||
\renewcommand{\chaptername}{BAB}
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
%
|
||||
%
|
||||
\renewcommand{\figurename}{\bo{Gambar}}
|
||||
|
|
Loading…
Reference in New Issue