Pengenalan LaTeX
dalam Menulis Artikel
dan Laporan
Agenda
• Pengenalan LaTeX
• Mengapa LaTeX?
• Cara Kerja LaTeX
• Struktur File LaTeX
• Overleaf
• Fitur & Benefit
• Hands on (demo + praktik)
• Penutup
LaTeX
• Awal 1980
• Leslie Lamport → LaTeX: Lamport TeX
• Bahasa markup
• Sistem penyiapan dokumen untuk peranti lunak TeX
• Typesetting dan mencetak hasil kerjanya dalam bentuk
tipografi yang terbaik.
• Versi sekarang: LaTeX2e (release 1994, update 2020)
• https://www.latex-project.org/
TeX
• Program komputer u/ membuat typesetting suatu dokumen
atau membuat formula matematika.
• Donald Knuth
• Karakter 'T', 'E', dan 'X’ dari huruf kapital Yunani:
• tau,
• epsilon, dan
• chi,
• τέχνη ('keterampilan', 'seni', 'teknik')
Mengapa LaTeX?
• Kelebihan:
• Format dokumen terstruktur → dokumen professional & sempurna.
• Formula dan simbol matematika → lengkap dan mudah.
• Daftar Gambar, Daftar Tabel, Daftar Pustaka, footnote, Daftar Isi →
otomatis dibuat oleh program.
• Dokumen memiliki struktur yang baik dan benar → tidak rancu.
• Ukuran file kecil dan bebas virus.
• Berjalan di semua platform (Windows, Linux, Mac)
• Banyak forum membahas LaTeX.
• Banyak jurnal menggunakan dan menyediakan LaTeX template.
• Gratis → free + open source.
Mengapa LaTeX?
• Kekurangan:
• Cukup sulit → dokumen tidak terstruktur.
• Tidak cocok → dokumen pendek dan yang mementingkan desain.
• Membutuhkan kesabaran, ketelitian dan kecepatan dalam menulis.
• Perlu di-compile dulu (not WYSIWYG: What-You-See-Is-What-YouGet).
• Convert Word to LaTeX → hasil kurang
• https://www.grindeq.com/index.php?p=word2latex
• https://products.aspose.app/pdf/conversion/word-to-latex
• Perlu waktu untuk belajar LaTeX.
Cara Kerja LaTeX
Output
Input
Compile
Struktur File LaTeX
• Document class
• Predefined formats: article, book, report, …
• Packages used
• Added functionality: graphics, equation, reference style, …
• Main Body
• Text and Bibliography references
Contoh Struktur File LaTeX
\documentclass [12pt]{article} Define the types of the document
(article, book, thesis …)
\usepackage {color}
\usepackage {graphicx}
Preamble. Incorporate packages or
define macros here
\begin{document}
Main body, stuff to be printed, title,
authors, abstract, sections,
references, ….
\end{document}
Document class
Package used
Main body
Overleaf
• Collaborative cloud-based LaTeX editor
• For writing, editing and publishing scientific documents
• John Hammersley & John Lees-Miller (2011) → WriteLaTeX
• 16 January 2014 → Overleaf (beta version)
• 2017 → merge with ShareLaTeX → Overleaf v2
• https://www.overleaf.com/
Overleaf: Features and Benefit (1/8)
• All you need is web browser, e.g., Google Chrome, Mozilla
Firefox, Microsoft Edge, Safari, Opera, etc.
Overleaf: Features and Benefit (2/8)
• Always have the latest version
Overleaf: Features and Benefit (3/8)
• Effortless sharing
Overleaf: Features and Benefit (4/8)
• Automatic real-time preview
Overleaf: Features and Benefit (5/8)
• Real-time track changes and commenting
Overleaf: Features and Benefit (6/8)
• Complementary Rich Text and LaTeX modes
Overleaf: Features and Benefit (7/8)
• Quickly find LaTeX errors
Overleaf: Features and Benefit (8/8)
• Not just for papers! → thousands of templates in Overleaf’s
free online template gallery.
Subscription Plan
Subscription Plan
Hands On
• Mari langsung praktik
• Share → Turn-on link sharing
• Copy link ke chat box di Zoom
Hands On
•Anyone with this link can edit this project
https://www.overleaf.com/5151559361hnvpkbgvcvtx
•Anyone with this link can view this project
https://www.overleaf.com/read/drgsdhprybhp
Insert Gambar
% Please add the following required packages to your document
preamble:
% \usepackage{graphicx}
\begin{figure}[!h]
\centering
\includegraphics[width=0.48\linewidth]{Gambar/AIPSSA.jpg}
\caption{This is figure}
\label{fig:aipssa}\
end{figure}
Buat Tabel
• https://www.tablesgenerator.com/
% Please add the following required packages to your document preamble:
% \usepackage{booktabs}
\begin{table}[]
\begin{tabular}{@{}cllll@{}}
\toprule
\textbf{No} & \multicolumn{1}{c}{\textbf{Nama Lengkap}} & \multicolumn{1}{c}{\textbf{Asal Institusi}}
&
\multicolumn{1}{c}{\textbf{E-mail}}
& \multicolumn{1}{c}{\textbf{HP}}
\\ \midrule
1
& Budi
& Universitas ABC
&
budi@abc.ac.id
& 081290908080
\\
2
& Andi
& Universitas XYZ
&
andi@xyz.ac.id
& 081755443322
\\
3
& Anita
& SMA EFG
&
& 081512345678
\\ \bottomrule
anita@efg.sch.id
\end{tabular}
\end{table}
Equation & Symbols
•Tools for writing formula:
https://latex.codecogs.com/eqneditor/editor.php
• List of math symbols
https://www.authorea.com/users/77723/articles/110898-howto-write-mathematical-equations-expressions-and-symbolswith-latex-a-cheatsheet
Contoh Equation & Symbols
% Please add the following required packages to your document preamble:
%\usepackage{amsmath}
Add $a$ squared and $b$ squared
to get $c$ squared. Or, using
a more mathematical approach
\begin{equation}
a^2 + b^2 = c^2
\end{equation}
Einstein says
\begin{equation}
E = mc^2 \label{clever}
\end{equation}
He didn't say
\begin{equation}
1 + 1 = 3 \tag{dumb}
\end{equation}
Buat Daftar Isi
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\tableofcontents
Referring sections
• LaTeX generates numbers for Theorem, Equation, Section,
Figure and other environments automatically. You can access
them with \label and \ref
• Example
\section{Introduction} \label{sec:intro}
….
In Section \ref{sec:intro}, we ….
Contoh Referring Equation
Partitioning results can produce different cluster sizes. The
balanced of a partitioning result is measured by summing each
clusters' entropy (Equation \ref{eq:PartBalance}). The higher PB,
the more balanced the clusters are.
\begin{equation}
\label{eq:PartBalance}
\mbox{Partition Balance}
\mbox{ log } (1/p_i)}
\end{equation}
= {\sum\limits_{i = 1}^{n} p_i
Citation and References
• Bibliography information is stored in a *.bib file, in Bibtex
format.
• Include Chicago package
• \usepackage{cite}
• Set referencing style
• \bibliographystyle{plain}
• Create reference section by
• \bibliography{references}
Citation and References
• Klik New File → references.bib
Citation and References
• Di dalam references.bib, isi dengan contoh:
@book{nerbonne1994german,
title={German in head-driven phrase structure grammar},
author={Nerbonne, John A and Netter, Klaus and Pollard, Carl
Jesse},
volume={46},
year={1994},
publisher={Center for the Study of Language and Information
Stanford, Cal.}
}
Citation and References
Extra: Arabic in LaTeX
• https://www.overleaf.com/learn/latex/Arabic
Thousand of Templates
• Springer
• Elsevier
• IEEE (Institute of Electrical and Electronics Engineers )
• ACM (Association for Computing Machinery)
• etc.
Download Template
• https://sinta.kemdikbud.go.id/journals/index/?page=2
Download Template
• https://ijai.iaescore.com/index.php/IJAI
Upload Project
• https://www.overleaf.com/project
Scimago Journal and Country Rank
• https://www.scimagojr.com/journalrank.php?country=ID
Berapa banyak jurnal
yang menyediakan
template LaTeX?
Penutup
• Mari pindah ke LaTeX → mengapa beli lisensi Microsoft Word?
• Buat template jurnal masing-masing dalam format LaTeX →
modifikasi dari template jurnal lain.
Referensi (Gambar)
• https://artimure-translate.com/
• https://www.tokopedia.com/rajalatex/kasur-full-latex-superhard-ukuran90x200x20-100-full-latex-natural
• https://www.tradeinn.com/diveinn/en/si-tech-5-finger-latex-drygloves/660251/p
• https://en.wikipedia.org/wiki/Leslie_Lamport
• https://en.wikipedia.org/wiki/Donald_Knuth
• http://ftp.riken.jp/tex-archive/info/guide-latex-fr/Images/
• https://en.wikipedia.org/wiki/Overleaf#/media/File:Overleaf_v2_editing_p
age.jpg
• https://www.askara.co/read/2020/07/17/6762/tak-sekadar-tren-ngopijuga-bermanfaat-untuk-kesehatan-hati
Referensi
• https://en.wikipedia.org/wiki/LaTeX
• https://id.wikipedia.org/wiki/LaTeX
• https://www.latex-project.org/
• https://www.haimatematika.com/2018/10/cara-mudah-menulisartikel-ilmiah.html
• https://medium.com/@MDPIOpenAccess/using-latex-9b469d13e74d
• https://latex-project.org/guides/
• https://www.overleaf.com/tutorial
• https://tobi.oetiker.ch/lshort/lshort.pdf
Referensi
• https://en.wikipedia.org/wiki/Overleaf
• https://www.overleaf.com/for/authors
• https://www.overleaf.com/latex/templates
• https://www.overleaf.com/user/subscription/plans
• https://www.overleaf.com/learn
• https://www.tablesgenerator.com/
• https://latex.codecogs.com/eqneditor/editor.php
• https://www.authorea.com/users/77723/articles/110898-how-to-writemathematical-equations-expressions-and-symbols-with-latex-a-cheatsheet
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )