Answers for "how to refer to a table in latex"

3

latex table of contents

tableofcontents
Posted by: Guest on June-23-2020
5

table in latex

begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|p{3cm}|  }
 hline
 multicolumn{4}{|c|}{Country List} \
 hline
 Country Name     or Area Name& ISO ALPHA 2 Code &ISO ALPHA 3 Code&ISO numeric Code\
 hline
 Afghanistan   & AF    &AFG&   004\
 Aland Islands&   AX  & ALA   &248\
 Albania &AL & ALB&  008\
 Algeria    &DZ & DZA&  012\
 American Samoa&   AS  & ASM&016\
 Andorra& AD  & AND   &020\
 Angola& AO  & AGO&024\
 hline
end{tabular}
Posted by: Guest on March-23-2020
0

latex table of contents

documentclass{article}
usepackage[utf8]{inputenc}
 
title{Sections and Chapters}
author{Gubert Farnsworth}
date{ }
  
begin{document}
  
maketitle
  
tableofcontents

section{Introduction}
   
This is the first section.
      
Lorem  ipsum  dolor  sit  amet,  consectetuer  adipiscing  
elit.   Etiam  lobortisfacilisis sem.  Nullam nec mi et 
neque pharetra sollicitudin.  Praesent imperdietmi nec ante. 
Donec ullamcorper, felis non sodales...
       
addcontentsline{toc}{section}{Unnumbered Section}
section*{Unnumbered Section}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  
Etiam lobortis facilisissem.  Nullam nec mi et neque pharetra 
sollicitudin.  Praesent imperdiet mi necante...

section{Second Section}
       
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  
Etiam lobortis facilisissem.  Nullam nec mi et neque pharetra 
sollicitudin.  Praesent imperdiet mi necante...
         
end{document}
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language