SlideShare a Scribd company logo
1 of 28
Download to read offline
Template LTEX
          A
Bahasa
Indonesia
           Hayi Nukman




      cb
Kata Pengantar




Ini adalah template yang saya buat dari dari kumpulan beber-
apa template yang saya dapatkan di internet. Untuk beberapa
konfigurasi seperti Style Section yang diberi kotak sumbernya
saya sudah lupa (soalnya sudah lama) sehingga mohon ma’af
jika sumbernya tidak saya sertakan.
Dokumen ini dikompilasi dengan XeLatex atau Texlive, dengan
menggunakan Editor Gummi untuk mempermudah saya dalam
menanggulangi error dalam penulisan syntax LTEX. Bagi yang
                                               A

berminat untuk mengembangkan lebih lanjut, atau membuat
template versinya sendiri, silahkan saja didownload dan digu-
nakan. Dokumen ini berlisesi CC-BY, dimana anda bebas untuk
mengcopy, mengembangkan dan mendistribusikannya baik se-
cara komersial maupun tidak.




                              i
Daftar Isi




I    Mengenal LTEX
              A                                                                               1
1 Programming                                                                                 2
  1.1 Gambar dalam LTEX . . . . . .
                       A                  .   .   .   .   .   .   .   .   .   .   .   .   .   2
  1.2 Sourcecode . . . . . . . . . .      .   .   .   .   .   .   .   .   .   .   .   .   .   3
      1.2.1 Verbatim Environment          .   .   .   .   .   .   .   .   .   .   .   .   .   3
      1.2.2 Listing Environment . .       .   .   .   .   .   .   .   .   .   .   .   .   .   3
      1.2.3 Verbatim full Color . . .     .   .   .   .   .   .   .   .   .   .   .   .   .   4
  1.3 Algoritma dan Pseudocode . .        .   .   .   .   .   .   .   .   .   .   .   .   .   4
      1.3.1 If - Else . . . . . . . . .   .   .   .   .   .   .   .   .   .   .   .   .   .   4
      1.3.2 For loop . . . . . . . . .    .   .   .   .   .   .   .   .   .   .   .   .   .   5
      1.3.3 While Loop . . . . . . .      .   .   .   .   .   .   .   .   .   .   .   .   .   5
      1.3.4 Return Variable . . . .       .   .   .   .   .   .   .   .   .   .   .   .   .   5
      1.3.5 Blok Algoritma . . . . .      .   .   .   .   .   .   .   .   .   .   .   .   .   5
      1.3.6 INFO . . . . . . . . . .      .   .   .   .   .   .   .   .   .   .   .   .   .   6


II   Scientific                                                                               8
2 Grafik                                                                                      9
  2.1 Grafik dengan TikZ . . . . . . . . . . . . . . . . . . .                                9
      2.1.1 Grafik Sederhana . . . . . . . . . . . . . . . .                                  9

                                 ii
Hayi Nukman                 A
                                                      (2012), LTEXTemplate

       2.1.2 Grafik 3 Dimensi . . . . .       .   .   .   .   .   .   .   .   .   .   .   .   10
       2.1.3 Beberapa Contoh lainnya          .   .   .   .   .   .   .   .   .   .   .   .   11
       2.1.4 Info detail . . . . . . . .      .   .   .   .   .   .   .   .   .   .   .   .   13
   2.2 Grafik dengan Paket XY . . . .         .   .   .   .   .   .   .   .   .   .   .   .   13
       2.2.1 Contoh 1 . . . . . . . . .       .   .   .   .   .   .   .   .   .   .   .   .   13
       2.2.2 Contoh 2 . . . . . . . . .       .   .   .   .   .   .   .   .   .   .   .   .   13
       2.2.3 Contoh 3 . . . . . . . . .       .   .   .   .   .   .   .   .   .   .   .   .   14
       2.2.4 Info . . . . . . . . . . . .     .   .   .   .   .   .   .   .   .   .   .   .   14

3 Matematika                                                                                  15
  3.1 Matematika . . . . . . . .        . . . . . . . .           .   .   .   .   .   .   .   15
      3.1.1 Equation . . . . . .        . . . . . . . .           .   .   .   .   .   .   .   15
      3.1.2 Akar . . . . . . . . .      . . . . . . . .           .   .   .   .   .   .   .   15
      3.1.3 SUM . . . . . . . . .       . . . . . . . .           .   .   .   .   .   .   .   16
      3.1.4 Integral . . . . . . .      . . . . . . . .           .   .   .   .   .   .   .   16
      3.1.5 Fungsi . . . . . . . .      . . . . . . . .           .   .   .   .   .   .   .   16
  3.2 Penggunaan lebih lanjut di        Matematika                .   .   .   .   .   .   .   17
      3.2.1 Beberapa Contoh .           . . . . . . . .           .   .   .   .   .   .   .   17

4 Kimia                                                                                       19
  4.1 Grafik Kimia . . . . . . . . . . . . . . . . . . . . . . .                              19
  4.2 ION . . . . . . . . . . . . . . . . . . . . . . . . . . . .                             19

Lampiran                                                                                      22

A Contoh Lampiran                                                                             22
  A.1 Konversi byte Array ke Bitmap . . . . . . . . . . . .                                   22




                                  iii
BAGIAN I

Mengenal L TEX
         A




      1
BAB

  1

           Programming



1.1 Gambar dalam L TEX
                 A




                  Gambar 1.1: Contoh Gambar

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut pu-
rus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Cur-
abitur dictum gravida mauris. Nam arcu libero, nonummy eget,
consectetuer id, vulputate a, magna. Donec vehicula augue eu
neque. Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra
metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultri-
ces. Phasellus eu tellus sit amet tortor gravida placerat. Integer
sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent
eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi do-
lor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur
auctor semper nulla. Donec varius orci eget risus. Duis nibh mi,
congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci
sit amet orci dignissim rutrum.




                                2
Hayi Nukman           A
                                                      (2012), LTEXTemplate

     1.2 Sourcecode


     1.2.1         Verbatim Environment
     13             <RadioGroup
     14                 android:id=”@+id/radioGroup1”
     15                 android:layout_width=”match_parent”
     16                 android:layout_height=”wrap_content” >
     17




     1.2.2         Listing Environment
     §
1    package lab.andro.tes;
2

3    public class Sample {
4      private String sample;
5

6            public Sample(String sample) {
7              this.sample = sample;
8            }
9            public String getSample() {
10             return sample;
11           }
12   }
     ¦                                                                       ¥
                                     Sample



     1.2.3         Verbatim full Color
         1          <TextView
         2              android:id=”@+id/textView1”
         3              android:layout_width=”wrap_content”
         4              android:layout_height=”wrap_content”
         5              android:text=”Nilai” />
         6          <RadioGroup
         7              android:id=”@+id/radioGroup1”



                                        3
Hayi Nukman           A
                                                    (2012), LTEXTemplate

    8                android:layout_width=”match_parent”
    9                android:layout_height=”wrap_content” >

    Untuk ketiga bagian di atas, slihakan baca source latex dari doku-
    men ini.


    1.3 Algoritma dan Pseudocode


    1.3.1      If - Else
        if i ≥ maxval then
            i←0
        else
            if i + k ≤ maxval then
                i←i+k
            end if
        end if
1       begin{algorithmic}
2       If {$igeq maxval$}
3           State $igets 0$
4       Else
5           If {$i+kleq maxval$}
6               State $igets i+k$
7           EndIf
8       EndIf
9       end{algorithmic}


    1.3.2      For loop
        for i = 1 → 10 do
           i←i+1
        end for
1       begin{algorithmic}
2       For{$i = 1 to 10$}
3       State $i gets i + 1$
4       EndFor
5       end{algorithmic}

                                      4
Hayi Nukman           A
                                               (2012), LTEXTemplate

    1.3.3   While Loop
     while i ≤ 10 do
       i=i+1;
     end while

1    begin{algorithmic}
2    While{$i leq 10$}
3        State i=i+1;
4    EndWhile
5    end{algorithmic}


    1.3.4   Return Variable
     function Increment(a)
        a←a+1
        return a
     end function

1    begin{algorithmic}
2    Function{Increment}{$a$}
3        State $a gets a+1$
4        State Return $a$
5    EndFunction
6    end{algorithmic}


    1.3.5   Blok Algoritma
     Start
       Start
           Start One(x)
           Ending
           Start Unknown(0)
           Until (True)
       End
       Start
       End
     End

1    algblock[Name]{Start}{End}
2    algblockdefx[NAME]{START}{END}%

                                 5
Hayi Nukman           A
                                                 (2012), LTEXTemplate

3          [2][Unknown]{Start #1(#2)}%
4          {Ending}
5     algblockdefx[NAME]{}{OTHEREND}%
6          [1]{Until (#1)}
7     begin{algorithmic}
8     Start
9          Start
10              START[One]{x}
11              END
12              START{0}
13              OTHEREND{texttt{True}}
14         End
15         Start
16         End
17    End
18    end{algorithmic}


     1.3.6   INFO
     Untuk     Algoritma    dan     Pseudocode,     dapat    anda
     baca      detailnya     beserta      contoh-contohnya     di:
     http://en.wikibooks.org/wiki/LaTeX/Algorithms_and_Pseudocode




                                   6
Halaman Kosong
BAGIAN II

Scientific




    8
BAB

      2

              Grafik



     2.1 Grafik dengan TikZ


     2.1.1   Grafik Sederhana
                6
                                         5
                          4                        1


                                             2
                              3

1     begin{tikzpicture}
2       [scale=.8,auto=left,every node/.style={circle,fill=blue!20}]
3       node (n6) at (1,10) {6};
4       node (n4) at (4,8) {4};
5       node (n5) at (8,9) {5};
6       node .(n1) at (11,8) {1};
7       node (n2) at (9,6) {2};
8       node (n3) at (5,5) {3};
9

10      foreach from/to in {n6/n4,n4/n5,n5/n1,n1/n2,n2/n5,n2/n3,n3/n4}


                                  9
Hayi Nukman           A
                                                      (2012), LTEXTemplate

11        draw (from) -- (to);
12

13    end{tikzpicture}


     2.1.2       Grafik 3 Dimensi
                                    .




                                           .



             .

                                                                  .
                                    .

                   .
                                                  .




                                    .




1     usetikzlibrary{calc,3d}
2     newcommand{setxyz}[1]{%
3     pgfmathsetmacro{xone}{cos(180+#1)}%
4     pgfmathsetmacro{yone}{sin(180+#1)}%
5     pgfmathsetmacro{xtwo}{cos(360-#1)}%
6     pgfmathsetmacro{ytwo}{sin(360-#1)}%
7     }
8     setxyz{17}
9     begin{tikzpicture}%
10    [x = {(xone cm,yone cm)},
11    y = {(xtwo cm,ytwo cm)},
12    z = {(0cm,1cm)}]


                                    10
Hayi Nukman            A
                                                (2012), LTEXTemplate

13    GraphInit[vstyle=Shade]
14    SetVertexNoLabel
15    begin{scope}[canvas is xy plane at z=-5]
16    Vertex{x}
17    end{scope}
18    begin{scope}[canvas is xy plane at z=0]
19    grEmptyCycle[prefix=a]{5}
20    end{scope}
21    EdgeFromOneToAll{x}{a}{}{5}
22    Edges(a0,a1,a2,a3,a4,a0)
23    begin{scope}[canvas is xy plane at z=5]
24    Vertex{y}
25    end{scope}
26    EdgeFromOneToAll{y}{a}{}{5}
27    end{tikzpicture}


     2.1.3   Beberapa Contoh lainnya
                                      .


                           .




                                            .




                     .




                                  .               .




                     .




                                            .




                           .


                                      .




1     begin{tikzpicture}
2     usepgflibrary{arrows}
3     GraphInit[vstyle=Art]
4     SetUpEdge[style={->,>=angle 45,bend right=10},color=blue]
5     grCirculant[RA=3]{9}{1,-2,3,-4}
6     end{tikzpicture}




                                 11
Hayi Nukman           A
                                                 (2012), LTEXTemplate




                                   .




1    begin{tikzpicture}
2            draw (-1,0) to[bend left] (1,0);
3            draw (-1.2,.1) to[bend right] (1.2,.1);
4            draw[rotate=0] (0,0) ellipse (100pt and 50pt);
5    end{tikzpicture}



                               1


                               1
                               2

                                           sin α
                                   .
                   −1    −1             cos α      1
                          2


                              −1
                               2



                              −1


1    begin{tikzpicture}[scale=3]
2     draw[step=.5cm, gray, very thin] (-1.2,-1.2)
3           grid (1.2,1.2);
4     filldraw[fill=green!20,draw=green!50!black]
5           (0,0) -- (3mm,0mm) arc (0:30:3mm) -- cycle;
6     draw[->] (-1.25,0) -- (1.25,0) coordinate (x axis);
7     draw[->] (0,-1.25) -- (0,1.25) coordinate (y axis);
8     draw (0,0) circle (1cm);
9     draw[very thick,red] (30:1cm) -- node[left,fill=white]
10        {$sin alpha$} (30:1cm |- x axis);
11    draw[very thick,blue] (30:1cm |- x axis) -- node

                                   12
Hayi Nukman              A
                                                      (2012), LTEXTemplate

12        [below=2pt,fill=white] {$cos alpha$} (0,0);
13     draw (0,0) -- (30:1cm);
14     foreach x/xtext in {-1, -0.5/-frac{1}{2}, 1}
15       draw (x cm,1pt) -- (x cm,-1pt) node
16          [anchor=north,fill=white] {$xtext$};
17     foreach y/ytext in {-1, -0.5/-frac{1}{2},
18        0.5/frac{1}{2}, 1}
19       draw (1pt,y cm) -- (-1pt,y cm) node
20             [anchor=east,fill=white] {$ytext$};
21     end{tikzpicture}


     2.1.4   Info detail
     Info lebih lengkap untuk Grafik menggunakan TikZ ini silahkan
     akses: http://graphtheoryinlatex.blogspot.com


     2.2 Grafik dengan Paket XY


     2.2.1   Contoh 1
                                A         /B
                                O

                                            
                                Do        C

1     begin{displaymath}
2         xymatrix{ A ar[r]  B ar[d] 
3                    D ar[u]  C ar[l] }
4     end{displaymath}


     2.2.2   Contoh 2
                              P
                            A @ PP
                               @@ PPP
                                 @@ PPP
                                   @@   PPP
                                    @    PPP
                                              '
                            B        C            D



                                     13
Hayi Nukman           A
                                                  (2012), LTEXTemplate

1    begin{displaymath}
2        xymatrix{
3            A ar[d] ar[dr] ar[drr]       
4            B                          C  D }
5    end{displaymath}
6




    2.2.3    Contoh 3
                                A   f    /B

                                g         g′
                                          
                               D    f′   /C


1    begin{displaymath}
2        xymatrix{
3            A ar[r]|f ar[d]|g  B ar[d]|{g’} 
4            D ar[r]|{f’}        C }
5    end{displaymath}


    2.2.4    Info
    Lebih detail bagaimana cara menggunakan serta contoh-contoh
    lainnya dapat dilihat di: http://en.wikibooks.org/wiki/LaTeX/Xy-
    pic




                                    14
BAB

     3

             Matematika



    3.1 Matematika


    3.1.1   Equation
                                            1
                      x = a0 +                            (3.1)
                                                1
                                 a1 +
                                                   1
                                        a2 +
                                                a3 + a4

1    begin{equation}
2      x = a_0 + cfrac{1}{a_1
3              + cfrac{1}{a_2
4              + cfrac{1}{a_3 + a_4}}}
5    end{equation}


    3.1.2   Akar
                                  √
                                        a
                                        b
1    [
2    sqrt{frac{a}{b}}
3    ]



                                   15
Hayi Nukman            A
                                                                (2012), LTEXTemplate

    Atau

                              √
                              n
                                1 + x + x2 + x3 + . . .

1    [
2    sqrt[n]{1+x+x^2+x^3+ldots}
3    ]


    3.1.3     SUM
                                             ∑
                                             10
                                                   t2
                                                    i
                                             i=1


1    [
2     sum_{i=1}^{10} t_i ^2
3    ]


    3.1.4     Integral
                                     ∫       ∞
                                                 e−x dx
                                         0

1    [
2     int_0^infty e^{-x},mathrm{d}x
3    ]


    3.1.5     Fungsi
                              {
                                  n/2                     if n is even
                    f (n) =
                                  −(n + 1)/2              if n is odd

1    [
2         f(n) = left{
3         begin{array}{l l}
4           n/2  quad text{if $n$ is even}
5           -(n+1)/2  quad text{if $n$ is odd}
6         end{array} right.
7    ]



                                                 16
Hayi Nukman              A
                                                        (2012), LTEXTemplate

    Serta masih banyak lagi yang lainnya. Detail lengkap silahkan
    buka http://en.wikibooks.org/wiki/LaTeX/Mathematics.


    3.2 Penggunaan lebih lanjut di
    Matematika


    3.2.1   Beberapa Contoh
    Diambil dari: http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics

                            ex − 1 [ 0 ]
                                     0       ex   1
                        lim         = lim       =
                        x→0   2x H       x→0 2    2
1    [
2     lim_{xto 0}{frac{e^x-1}{2x}}
3     overset{left[frac{0}{0}right]}{underset{mathrm{H}}{=}}
4     lim_{xto 0}{frac{e^x}{2}}={frac{1}{2}}
5    ]


                                complex number

                           z= x +              iy
                                real        imaginary


1    [
2     z = overbrace{
3        underbrace{x}_text{real} +
4        underbrace{iy}_text{imaginary}
5       }^text{complex number}
6    ]


                                complex number

                            z= x +            iy
                                real
                                        imaginary


1    [
2     z = overbracket[3pt]{


                                       17
Hayi Nukman            A
                                                     (2012), LTEXTemplate

3          underbracket{x}_{text{real}} +
4          underbracket[0.5pt][7pt]{iy}_{text{imaginary}}
5          }^{text{complex number}}
6    ]


                           this way
                        A ← − − B −− − − C
                           − −−   − − −→
                                       or that way


1    [
2     A xleftarrow{text{this way}} B
3       xrightarrow[text{or that way}]{} C
4    ]

    Serta masih banyak lagi yang lainnya.




                                      18
BAB

         4

                     Kimia



    4.1 Grafik Kimia

             E
    F             D

    A.            C
             B
1        chemfig{A*6(-B-C-D-E-F-)}




    .


1        chemfig{*6(=-=-=-)}


    4.2 ION

                 O−
    .

                 O

                                      19
Hayi Nukman           A
                                                    (2012), LTEXTemplate

1       chemfig{-(-[1]O^{-})=[7]O}

               O
           ⊕
    .      N

               O⊖

1       chemfig{-chemabove{N}{scriptstyleoplus}
2       (=[1]O)-[7]O^{ominus}}




                                      20
Lampiran




   21
Lampiran

          A

                   Contoh Lampiran



    A.1 Konversi byte Array ke Bitmap

    Source:[2]
    §
1           byte[] albumArt = mediaRetriever.getEmbeddedPicture();
2           if (albumArt != null) {
3             Bitmap artwork = BitmapFactory.decodeByteArray(
                 albumArt, 0,
4                 albumArt.length);
5             imageView.setImageBitmap(artwork);
6           }
    ¦                                                                     ¥
                      Konversi byte Array ke Bitmap
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut pu-
    rus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Cur-
    abitur dictum gravida mauris. Nam arcu libero, nonummy eget,
    consectetuer id, vulputate a, magna. Donec vehicula augue eu
    neque. Pellentesque habitant morbi tristique senectus et netus et
    malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra
    metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultri-
    ces. Phasellus eu tellus sit amet tortor gravida placerat. Integer
    sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent
    eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi do-
    lor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur
    auctor semper nulla. Donec varius orci eget risus. Duis nibh mi,
    congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci


                                    22
Hayi Nukman           A
                                               (2012), LTEXTemplate

sit amet orci dignissim rutrum.
Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi.
Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobor-
tis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan
bibendum, erat ligula aliquet magna, vitae ornare odio metus a
mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa.
Cras nec ante. Pellentesque a nulla. Cum sociis natoque pe-
natibus et magnis dis parturient montes, nascetur ridiculus mus.
Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis. Pel-
lentesque cursus luctus mauris.




                                 23
Bibliography




[1] Wikibook LTEX
              A

    http://en.wikibooks.org/wiki/LaTeX

[2] byte[] to Image Android
    http://stackoverflow.com/questions/2714700/byte-to-
    image-android

[3] Graph Theory in LaTeX
    http://graphtheoryinlatex.blogspot.com/




                            24

More Related Content

What's hot

Aturan Inferensi dan Metode Pembuktian
Aturan Inferensi dan Metode PembuktianAturan Inferensi dan Metode Pembuktian
Aturan Inferensi dan Metode PembuktianFahrul Usman
 
LaTeX ; Notasi Matematika
LaTeX ; Notasi Matematika LaTeX ; Notasi Matematika
LaTeX ; Notasi Matematika Hirwanto Iwan
 
Soal dan pembahasan ellips
Soal dan pembahasan ellipsSoal dan pembahasan ellips
Soal dan pembahasan ellipsNida Shafiyanti
 
Sistem Homogen dan Invers-Matrik - Pertemuan 5.
Sistem Homogen dan Invers-Matrik - Pertemuan 5. Sistem Homogen dan Invers-Matrik - Pertemuan 5.
Sistem Homogen dan Invers-Matrik - Pertemuan 5. ahmad haidaroh
 
Matematika Diskrit Relasi Rekursif
Matematika Diskrit Relasi RekursifMatematika Diskrit Relasi Rekursif
Matematika Diskrit Relasi RekursifAyuk Wulandari
 
Turunan fungsi trigonometri
Turunan fungsi trigonometriTurunan fungsi trigonometri
Turunan fungsi trigonometrighinahuwaidah
 
Diktat kuliah Algoritma dan Pemograman
Diktat kuliah Algoritma dan PemogramanDiktat kuliah Algoritma dan Pemograman
Diktat kuliah Algoritma dan PemogramanPisca Prasetyo
 
Contoh daftar judul skripsi teknik informatika
Contoh daftar judul skripsi teknik informatikaContoh daftar judul skripsi teknik informatika
Contoh daftar judul skripsi teknik informatikaRahmat Hidayatullah
 
Matematika Diskrit - 09 graf - 06
Matematika Diskrit - 09 graf - 06Matematika Diskrit - 09 graf - 06
Matematika Diskrit - 09 graf - 06KuliahKita
 
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...Onggo Wiryawan
 
Bab2 peubah-acak-dan-distribusi-peluang
Bab2 peubah-acak-dan-distribusi-peluangBab2 peubah-acak-dan-distribusi-peluang
Bab2 peubah-acak-dan-distribusi-peluangArif Windiargo
 

What's hot (20)

Bab 6
Bab 6Bab 6
Bab 6
 
Aturan Inferensi dan Metode Pembuktian
Aturan Inferensi dan Metode PembuktianAturan Inferensi dan Metode Pembuktian
Aturan Inferensi dan Metode Pembuktian
 
LaTeX ; Notasi Matematika
LaTeX ; Notasi Matematika LaTeX ; Notasi Matematika
LaTeX ; Notasi Matematika
 
Eliminasi gauss
Eliminasi gaussEliminasi gauss
Eliminasi gauss
 
Rekayasa Perangkat Lunak - Model Pengembangan Sistem
Rekayasa Perangkat Lunak - Model Pengembangan SistemRekayasa Perangkat Lunak - Model Pengembangan Sistem
Rekayasa Perangkat Lunak - Model Pengembangan Sistem
 
Soal dan pembahasan ellips
Soal dan pembahasan ellipsSoal dan pembahasan ellips
Soal dan pembahasan ellips
 
Sistem Homogen dan Invers-Matrik - Pertemuan 5.
Sistem Homogen dan Invers-Matrik - Pertemuan 5. Sistem Homogen dan Invers-Matrik - Pertemuan 5.
Sistem Homogen dan Invers-Matrik - Pertemuan 5.
 
Matematika Diskrit Relasi Rekursif
Matematika Diskrit Relasi RekursifMatematika Diskrit Relasi Rekursif
Matematika Diskrit Relasi Rekursif
 
pewarnaan graf
pewarnaan grafpewarnaan graf
pewarnaan graf
 
Turunan fungsi trigonometri
Turunan fungsi trigonometriTurunan fungsi trigonometri
Turunan fungsi trigonometri
 
Diktat kuliah Algoritma dan Pemograman
Diktat kuliah Algoritma dan PemogramanDiktat kuliah Algoritma dan Pemograman
Diktat kuliah Algoritma dan Pemograman
 
Matriks dan operasinya
Matriks dan operasinyaMatriks dan operasinya
Matriks dan operasinya
 
Contoh daftar judul skripsi teknik informatika
Contoh daftar judul skripsi teknik informatikaContoh daftar judul skripsi teknik informatika
Contoh daftar judul skripsi teknik informatika
 
Array dan Contoh
Array dan ContohArray dan Contoh
Array dan Contoh
 
Makalah Matriks dalam Struktur Data
Makalah Matriks dalam Struktur DataMakalah Matriks dalam Struktur Data
Makalah Matriks dalam Struktur Data
 
Matematika Diskrit - 09 graf - 06
Matematika Diskrit - 09 graf - 06Matematika Diskrit - 09 graf - 06
Matematika Diskrit - 09 graf - 06
 
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...
Relasi rekursi (2) : Menentukan solusi relasi Rekursi Linier Homogen Berkoefi...
 
Bab2 peubah-acak-dan-distribusi-peluang
Bab2 peubah-acak-dan-distribusi-peluangBab2 peubah-acak-dan-distribusi-peluang
Bab2 peubah-acak-dan-distribusi-peluang
 
Tugas UAS Rangkuman Riset Operasi
Tugas UAS Rangkuman Riset Operasi Tugas UAS Rangkuman Riset Operasi
Tugas UAS Rangkuman Riset Operasi
 
GRAPH BERARAH DAN NETWORK
GRAPH BERARAH DAN NETWORKGRAPH BERARAH DAN NETWORK
GRAPH BERARAH DAN NETWORK
 

Recently uploaded

TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...
TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...
TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...Nguyen Thanh Tu Collection
 
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...Nguyen Thanh Tu Collection
 
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....سمير بسيوني
 
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ، راپورتا مێژوی ، ژ...
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ،    راپورتا مێژوی ، ژ...، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ،    راپورتا مێژوی ، ژ...
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ، راپورتا مێژوی ، ژ...Idrees.Hishyar
 
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...Nguyen Thanh Tu Collection
 
French Revolution (फ्रेंच राज्यक्रांती)
French Revolution  (फ्रेंच राज्यक्रांती)French Revolution  (फ्रेंच राज्यक्रांती)
French Revolution (फ्रेंच राज्यक्रांती)Shankar Aware
 

Recently uploaded (6)

TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...
TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...
TUYỂN TẬP 20 ĐỀ THI KHẢO SÁT HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2020 (CÓ Đ...
 
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...
30 ĐỀ PHÁT TRIỂN THEO CẤU TRÚC ĐỀ MINH HỌA BGD NGÀY 22-3-2024 KỲ THI TỐT NGHI...
 
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....
أَسَانِيدُ كُتُبِ وَأُصُولِ النَّشْرِ لِابْنِ الْجَزَرِيِّ وَالْوَصْلُ بِهَا....
 
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ، راپورتا مێژوی ، ژ...
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ،    راپورتا مێژوی ، ژ...، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ،    راپورتا مێژوی ، ژ...
، ژیانا ئینگلیزا ب کوردی ، ئینگلیزەکان ، راپورتی کوردی ، راپورتا مێژوی ، ژ...
 
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...
TUYỂN TẬP 25 ĐỀ THI HỌC SINH GIỎI MÔN TIẾNG ANH LỚP 6 NĂM 2023 CÓ ĐÁP ÁN (SƯU...
 
French Revolution (फ्रेंच राज्यक्रांती)
French Revolution  (फ्रेंच राज्यक्रांती)French Revolution  (फ्रेंच राज्यक्रांती)
French Revolution (फ्रेंच राज्यक्रांती)
 

Template Latex: Buku

  • 1. Template LTEX A Bahasa Indonesia Hayi Nukman cb
  • 2. Kata Pengantar Ini adalah template yang saya buat dari dari kumpulan beber- apa template yang saya dapatkan di internet. Untuk beberapa konfigurasi seperti Style Section yang diberi kotak sumbernya saya sudah lupa (soalnya sudah lama) sehingga mohon ma’af jika sumbernya tidak saya sertakan. Dokumen ini dikompilasi dengan XeLatex atau Texlive, dengan menggunakan Editor Gummi untuk mempermudah saya dalam menanggulangi error dalam penulisan syntax LTEX. Bagi yang A berminat untuk mengembangkan lebih lanjut, atau membuat template versinya sendiri, silahkan saja didownload dan digu- nakan. Dokumen ini berlisesi CC-BY, dimana anda bebas untuk mengcopy, mengembangkan dan mendistribusikannya baik se- cara komersial maupun tidak. i
  • 3. Daftar Isi I Mengenal LTEX A 1 1 Programming 2 1.1 Gambar dalam LTEX . . . . . . A . . . . . . . . . . . . . 2 1.2 Sourcecode . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.1 Verbatim Environment . . . . . . . . . . . . . 3 1.2.2 Listing Environment . . . . . . . . . . . . . . . 3 1.2.3 Verbatim full Color . . . . . . . . . . . . . . . . 4 1.3 Algoritma dan Pseudocode . . . . . . . . . . . . . . . 4 1.3.1 If - Else . . . . . . . . . . . . . . . . . . . . . . 4 1.3.2 For loop . . . . . . . . . . . . . . . . . . . . . . 5 1.3.3 While Loop . . . . . . . . . . . . . . . . . . . . 5 1.3.4 Return Variable . . . . . . . . . . . . . . . . . 5 1.3.5 Blok Algoritma . . . . . . . . . . . . . . . . . . 5 1.3.6 INFO . . . . . . . . . . . . . . . . . . . . . . . 6 II Scientific 8 2 Grafik 9 2.1 Grafik dengan TikZ . . . . . . . . . . . . . . . . . . . 9 2.1.1 Grafik Sederhana . . . . . . . . . . . . . . . . 9 ii
  • 4. Hayi Nukman A (2012), LTEXTemplate 2.1.2 Grafik 3 Dimensi . . . . . . . . . . . . . . . . . 10 2.1.3 Beberapa Contoh lainnya . . . . . . . . . . . . 11 2.1.4 Info detail . . . . . . . . . . . . . . . . . . . . 13 2.2 Grafik dengan Paket XY . . . . . . . . . . . . . . . . 13 2.2.1 Contoh 1 . . . . . . . . . . . . . . . . . . . . . 13 2.2.2 Contoh 2 . . . . . . . . . . . . . . . . . . . . . 13 2.2.3 Contoh 3 . . . . . . . . . . . . . . . . . . . . . 14 2.2.4 Info . . . . . . . . . . . . . . . . . . . . . . . . 14 3 Matematika 15 3.1 Matematika . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.1 Equation . . . . . . . . . . . . . . . . . . . . . 15 3.1.2 Akar . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1.3 SUM . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.4 Integral . . . . . . . . . . . . . . . . . . . . . . 16 3.1.5 Fungsi . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Penggunaan lebih lanjut di Matematika . . . . . . . 17 3.2.1 Beberapa Contoh . . . . . . . . . . . . . . . . 17 4 Kimia 19 4.1 Grafik Kimia . . . . . . . . . . . . . . . . . . . . . . . 19 4.2 ION . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Lampiran 22 A Contoh Lampiran 22 A.1 Konversi byte Array ke Bitmap . . . . . . . . . . . . 22 iii
  • 6. BAB 1 Programming 1.1 Gambar dalam L TEX A Gambar 1.1: Contoh Gambar Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut pu- rus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Cur- abitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultri- ces. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi do- lor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum. 2
  • 7. Hayi Nukman A (2012), LTEXTemplate 1.2 Sourcecode 1.2.1 Verbatim Environment 13 <RadioGroup 14 android:id=”@+id/radioGroup1” 15 android:layout_width=”match_parent” 16 android:layout_height=”wrap_content” > 17 1.2.2 Listing Environment § 1 package lab.andro.tes; 2 3 public class Sample { 4 private String sample; 5 6 public Sample(String sample) { 7 this.sample = sample; 8 } 9 public String getSample() { 10 return sample; 11 } 12 } ¦ ¥ Sample 1.2.3 Verbatim full Color 1 <TextView 2 android:id=”@+id/textView1” 3 android:layout_width=”wrap_content” 4 android:layout_height=”wrap_content” 5 android:text=”Nilai” /> 6 <RadioGroup 7 android:id=”@+id/radioGroup1” 3
  • 8. Hayi Nukman A (2012), LTEXTemplate 8 android:layout_width=”match_parent” 9 android:layout_height=”wrap_content” > Untuk ketiga bagian di atas, slihakan baca source latex dari doku- men ini. 1.3 Algoritma dan Pseudocode 1.3.1 If - Else if i ≥ maxval then i←0 else if i + k ≤ maxval then i←i+k end if end if 1 begin{algorithmic} 2 If {$igeq maxval$} 3 State $igets 0$ 4 Else 5 If {$i+kleq maxval$} 6 State $igets i+k$ 7 EndIf 8 EndIf 9 end{algorithmic} 1.3.2 For loop for i = 1 → 10 do i←i+1 end for 1 begin{algorithmic} 2 For{$i = 1 to 10$} 3 State $i gets i + 1$ 4 EndFor 5 end{algorithmic} 4
  • 9. Hayi Nukman A (2012), LTEXTemplate 1.3.3 While Loop while i ≤ 10 do i=i+1; end while 1 begin{algorithmic} 2 While{$i leq 10$} 3 State i=i+1; 4 EndWhile 5 end{algorithmic} 1.3.4 Return Variable function Increment(a) a←a+1 return a end function 1 begin{algorithmic} 2 Function{Increment}{$a$} 3 State $a gets a+1$ 4 State Return $a$ 5 EndFunction 6 end{algorithmic} 1.3.5 Blok Algoritma Start Start Start One(x) Ending Start Unknown(0) Until (True) End Start End End 1 algblock[Name]{Start}{End} 2 algblockdefx[NAME]{START}{END}% 5
  • 10. Hayi Nukman A (2012), LTEXTemplate 3 [2][Unknown]{Start #1(#2)}% 4 {Ending} 5 algblockdefx[NAME]{}{OTHEREND}% 6 [1]{Until (#1)} 7 begin{algorithmic} 8 Start 9 Start 10 START[One]{x} 11 END 12 START{0} 13 OTHEREND{texttt{True}} 14 End 15 Start 16 End 17 End 18 end{algorithmic} 1.3.6 INFO Untuk Algoritma dan Pseudocode, dapat anda baca detailnya beserta contoh-contohnya di: http://en.wikibooks.org/wiki/LaTeX/Algorithms_and_Pseudocode 6
  • 13. BAB 2 Grafik 2.1 Grafik dengan TikZ 2.1.1 Grafik Sederhana 6 5 4 1 2 3 1 begin{tikzpicture} 2 [scale=.8,auto=left,every node/.style={circle,fill=blue!20}] 3 node (n6) at (1,10) {6}; 4 node (n4) at (4,8) {4}; 5 node (n5) at (8,9) {5}; 6 node .(n1) at (11,8) {1}; 7 node (n2) at (9,6) {2}; 8 node (n3) at (5,5) {3}; 9 10 foreach from/to in {n6/n4,n4/n5,n5/n1,n1/n2,n2/n5,n2/n3,n3/n4} 9
  • 14. Hayi Nukman A (2012), LTEXTemplate 11 draw (from) -- (to); 12 13 end{tikzpicture} 2.1.2 Grafik 3 Dimensi . . . . . . . . 1 usetikzlibrary{calc,3d} 2 newcommand{setxyz}[1]{% 3 pgfmathsetmacro{xone}{cos(180+#1)}% 4 pgfmathsetmacro{yone}{sin(180+#1)}% 5 pgfmathsetmacro{xtwo}{cos(360-#1)}% 6 pgfmathsetmacro{ytwo}{sin(360-#1)}% 7 } 8 setxyz{17} 9 begin{tikzpicture}% 10 [x = {(xone cm,yone cm)}, 11 y = {(xtwo cm,ytwo cm)}, 12 z = {(0cm,1cm)}] 10
  • 15. Hayi Nukman A (2012), LTEXTemplate 13 GraphInit[vstyle=Shade] 14 SetVertexNoLabel 15 begin{scope}[canvas is xy plane at z=-5] 16 Vertex{x} 17 end{scope} 18 begin{scope}[canvas is xy plane at z=0] 19 grEmptyCycle[prefix=a]{5} 20 end{scope} 21 EdgeFromOneToAll{x}{a}{}{5} 22 Edges(a0,a1,a2,a3,a4,a0) 23 begin{scope}[canvas is xy plane at z=5] 24 Vertex{y} 25 end{scope} 26 EdgeFromOneToAll{y}{a}{}{5} 27 end{tikzpicture} 2.1.3 Beberapa Contoh lainnya . . . . . . . . . . 1 begin{tikzpicture} 2 usepgflibrary{arrows} 3 GraphInit[vstyle=Art] 4 SetUpEdge[style={->,>=angle 45,bend right=10},color=blue] 5 grCirculant[RA=3]{9}{1,-2,3,-4} 6 end{tikzpicture} 11
  • 16. Hayi Nukman A (2012), LTEXTemplate . 1 begin{tikzpicture} 2 draw (-1,0) to[bend left] (1,0); 3 draw (-1.2,.1) to[bend right] (1.2,.1); 4 draw[rotate=0] (0,0) ellipse (100pt and 50pt); 5 end{tikzpicture} 1 1 2 sin α . −1 −1 cos α 1 2 −1 2 −1 1 begin{tikzpicture}[scale=3] 2 draw[step=.5cm, gray, very thin] (-1.2,-1.2) 3 grid (1.2,1.2); 4 filldraw[fill=green!20,draw=green!50!black] 5 (0,0) -- (3mm,0mm) arc (0:30:3mm) -- cycle; 6 draw[->] (-1.25,0) -- (1.25,0) coordinate (x axis); 7 draw[->] (0,-1.25) -- (0,1.25) coordinate (y axis); 8 draw (0,0) circle (1cm); 9 draw[very thick,red] (30:1cm) -- node[left,fill=white] 10 {$sin alpha$} (30:1cm |- x axis); 11 draw[very thick,blue] (30:1cm |- x axis) -- node 12
  • 17. Hayi Nukman A (2012), LTEXTemplate 12 [below=2pt,fill=white] {$cos alpha$} (0,0); 13 draw (0,0) -- (30:1cm); 14 foreach x/xtext in {-1, -0.5/-frac{1}{2}, 1} 15 draw (x cm,1pt) -- (x cm,-1pt) node 16 [anchor=north,fill=white] {$xtext$}; 17 foreach y/ytext in {-1, -0.5/-frac{1}{2}, 18 0.5/frac{1}{2}, 1} 19 draw (1pt,y cm) -- (-1pt,y cm) node 20 [anchor=east,fill=white] {$ytext$}; 21 end{tikzpicture} 2.1.4 Info detail Info lebih lengkap untuk Grafik menggunakan TikZ ini silahkan akses: http://graphtheoryinlatex.blogspot.com 2.2 Grafik dengan Paket XY 2.2.1 Contoh 1 A /B O Do C 1 begin{displaymath} 2 xymatrix{ A ar[r] B ar[d] 3 D ar[u] C ar[l] } 4 end{displaymath} 2.2.2 Contoh 2 P A @ PP @@ PPP @@ PPP @@ PPP @ PPP ' B C D 13
  • 18. Hayi Nukman A (2012), LTEXTemplate 1 begin{displaymath} 2 xymatrix{ 3 A ar[d] ar[dr] ar[drr] 4 B C D } 5 end{displaymath} 6 2.2.3 Contoh 3 A f /B g g′ D f′ /C 1 begin{displaymath} 2 xymatrix{ 3 A ar[r]|f ar[d]|g B ar[d]|{g’} 4 D ar[r]|{f’} C } 5 end{displaymath} 2.2.4 Info Lebih detail bagaimana cara menggunakan serta contoh-contoh lainnya dapat dilihat di: http://en.wikibooks.org/wiki/LaTeX/Xy- pic 14
  • 19. BAB 3 Matematika 3.1 Matematika 3.1.1 Equation 1 x = a0 + (3.1) 1 a1 + 1 a2 + a3 + a4 1 begin{equation} 2 x = a_0 + cfrac{1}{a_1 3 + cfrac{1}{a_2 4 + cfrac{1}{a_3 + a_4}}} 5 end{equation} 3.1.2 Akar √ a b 1 [ 2 sqrt{frac{a}{b}} 3 ] 15
  • 20. Hayi Nukman A (2012), LTEXTemplate Atau √ n 1 + x + x2 + x3 + . . . 1 [ 2 sqrt[n]{1+x+x^2+x^3+ldots} 3 ] 3.1.3 SUM ∑ 10 t2 i i=1 1 [ 2 sum_{i=1}^{10} t_i ^2 3 ] 3.1.4 Integral ∫ ∞ e−x dx 0 1 [ 2 int_0^infty e^{-x},mathrm{d}x 3 ] 3.1.5 Fungsi { n/2 if n is even f (n) = −(n + 1)/2 if n is odd 1 [ 2 f(n) = left{ 3 begin{array}{l l} 4 n/2 quad text{if $n$ is even} 5 -(n+1)/2 quad text{if $n$ is odd} 6 end{array} right. 7 ] 16
  • 21. Hayi Nukman A (2012), LTEXTemplate Serta masih banyak lagi yang lainnya. Detail lengkap silahkan buka http://en.wikibooks.org/wiki/LaTeX/Mathematics. 3.2 Penggunaan lebih lanjut di Matematika 3.2.1 Beberapa Contoh Diambil dari: http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics ex − 1 [ 0 ] 0 ex 1 lim = lim = x→0 2x H x→0 2 2 1 [ 2 lim_{xto 0}{frac{e^x-1}{2x}} 3 overset{left[frac{0}{0}right]}{underset{mathrm{H}}{=}} 4 lim_{xto 0}{frac{e^x}{2}}={frac{1}{2}} 5 ] complex number z= x + iy real imaginary 1 [ 2 z = overbrace{ 3 underbrace{x}_text{real} + 4 underbrace{iy}_text{imaginary} 5 }^text{complex number} 6 ] complex number z= x + iy real imaginary 1 [ 2 z = overbracket[3pt]{ 17
  • 22. Hayi Nukman A (2012), LTEXTemplate 3 underbracket{x}_{text{real}} + 4 underbracket[0.5pt][7pt]{iy}_{text{imaginary}} 5 }^{text{complex number}} 6 ] this way A ← − − B −− − − C − −− − − −→ or that way 1 [ 2 A xleftarrow{text{this way}} B 3 xrightarrow[text{or that way}]{} C 4 ] Serta masih banyak lagi yang lainnya. 18
  • 23. BAB 4 Kimia 4.1 Grafik Kimia E F D A. C B 1 chemfig{A*6(-B-C-D-E-F-)} . 1 chemfig{*6(=-=-=-)} 4.2 ION O− . O 19
  • 24. Hayi Nukman A (2012), LTEXTemplate 1 chemfig{-(-[1]O^{-})=[7]O} O ⊕ . N O⊖ 1 chemfig{-chemabove{N}{scriptstyleoplus} 2 (=[1]O)-[7]O^{ominus}} 20
  • 25. Lampiran 21
  • 26. Lampiran A Contoh Lampiran A.1 Konversi byte Array ke Bitmap Source:[2] § 1 byte[] albumArt = mediaRetriever.getEmbeddedPicture(); 2 if (albumArt != null) { 3 Bitmap artwork = BitmapFactory.decodeByteArray( albumArt, 0, 4 albumArt.length); 5 imageView.setImageBitmap(artwork); 6 } ¦ ¥ Konversi byte Array ke Bitmap Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut pu- rus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Cur- abitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultri- ces. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi do- lor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci 22
  • 27. Hayi Nukman A (2012), LTEXTemplate sit amet orci dignissim rutrum. Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobor- tis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. Pellentesque a nulla. Cum sociis natoque pe- natibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis. Pel- lentesque cursus luctus mauris. 23
  • 28. Bibliography [1] Wikibook LTEX A http://en.wikibooks.org/wiki/LaTeX [2] byte[] to Image Android http://stackoverflow.com/questions/2714700/byte-to- image-android [3] Graph Theory in LaTeX http://graphtheoryinlatex.blogspot.com/ 24