How to create a simple article in Latex - basic latex structure explained and a minimal document created
This is the first tutorial in the video tutorial series on how to learn Latex. In this tutorial I will show you how to create a very basic Latex document.
In order to get started you need to download Latex on your machine (Windows, Mac, Linux). You can download the right package for you from this page.
Here is the code from the tutorial. The video is attached with explanation. Hope this will come handy to you.
\documentclass[8pt,letterpaper]{article}
%\usepackage[left=12mm, top=0.5in, bottom=5in]{geometry}
\begin{document}
\title{A sample /Latex/ article by 5 minutes of Latex}
\maketitle
\section{Introduction}
This is a smaple introduction section.\\
This is a second line in the introduction.\\
This is a third line.
\section{Motivation}
\end{document}
The motivation behind this tutorial is to share the knowledge for the benefit of everyone who wants to start using Latex.
Thanks for posting this video. Is there a LaTeX reference guide that provides with a comprehensive list of document classes and their associated commands, as well as a list of different packages and an explanation on how they can be incorporated into different document classes, somewhere on the internet?
ReplyDeleteDear Davis,
DeleteI am afraid there is no such comprehensive website. Everything is available in bits and pieces here and there.
Regards,
Dinesh Agarwal
Thanks! I guess I will have to resign to a slow trial-error learning process then. :)
ReplyDeleteI know, it sucks bad. That is one of the reasons why I started this as a way to fall back to what I have learnt when I myself need it.
DeleteI've actually managed to find a good .pdf manual with LaTeX document classes, commands etc. Here is a link:
ReplyDeletehttp://www.tex.ac.uk/tex-archive/info/latex4wp/latex4wp.pdf
Awesome, this will be a great resource for anyone looking for a comprehensive LaTeX document. Thank you.
DeleteGreat videos, learning lots (and quickly!).
ReplyDeleteHad a warning about the 8pt when I used it; from what others have wrote seems like {article} only supports 10, 11, and 12 pt. Just in case others run into the same warning as I did.
Keep up the great work Denish and thanks again for the videos.
Martin
Thank you Martin for those nice words. I am glad my efforts are useful to you all.
DeleteRegards,
Dinesh Agarwal
Hi
ReplyDeleteCould some pass me the link for complete latex.i had downloaded latex with texworks and then latex with winedit.All seem to work with editing but there is never a run option or the run option never generates d pdf i require.Could some one advice.
Thanks
Sonia
anyone please share link to download free latex software
ReplyDelete