/Latex

Primary LanguageTeX

Latex

\documentclass[a5paper,50pt]{article} \usepackage[top=30mm,bottom=30mm,left=25mm,right=25mm]{geometry} \usepackage{fancyhdr} \fancyhf{} \pagestyle{fancy} \fancyhead[L]{latex pgms} \fancyfoot[L]{SIET, CSE} \fancyfoot[C]{page \thepage} \renewcommand{\headrulewidth}{2pt} \renewcommand{\footrulewidth}{2pt} \begin{document} \section{Introduction to LaTeX} LaTeX is a document preparation system for typesetting programs. It is used to create different types of document structures. A LaTeX file (.tex) is created.

\section{How to Run LaTeX} Assuming one is using a simple text editor like Notepad or gedit, save the file with a .tex extension. Then build the file using pdflatex. \end{document}