diff options
Diffstat (limited to 'latex.html.markdown')
| -rw-r--r-- | latex.html.markdown | 16 | 
1 files changed, 13 insertions, 3 deletions
| diff --git a/latex.html.markdown b/latex.html.markdown index 31231a70..81c0d24c 100644 --- a/latex.html.markdown +++ b/latex.html.markdown @@ -4,6 +4,7 @@ contributors:      - ["Chaitanya Krishna Ande", "http://icymist.github.io"]      - ["Colton Kohnke", "http://github.com/voltnor"]      - ["Sricharan Chiruvolu", "http://sricharan.xyz"] +    - ["Ramanan Balakrishnan", "https://github.com/ramananbalakrishnan"]  filename: learn-latex.tex  --- @@ -177,7 +178,7 @@ We can also insert Tables in the same way as figures.    % the {} arguments below describe how each row of the table is drawn.    % Again, I have to look these up. Each. And. Every. Time.    \begin{tabular}{c|cc}  -    Number &  Last Name & First Name \\ % Column rows are separated by $ +    Number &  Last Name & First Name \\ % Column rows are separated by &      \hline % a horizontal line      1 & Biggus & Dickus \\      2 & Monty & Python @@ -204,14 +205,14 @@ environment.  By now you're probably wondering how to compile this fabulous document   and look at the glorious glory that is a LaTeX pdf. -(yes, this document actually does compiles). \\ +(yes, this document actually does compile). \\  Getting to the final document using LaTeX consists of the following steps:    \begin{enumerate}      \item Write the document in plain text (the "source code").      \item Compile source code to produce a pdf.        The compilation step looks something like this (in Linux): \\       \begin{verbatim}  -        $pdflatex learn-latex.tex learn-latex.pdf  +        > pdflatex learn-latex.tex learn-latex.pdf        \end{verbatim}    \end{enumerate} @@ -227,6 +228,15 @@ format you defined in Step 1.  That's all for now! +% Most often, you would want to have a references section in your document. +% The easiest way to set this up would be by using the bibliography section +\begin{thebibliography}{1} +  % similar to other lists, the \bibitem command can be used to list items +  % each entry can then be cited directly in the body of the text +  \bibitem{latexwiki} The amazing LaTeX wikibook: {\em https://en.wikibooks.org/wiki/LaTeX} +  \bibitem{latextutorial} An actual tutorial: {\em http://www.latex-tutorial.com} +\end{thebibliography} +  % end the document  \end{document}  ``` | 
