First steps with LaTeX

Working through Create Beautiful Documents (better than Word) using TexStudio on Ubuntu Linux.

Entered:

    \documentclass{article}
    \usepackage{amsmath}
    \title{My Document}
    \author{Glenn McDavid}
    
    \begin{document}
        \maketitle
        Hello world!! This is a numbered equation:
        \begin{equation}
        2x+3=2
        \end{equation}	
        and this one is unnumbered
        \[
        2x+3=2
        \]
    \end{document}    

Went to “Tools” menu. Chose “Build and View” which worked. There is also “Compile” which did not show the output when I tried it the first time.

screenshot

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.