A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Hello World in Tex page! Here, you'll find the source code for this program as well as a description of how the program works.
%&pdftex
Hello, World!
\end
Hello World in Tex was written by:
This article was written by:
If you see anything you'd like to change or update, please consider contributing.
Let's dive right into Hello World in Tex.
It is much simpler in Tex due to the fact the Tex is a markup language.
%&pdftex
This first line is a declaring line used to explain that the desired output of this tex file is a pdf.
Hello, World!
This is the body better known as what will be displayed. You could replace that text with anything to have it show up.
\end
Finally, this is saying the document has ended by declaring (\
) an end
.
There are many options for running Tex files both online and offline. This said my personal favorite option is running it online through Overleaf. They even cover the other options including themselves on their website here.