Answers for "table formatting latex"

3

latex table of contents

tableofcontents
Posted by: Guest on June-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