際際滷

際際滷Share a Scribd company logo
Queries and Issues from Session 1
                  Some Special Characters
Some Math Symbols and Commands (Cont.)
               The multicols Environment
               Tables, Matrices and Cases




                           A
                     Basic LTEX Typesetting
      A Hands-On Seminar for Math Training Elective


                                Kiel F. Granada

               Philippine Science High School  Main Campus


                                   Session 2
                                  July 24, 2010



                               KFGranada           A
                                             Basic L TEX Typesetting
Queries and Issues from Session 1
                                                    landscape and lettersize Options
                         Some Special Characters
                                                    List Tweaks
       Some Math Symbols and Commands (Cont.)
                                                    The color Package
                      The multicols Environment
                                                    pagestyle{empty} Issue
                      Tables, Matrices and Cases


Correction



  $x = 1                                          :)
  y = 4                                           does NOT work.
  z = 3$
  Math environment should be declared for each line, i.e.
  $x = 1$ 
  $y = 4$ 
  $z = 3$




                                      KFGranada           A
                                                    Basic L TEX Typesetting
Queries and Issues from Session 1
                                                   landscape and lettersize Options
                       Some Special Characters
                                                   List Tweaks
     Some Math Symbols and Commands (Cont.)
                                                   The color Package
                    The multicols Environment
                                                   pagestyle{empty} Issue
                    Tables, Matrices and Cases


landscape and lettersize Options


     Con鍖gure TEXMAKER. Find under Options.
     In the dvips command, between 揃 揃 揃 /dvips and %.dvi, type:
     -t landscape -Ppdf                           or
     -t letter -Ppdf                        or
     -t landscape -t letter -Ppdf
     Compile to PDF by pressing F2  F4  F8 .
     Wait for each process to 鍖nish before starting the next one.
     View PDF by pressing F7 .



                                    KFGranada            A
                                                   Basic L TEX Typesetting
Queries and Issues from Session 1
                                                      landscape and lettersize Options
                           Some Special Characters
                                                      List Tweaks
         Some Math Symbols and Commands (Cont.)
                                                      The color Package
                        The multicols Environment
                                                      pagestyle{empty} Issue
                        Tables, Matrices and Cases


List Tweaks
The paralist Package


         In the preamble, add:
          usepackage { p a r a l i s t }
          s e t d e f a u l t e n u m {A} { 1 ) } { ( a ) } { i ) }

         This declares a new environment compactenum with
         customizable structure.
         New environments declaration:
          b e g i n { compactenum }
          item F i r s t
          i t e m Second
          end { compactenum }

                                        KFGranada           A
                                                      Basic L TEX Typesetting
Queries and Issues from Session 1
                                                      landscape and lettersize Options
                           Some Special Characters
                                                      List Tweaks
         Some Math Symbols and Commands (Cont.)
                                                      The color Package
                        The multicols Environment
                                                      pagestyle{empty} Issue
                        Tables, Matrices and Cases


The color Package




   usepackage { c o l o r }

   d e f i n e c o l o r { d a r k b l u e }{ r g b } { 0 , 0 . 0 8 , 0 . 4 5 }
   color { darkblue }




                                        KFGranada           A
                                                      Basic L TEX Typesetting
Queries and Issues from Session 1
                                                     landscape and lettersize Options
                          Some Special Characters
                                                     List Tweaks
        Some Math Symbols and Commands (Cont.)
                                                     The color Package
                       The multicols Environment
                                                     pagestyle{empty} Issue
                       Tables, Matrices and Cases


pagestyle{empty} Issue




   usepackage { f u l l p a g e }

   p a g e s t y l e { empty }




                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1
                        Some Special Characters
      Some Math Symbols and Commands (Cont.)
                     The multicols Environment
                     Tables, Matrices and Cases


Some Special Characters


        to distinguish commands from text
      { }  to enclose command arguments/options
      &  to set alignments
      %  to insert comments
      $ $  to delineate math environments
      #  to de鍖ne use of arguments

  $ b a c k s l a s h $
  { } & %  $ #



                                     KFGranada           A
                                                   Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                          Some Special Characters    Geometry Notations
        Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                       The multicols Environment     Limits and Integrals
                       Tables, Matrices and Cases    Sums and Products


More Algebraic Functions

                                                              n
        x
                                                              d
                                                              n
        x                                                     d
                                                              n
       |x|                                                    k

  $ l f l o o r x  r f l o o r $
  $ l c e i l x  r c e i l $
  $|x|$
  $ l e f t (  d f r a c {n }{ d } r i g h t ) $
  $ l e f t { d f r a c {n }{ d } r i g h t } $
  $ d i s p l a y s t y l e {n  c h o o s e k } $

                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                           Some Special Characters    Geometry Notations
         Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                        The multicols Environment     Limits and Integrals
                        Tables, Matrices and Cases    Sums and Products


Geometry Notations

                                                                                 
  $ o v e r l e f t r i g h t a r r o w {AB} $                                  AB
  $ o v e r r i g h t a r r o w {AB} $                                          
                                                                                 AB
  $ o v e r l i n e {AB} $
                                                                                 AB

  newcommand{ L i n e }{ o v e r l e f t r i g h t a r r o w }
  newcommand{ Ray }{ o v e r r i g h t a r r o w }
  newcommand{ Segment }{ o v e r l i n e }

                                                                                    
  $ L i n e {AB}  p e r p  Ray {AB} $                                         AB  AB
  $ Segment {AB}  p a r a l l e l  Segment {BC} $
                                                                                 AB   BC


                                        KFGranada           A
                                                      Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                          Some Special Characters    Geometry Notations
        Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                       The multicols Environment     Limits and Integrals
                       Tables, Matrices and Cases    Sums and Products


Geometry Notations


  $ a n g l e ABC$                                        ABC
  $ t r i a n g l e ABC$                                      ABC
  $ cong$                                                 
                                                           =
  $ sim$
                                                           



   usepackage { arcs }                                    MN

  $ o v e r a r c {MN} $



                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                          Some Special Characters    Geometry Notations
        Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                       The multicols Environment     Limits and Integrals
                       Tables, Matrices and Cases    Sums and Products


Greek Letters



  $ a l p h a $
  $ b e t a $                                       $ Delta$
  $gamma$
                                                     $ e p s i l o n $
  $ p i $


  留硫粒                                                
  




                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                          Some Special Characters    Geometry Notations
        Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                       The multicols Environment     Limits and Integrals
                       Tables, Matrices and Cases    Sums and Products


Trigonometric Functions



  $ s i n  t h e t a $                                   sin 慮
  $ c o s 30{ c i r c }$                                cos 30
  $ t a n (  a l p h a +  b e t a ) $
                                                           tan(留 + 硫)



  newcommand{Deg }{{ c i r c }}

  $ c o s 30 Deg$




                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1      More Algebraic Functions
                          Some Special Characters       Geometry Notations
        Some Math Symbols and Commands (Cont.)          Trigonometric Functions
                       The multicols Environment        Limits and Integrals
                       Tables, Matrices and Cases       Sums and Products


Limits and Integrals

  $ l i m { x  t o 1} f ( x ) $
  $$  l i m { x  t o 1} f ( x ) $$
  $ d i s p l a y s t y l e  l i m { x  t o 1} f ( x ) $
  $ i n t 1 3 g ( x )  d i s p l a y s t y l e  i n t 1 3 g ( x ) $

       limx1 f (x)

                                                     lim f (x)
                                                 x1


        lim f (x)
       x1
                          3
          3
         1 g (x)              g (x)
                      1

                                       KFGranada              A
                                                        Basic L TEX Typesetting
Queries and Issues from Session 1   More Algebraic Functions
                          Some Special Characters    Geometry Notations
        Some Math Symbols and Commands (Cont.)       Trigonometric Functions
                       The multicols Environment     Limits and Integrals
                       Tables, Matrices and Cases    Sums and Products


Sums and Products



  $ sum { i =1}{n} i 2 $
  $n ! =  p r o d { i =1}{n} i $
  $ d i s p l a y s t y l e  sum { i =1}{n}  l e q  p r o d { i =1}{n} $

          n     2
          i=1 i
       n! = n i  i=1
             n           n
       i=1          i=1




                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1
                          Some Special Characters
        Some Math Symbols and Commands (Cont.)
                       The multicols Environment
                       Tables, Matrices and Cases


The multicols Environment

   usepackage { m u l t i c o l }

   b e g i n { m u l t i c o l s }{ number o f c o l u m n s }

  column 1 c o n t e n t s

   columnbreak

  column 2 c o n t e n t s

   end { m u l t i c o l s }


                                       KFGranada           A
                                                     Basic L TEX Typesetting
Queries and Issues from Session 1
                           Some Special Characters    Tables
         Some Math Symbols and Commands (Cont.)       Matrices
                        The multicols Environment     Cases
                        Tables, Matrices and Cases


Tables


   b e g i n { t a b u l a r }{ l c r }              left       center         right
  l e f t & c e n t e r & r i g h t                 l            c                r
  l & c & r
   end { t a b u l a r }

   begin { tabular }{| l | c | r |}                  left       center         right
  hline                                              l            c                r
  l e f t & c e n t e r & r i g h t 
  hline
  l & c & r
   end { t a b u l a r }



                                        KFGranada           A
                                                      Basic L TEX Typesetting
Queries and Issues from Session 1
                         Some Special Characters    Tables
       Some Math Symbols and Commands (Cont.)       Matrices
                      The multicols Environment     Cases
                      Tables, Matrices and Cases


Matrices

   Environment            Braces                    $ b eg in { bmatrix }
   matrix                  None                     a {11} &  c d o t s & a {1 n} 
   pmatrix                  ()                       v d o t s &  c d o t s &  v d o t s 
   bmatrix                  []                      a {m1} &  c d o t s & a {mn}
                                                     end { b m a t r i x }$
   Bmatrix                  {}
                            ||
                                                    錚                       錚
   vmatrix                                           a11       揃揃揃      a1n
   Vmatrix                                          錚 .                  . 錚
                                                    錚 .
                                                      .        揃揃揃       . 錚
                                                                         .
                                                     am1       揃揃揃      amn

  Note:
  The matrix environments need to be enclosed by $ $.

                                      KFGranada           A
                                                    Basic L TEX Typesetting
Queries and Issues from Session 1
                          Some Special Characters    Tables
        Some Math Symbols and Commands (Cont.)       Matrices
                       The multicols Environment     Cases
                       Tables, Matrices and Cases


Cases


                                                             錚
  $ s gn ( x ) =                                             錚1
                                                             錚                 x >0
   begin { cases }                                  sgn(x) = 0                x =0
  1 & x > 0                                                錚
                                                              1               x <0
                                                             錚
  0 & x = 0
  1 & x < 0
   end { c a s e s } $

  Note:
  The cases environment also need to be enclosed by $ $.



                                       KFGranada           A
                                                     Basic L TEX Typesetting

More Related Content

Viewers also liked (12)

Layer birds
Layer birdsLayer birds
Layer birds
Keith Erickson
The White House
The White HouseThe White House
The White House
Keith Erickson
Two websites
Two websitesTwo websites
Two websites
Vina Harrison
犖犖迦犢犖犖犖劇賢犢仰犖犢犖
犖犖迦犢犖犖犖劇賢犢仰犖犢犖犖犖迦犢犖犖犖劇賢犢仰犖犢犖
犖犖迦犢犖犖犖劇賢犢仰犖犢犖
jarudee
Seminar Workshop Course Guide For Eng 103
Seminar Workshop Course Guide For Eng 103Seminar Workshop Course Guide For Eng 103
Seminar Workshop Course Guide For Eng 103
cesmyra
SOUTH CAROLINA TAX SUMMARY
 SOUTH CAROLINA TAX SUMMARY SOUTH CAROLINA TAX SUMMARY
SOUTH CAROLINA TAX SUMMARY
Kenneth "Kip" Nance
Vdomainhosting wordpress-seo-checklist20151016e
Vdomainhosting wordpress-seo-checklist20151016eVdomainhosting wordpress-seo-checklist20151016e
Vdomainhosting wordpress-seo-checklist20151016e
Guy Cook
Proyecto finalProyecto final
Proyecto final
joaquin
George Washington
George WashingtonGeorge Washington
George Washington
Keith Erickson
Horario semestre enero junio 2012Horario semestre enero junio 2012
Horario semestre enero junio 2012
Albina Dorantes
犖犖迦犢犖犖犖劇賢犢仰犖犢犖
犖犖迦犢犖犖犖劇賢犢仰犖犢犖犖犖迦犢犖犖犖劇賢犢仰犖犢犖
犖犖迦犢犖犖犖劇賢犢仰犖犢犖
jarudee
Seminar Workshop Course Guide For Eng 103
Seminar Workshop Course Guide For Eng 103Seminar Workshop Course Guide For Eng 103
Seminar Workshop Course Guide For Eng 103
cesmyra
Vdomainhosting wordpress-seo-checklist20151016e
Vdomainhosting wordpress-seo-checklist20151016eVdomainhosting wordpress-seo-checklist20151016e
Vdomainhosting wordpress-seo-checklist20151016e
Guy Cook
Proyecto finalProyecto final
Proyecto final
joaquin
Horario semestre enero junio 2012Horario semestre enero junio 2012
Horario semestre enero junio 2012
Albina Dorantes

Recently uploaded (20)

Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.pptAnnex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
joan dalilis
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
Nguyen Thanh Tu Collection
Effective Product Variant Management in Odoo 18
Effective Product Variant Management in Odoo 18Effective Product Variant Management in Odoo 18
Effective Product Variant Management in Odoo 18
Celine George
Administrative bodies( D and C Act, 1940
Administrative bodies( D and C Act, 1940Administrative bodies( D and C Act, 1940
Administrative bodies( D and C Act, 1940
P.N.DESHMUKH
Unit 1 Computer Hardware for Educational Computing.pptx
Unit 1 Computer Hardware for Educational Computing.pptxUnit 1 Computer Hardware for Educational Computing.pptx
Unit 1 Computer Hardware for Educational Computing.pptx
RomaSmart1
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
SONU HEETSON
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷sOne Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
Celine George
How to Configure Recurring Revenue in Odoo 17 CRM
How to Configure Recurring Revenue in Odoo 17 CRMHow to Configure Recurring Revenue in Odoo 17 CRM
How to Configure Recurring Revenue in Odoo 17 CRM
Celine George
Oral exam Kenneth Bech - What is the meaning of strategic fit?
Oral exam Kenneth Bech - What is the meaning of strategic fit?Oral exam Kenneth Bech - What is the meaning of strategic fit?
Oral exam Kenneth Bech - What is the meaning of strategic fit?
MIPLM
Mastering Soft Tissue Therapy & Sports Taping
Mastering Soft Tissue Therapy & Sports TapingMastering Soft Tissue Therapy & Sports Taping
Mastering Soft Tissue Therapy & Sports Taping
Kusal Goonewardena
Intellectual Honesty & Research Integrity.pptx
Intellectual Honesty & Research Integrity.pptxIntellectual Honesty & Research Integrity.pptx
Intellectual Honesty & Research Integrity.pptx
NidhiSharma495177
How to Configure Deliver Content by Email in Odoo 18 Sales
How to Configure Deliver Content by Email in Odoo 18 SalesHow to Configure Deliver Content by Email in Odoo 18 Sales
How to Configure Deliver Content by Email in Odoo 18 Sales
Celine George
2024 Summer Nutrition North Carolina Profile
2024 Summer Nutrition North Carolina Profile2024 Summer Nutrition North Carolina Profile
2024 Summer Nutrition North Carolina Profile
Mebane Rash
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdfBlind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Ajaz Hussain
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAHBISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
coacharyasetiyaki
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptxComprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Samruddhi Khonde
teacher activies un classroom and students
teacher activies un classroom and studentsteacher activies un classroom and students
teacher activies un classroom and students
prabowoedy1
OOPs Interview Questions PDF By ScholarHat
OOPs Interview Questions PDF By ScholarHatOOPs Interview Questions PDF By ScholarHat
OOPs Interview Questions PDF By ScholarHat
Scholarhat
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
Prof. (Dr.) Vinod Kumar Kanvaria
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptxDr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Khurshid Ahmed Ansari
Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.pptAnnex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
Annex-A_PMES-Tool-for-Proficient-Teachers-SY-2024-2025.ppt
joan dalilis
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
B畛 TEST KI畛M TRA GI畛A K 2 - TI畉NG ANH 10,11,12 - CHU畉N FORM 2025 - GLOBAL SU...
Nguyen Thanh Tu Collection
Effective Product Variant Management in Odoo 18
Effective Product Variant Management in Odoo 18Effective Product Variant Management in Odoo 18
Effective Product Variant Management in Odoo 18
Celine George
Administrative bodies( D and C Act, 1940
Administrative bodies( D and C Act, 1940Administrative bodies( D and C Act, 1940
Administrative bodies( D and C Act, 1940
P.N.DESHMUKH
Unit 1 Computer Hardware for Educational Computing.pptx
Unit 1 Computer Hardware for Educational Computing.pptxUnit 1 Computer Hardware for Educational Computing.pptx
Unit 1 Computer Hardware for Educational Computing.pptx
RomaSmart1
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
RRB ALP CBT 2 RAC Question Paper MCQ (Railway Assistant Loco Pilot)
SONU HEETSON
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷sOne Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
One Click RFQ Cancellation in Odoo 18 - Odoo 際際滷s
Celine George
How to Configure Recurring Revenue in Odoo 17 CRM
How to Configure Recurring Revenue in Odoo 17 CRMHow to Configure Recurring Revenue in Odoo 17 CRM
How to Configure Recurring Revenue in Odoo 17 CRM
Celine George
Oral exam Kenneth Bech - What is the meaning of strategic fit?
Oral exam Kenneth Bech - What is the meaning of strategic fit?Oral exam Kenneth Bech - What is the meaning of strategic fit?
Oral exam Kenneth Bech - What is the meaning of strategic fit?
MIPLM
Mastering Soft Tissue Therapy & Sports Taping
Mastering Soft Tissue Therapy & Sports TapingMastering Soft Tissue Therapy & Sports Taping
Mastering Soft Tissue Therapy & Sports Taping
Kusal Goonewardena
Intellectual Honesty & Research Integrity.pptx
Intellectual Honesty & Research Integrity.pptxIntellectual Honesty & Research Integrity.pptx
Intellectual Honesty & Research Integrity.pptx
NidhiSharma495177
How to Configure Deliver Content by Email in Odoo 18 Sales
How to Configure Deliver Content by Email in Odoo 18 SalesHow to Configure Deliver Content by Email in Odoo 18 Sales
How to Configure Deliver Content by Email in Odoo 18 Sales
Celine George
2024 Summer Nutrition North Carolina Profile
2024 Summer Nutrition North Carolina Profile2024 Summer Nutrition North Carolina Profile
2024 Summer Nutrition North Carolina Profile
Mebane Rash
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdfBlind spots in AI and Formulation Science, IFPAC 2025.pdf
Blind spots in AI and Formulation Science, IFPAC 2025.pdf
Ajaz Hussain
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAHBISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
BISNIS BERKAH BERANGKAT KE MEKKAH ISTIKMAL SYARIAH
coacharyasetiyaki
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptxComprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Comprehensive Guide to Antibiotics & Beta-Lactam Antibiotics.pptx
Samruddhi Khonde
teacher activies un classroom and students
teacher activies un classroom and studentsteacher activies un classroom and students
teacher activies un classroom and students
prabowoedy1
OOPs Interview Questions PDF By ScholarHat
OOPs Interview Questions PDF By ScholarHatOOPs Interview Questions PDF By ScholarHat
OOPs Interview Questions PDF By ScholarHat
Scholarhat
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
AI and Academic Writing, Short Term Course in Academic Writing and Publicatio...
Prof. (Dr.) Vinod Kumar Kanvaria
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptxDr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Dr. Ansari Khurshid Ahmed- Factors affecting Validity of a Test.pptx
Khurshid Ahmed Ansari

Basic Latex Typesetting - Session 2

  • 1. Queries and Issues from Session 1 Some Special Characters Some Math Symbols and Commands (Cont.) The multicols Environment Tables, Matrices and Cases A Basic LTEX Typesetting A Hands-On Seminar for Math Training Elective Kiel F. Granada Philippine Science High School Main Campus Session 2 July 24, 2010 KFGranada A Basic L TEX Typesetting
  • 2. Queries and Issues from Session 1 landscape and lettersize Options Some Special Characters List Tweaks Some Math Symbols and Commands (Cont.) The color Package The multicols Environment pagestyle{empty} Issue Tables, Matrices and Cases Correction $x = 1 :) y = 4 does NOT work. z = 3$ Math environment should be declared for each line, i.e. $x = 1$ $y = 4$ $z = 3$ KFGranada A Basic L TEX Typesetting
  • 3. Queries and Issues from Session 1 landscape and lettersize Options Some Special Characters List Tweaks Some Math Symbols and Commands (Cont.) The color Package The multicols Environment pagestyle{empty} Issue Tables, Matrices and Cases landscape and lettersize Options Con鍖gure TEXMAKER. Find under Options. In the dvips command, between 揃 揃 揃 /dvips and %.dvi, type: -t landscape -Ppdf or -t letter -Ppdf or -t landscape -t letter -Ppdf Compile to PDF by pressing F2 F4 F8 . Wait for each process to 鍖nish before starting the next one. View PDF by pressing F7 . KFGranada A Basic L TEX Typesetting
  • 4. Queries and Issues from Session 1 landscape and lettersize Options Some Special Characters List Tweaks Some Math Symbols and Commands (Cont.) The color Package The multicols Environment pagestyle{empty} Issue Tables, Matrices and Cases List Tweaks The paralist Package In the preamble, add: usepackage { p a r a l i s t } s e t d e f a u l t e n u m {A} { 1 ) } { ( a ) } { i ) } This declares a new environment compactenum with customizable structure. New environments declaration: b e g i n { compactenum } item F i r s t i t e m Second end { compactenum } KFGranada A Basic L TEX Typesetting
  • 5. Queries and Issues from Session 1 landscape and lettersize Options Some Special Characters List Tweaks Some Math Symbols and Commands (Cont.) The color Package The multicols Environment pagestyle{empty} Issue Tables, Matrices and Cases The color Package usepackage { c o l o r } d e f i n e c o l o r { d a r k b l u e }{ r g b } { 0 , 0 . 0 8 , 0 . 4 5 } color { darkblue } KFGranada A Basic L TEX Typesetting
  • 6. Queries and Issues from Session 1 landscape and lettersize Options Some Special Characters List Tweaks Some Math Symbols and Commands (Cont.) The color Package The multicols Environment pagestyle{empty} Issue Tables, Matrices and Cases pagestyle{empty} Issue usepackage { f u l l p a g e } p a g e s t y l e { empty } KFGranada A Basic L TEX Typesetting
  • 7. Queries and Issues from Session 1 Some Special Characters Some Math Symbols and Commands (Cont.) The multicols Environment Tables, Matrices and Cases Some Special Characters to distinguish commands from text { } to enclose command arguments/options & to set alignments % to insert comments $ $ to delineate math environments # to de鍖ne use of arguments $ b a c k s l a s h $ { } & % $ # KFGranada A Basic L TEX Typesetting
  • 8. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products More Algebraic Functions n x d n x d n |x| k $ l f l o o r x r f l o o r $ $ l c e i l x r c e i l $ $|x|$ $ l e f t ( d f r a c {n }{ d } r i g h t ) $ $ l e f t { d f r a c {n }{ d } r i g h t } $ $ d i s p l a y s t y l e {n c h o o s e k } $ KFGranada A Basic L TEX Typesetting
  • 9. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Geometry Notations $ o v e r l e f t r i g h t a r r o w {AB} $ AB $ o v e r r i g h t a r r o w {AB} $ AB $ o v e r l i n e {AB} $ AB newcommand{ L i n e }{ o v e r l e f t r i g h t a r r o w } newcommand{ Ray }{ o v e r r i g h t a r r o w } newcommand{ Segment }{ o v e r l i n e } $ L i n e {AB} p e r p Ray {AB} $ AB AB $ Segment {AB} p a r a l l e l Segment {BC} $ AB BC KFGranada A Basic L TEX Typesetting
  • 10. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Geometry Notations $ a n g l e ABC$ ABC $ t r i a n g l e ABC$ ABC $ cong$ = $ sim$ usepackage { arcs } MN $ o v e r a r c {MN} $ KFGranada A Basic L TEX Typesetting
  • 11. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Greek Letters $ a l p h a $ $ b e t a $ $ Delta$ $gamma$ $ e p s i l o n $ $ p i $ 留硫粒 KFGranada A Basic L TEX Typesetting
  • 12. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Trigonometric Functions $ s i n t h e t a $ sin 慮 $ c o s 30{ c i r c }$ cos 30 $ t a n ( a l p h a + b e t a ) $ tan(留 + 硫) newcommand{Deg }{{ c i r c }} $ c o s 30 Deg$ KFGranada A Basic L TEX Typesetting
  • 13. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Limits and Integrals $ l i m { x t o 1} f ( x ) $ $$ l i m { x t o 1} f ( x ) $$ $ d i s p l a y s t y l e l i m { x t o 1} f ( x ) $ $ i n t 1 3 g ( x ) d i s p l a y s t y l e i n t 1 3 g ( x ) $ limx1 f (x) lim f (x) x1 lim f (x) x1 3 3 1 g (x) g (x) 1 KFGranada A Basic L TEX Typesetting
  • 14. Queries and Issues from Session 1 More Algebraic Functions Some Special Characters Geometry Notations Some Math Symbols and Commands (Cont.) Trigonometric Functions The multicols Environment Limits and Integrals Tables, Matrices and Cases Sums and Products Sums and Products $ sum { i =1}{n} i 2 $ $n ! = p r o d { i =1}{n} i $ $ d i s p l a y s t y l e sum { i =1}{n} l e q p r o d { i =1}{n} $ n 2 i=1 i n! = n i i=1 n n i=1 i=1 KFGranada A Basic L TEX Typesetting
  • 15. Queries and Issues from Session 1 Some Special Characters Some Math Symbols and Commands (Cont.) The multicols Environment Tables, Matrices and Cases The multicols Environment usepackage { m u l t i c o l } b e g i n { m u l t i c o l s }{ number o f c o l u m n s } column 1 c o n t e n t s columnbreak column 2 c o n t e n t s end { m u l t i c o l s } KFGranada A Basic L TEX Typesetting
  • 16. Queries and Issues from Session 1 Some Special Characters Tables Some Math Symbols and Commands (Cont.) Matrices The multicols Environment Cases Tables, Matrices and Cases Tables b e g i n { t a b u l a r }{ l c r } left center right l e f t & c e n t e r & r i g h t l c r l & c & r end { t a b u l a r } begin { tabular }{| l | c | r |} left center right hline l c r l e f t & c e n t e r & r i g h t hline l & c & r end { t a b u l a r } KFGranada A Basic L TEX Typesetting
  • 17. Queries and Issues from Session 1 Some Special Characters Tables Some Math Symbols and Commands (Cont.) Matrices The multicols Environment Cases Tables, Matrices and Cases Matrices Environment Braces $ b eg in { bmatrix } matrix None a {11} & c d o t s & a {1 n} pmatrix () v d o t s & c d o t s & v d o t s bmatrix [] a {m1} & c d o t s & a {mn} end { b m a t r i x }$ Bmatrix {} || 錚 錚 vmatrix a11 揃揃揃 a1n Vmatrix 錚 . . 錚 錚 . . 揃揃揃 . 錚 . am1 揃揃揃 amn Note: The matrix environments need to be enclosed by $ $. KFGranada A Basic L TEX Typesetting
  • 18. Queries and Issues from Session 1 Some Special Characters Tables Some Math Symbols and Commands (Cont.) Matrices The multicols Environment Cases Tables, Matrices and Cases Cases 錚 $ s gn ( x ) = 錚1 錚 x >0 begin { cases } sgn(x) = 0 x =0 1 & x > 0 錚 1 x <0 錚 0 & x = 0 1 & x < 0 end { c a s e s } $ Note: The cases environment also need to be enclosed by $ $. KFGranada A Basic L TEX Typesetting