Responsive Navbar with Google Search
☰ Menu
Home
Python
LaTeX
GNUPlot
Arduino
Feedback
Contact Us
Introduction to Latex: Basic LaTeX File
Introduction to Latex
Basic LaTeX File
Basic LaTeX File: Program 1
\documentclass{article} \title{My First LaTeX Document} \author{John Doe} \date{\today} \begin{document} \maketitle \section{Introduction} This is a simple introduction section. LaTeX is used for creating professional-looking documents. \section{Main Content} Here is the main content. You can add equations, like this: \[ E = mc^2 \] \section{Conclusion} This is the conclusion section. \end{document}
Run Code
Output 1
Basic LaTeX File: Program 2
\documentclass[12pt]{report} \usepackage{amsmath} \usepackage{graphicx} \title{A Simple Report Example} \author{Your Name} \date{\today} \begin{document} \maketitle \begin{abstract} This is a simple report abstract. It provides a brief summary of the report's content. \end{abstract} \tableofcontents \chapter{Introduction} This is the introduction chapter of a report. Reports often have more structure and detailed sections. \chapter{Literature Review} In this chapter, you discuss previous research and literature on your topic. \chapter{Methodology} Here you describe the methods you used to conduct your research. \chapter{Results} Present the results of your study or research here. \chapter{Conclusion} Summarize your findings and discuss their implications. \appendix \chapter{Appendix A} Include any supplementary material or data here. \end{document}
Run Code
Output 2
Basic LaTeX File: Program 3
\documentclass[12pt]{letter} \usepackage{graphicx} \signature{Your Name} \begin{document} \begin{letter}{Recipient Name \\ Address Line 1 \\ Address Line 2} \opening{Dear Recipient Name,} This is a simple letter written in LaTeX. You can use this template for formal or informal correspondence. \closing{Sincerely,} \ps{P.S. You can add a postscript here.} \encl{Attachment (if any)} \end{letter} \end{document}
Run Code
Output 3
Basic LaTeX File: Program 4
\documentclass[12pt]{article} \usepackage{geometry} \geometry{a4paper, margin=1in} \usepackage{enumitem} \title{Your Name} \date{} \begin{document} \maketitle \thispagestyle{empty} \section*{Contact Information} \begin{itemize}[leftmargin=0pt, label={}] \item Email: your.email@example.com \item Phone: +123 456 7890 \item Address: 123 Street Name, City, Country \end{itemize} \section*{Education} \begin{itemize} \item \textbf{Degree, Major} \\ University Name, Graduation Year \end{itemize} \section*{Experience} \begin{itemize} \item \textbf{Job Title} \\ Company Name, Duration \\ Brief description of responsibilities and achievements. \end{itemize} \section*{Skills} \begin{itemize} \item Skill 1 \item Skill 2 \item Skill 3 \end{itemize} \section*{References} Available upon request. \end{document}
Run Code
Output 4