Requirements
Download, install and configure MiKTeX correctly.
Type A Hello World Latex Document In TeXworks
% !TEX TS-program=pdflatex
% !TEX encoding=UTF8-unicode
\usepackage{amsmath}
\usepackage{mathpazo}
\title{Hello world}
\author{Private Course And Tutor Course}
\date{\today}
\begin{document}
\maketitle
\boldmath
Hello world!\\
$ax^{2}+bx+c=0$
\end{document}
Build Or Compile LaTeX In TeXworks
- Now at the top of TeXworks you will see a green button ("Compile or Typeset" button) on the first toolbar.
Notes: Every time you click the green compile button, TeXworks will save the file with the last name it was given. This can be troublesome when you use a template *.tex file your instructor gives you. Before you click the green compile button after opening a new file, click File and Save As from the top TeXworks menu to give the file your own name. - Next to that you will see typesetting drop-down menu to choose the format for typesetting (we’ll choose something like "pdfLaTeX").
Notes: Click on the downward triangle next to typesetting drop-down menu and choose to your apropriate typesetting ( something like "pdfLaTeX+MakeIndex+BibTeX" ). - Then click on the green "Compile" button. You will be asked to save the file and give it a name. Name it test.tex in whatever folder you want to keep your LaTeX files in. After you save a file a new window should open up with a PDF file containing your document.
Output
Notes
- To see the more clear screenshot, click on the picture.
Bibliography
https://www.iup.edu/
https://www.overleaf.com/
TeXworks-manual
Tidak ada komentar:
Posting Komentar