### Learning Latek

I've been trying to learn LaTeX for a while now but learning it from scratch without a template is very very hard. Especially for a person who insists on going through atleast a couple of manuals before he goes hands-on (that's me btw).

I've finally been able to get a grip on writing documents in LaTeX because i've been writing something in TeX for a while now. And i know quite a few people who are putting off using LaTeX for the same reason that i did. So, i thought that if i could write a good template which would encompass every basic functionality necessary for a student to write a report, i thought it'd help in getting people to start working on LaTeX.

So, here's what i've been able to come up with in one afternoon...

% each of these can be considered as commands and each command has different outputs depending on arguments which are given in {}. Look for the different arguments each of these functions have. some have one. quite a few have many.

\documentclass[a4paper, 12pt]{article}
% the type of article, paper and font size to be used.
% to show the name of the chapter being read and the current page number.\usepackage{url}
% there are many packages which needed to be loaded. lateksym is one of the more important ones to write equations on latek. you can look up other relevant packages for you.

\author{Whomsoever this may concern to}
\title{A Template}
% will make the title and the authors name.
% the date at which the document is also printed.% i am yet ot figure out a way to remove this because the prof shouldn't know when you wrote the report, all that matters is that there is a report.

\begin{document}
% begin and end document are the arguments which will create the document.

\maketitle% command to print the title of the document\section*{Preface}

\newpage\section*{a}

\newpage\section{A}
\subsection*{A}
% a subsection in the current section. As the command suggests.
\paragraph*{A}
This corresponds to paragraphs
\paragraph{A}
and so does this.\\ % \\ creates a line break.
I don't quite know what the difference b/w them is as of now.

\newpage\subsection{B}
\label{subsecB}
this is to write subsections in sections. you know why.
Now refer to the section \ref{subsecB} on page \pageref{subsecB}
% how to label things and invoke them later on.
% \label{arg} will give the current section or subsection or paragraph a label.
% now this argument can be invoked to obtain the section using \ref{arg} and obtain the page number using \pageref{arg}

\newpage\subsection{C}
Actually i don't need to worry about writing text in paragraphs.
I can just write text after the sections or subsections headings without the paragraph and it'll work fine.

\begin{itemize}
% to start lists without enumerating them.
\item One
\item Two
\end{itemize}
\begin{enumerate}
% to start lists with numbering\item A
\item B
\end{enumerate}

\newpage\subsection*{}
% the use of subsection* was to change the alignment of the following text and the list.
% without the subsection* command, the following text will be in line with list.% with it, the text looks like something that the list is based upon.
Things that i intend to add in this template.

\begin{itemize}
\item adding references - partially done.
\item citing articles and providing links at the bottom of the page - done.
\item typesetting things to the right of the page - done.
\item creating tables - done.
\item writing quotations.
\end{itemize}

\newpage\section{B}
This is just for example.

\newpage% making tables.
% \begin{tabular}{|exp|exp|} is the command to create tables% exp and exp correspond to the alignment of the two columns.
% we can similarly write an n column table.
% \hline corresponds to a horizontal line% '&' is used to move b/w different columns.
\section{Creating Tables}
\begin{center}
\begin{tabular}{|c|c|}
\hlinevariable&value\\\hlinea&1\\b&2\\c&3\\\hline\end{tabular}
\end{center}
% \begin {center/flush left/flush right} accompanied by the corresponding end command will determine the placement of the text in the page.

\newpage\section{Fonts and font styles}
how \emph{Wonderful} is this huhh..
% the argument for the function \emph{} will be emphasised.
moving on there's \textit{wonderful}\footnote{Italic}, \textsf{wonderful}\footnote{Sans Serif} and \texttt{wonderful}\footnote{type Writer}.
There are several other fonts which can be used. you can refer to them in the references.
% \footnote{arg} after a certain word will be given a footnote and the argument is what the footnote is.

\newpage\section*{References}
I've learnt that having a template to start learning with greatly helps the learning curve of a person.
So, i am making this template for those who are interested in learning latek through practice and reuse and not by reading the documentation on tek or some lame tutorial. \\ Personally, i believe that learning by practice is the best way to learn. \\But i do realize that this template will only get you so far interms of use.
So, here are some of the places and documents that i've used to learn latek.

\begin{itemize}
\item \TeX Cheat sheet no.1
% \LaTeX{} is what can be used to print LATEX.
\item \TeX Cheat sheet no.2 which has all of the symbols and characters \mbox{mentioned}
% \TeX is used to print TeX.
% \mbox{"argument"} will make sure that "argument" will not be split by line breaks.
% it will be in the same line.
\item a Not so short Intro to \TeX - this is a more serious look at latek and typesetting using latek.
this should be helpful after you get through the basics and need to get more out of latek.
\end{itemize}
\end{document}

Be aware, all of these except the link "LaTeX math symbols" are .pdf files and "the not so short intro to LaTeX" is a big on at that. Don't blame me later on for not telling you. Some of the interesting and very helpful things i referred to while learning how to write in LaTeX are -

the LaTeX cheat sheet and

Other interesting references are -

I still haven't been able to add links which will help people jump from the table on contents directly to the section, mathematical formulations and symbols and quite a few other ones. But i will keep working on this one because i have a hunch i will be using TeX extensively next sem :d...

Do comment and tell me if you see anything wrong or if you think we can improve this further somehow.

Here's the link if you want to look at the result of the tex template.

More features coming up soon...
At a blog near you..