You won't be interacting with TeX directly although everything boils down to it. Only the most seasoned computer veterans with a death wish would descend to that level. Instead, you, like me and like all other weenies, will be working with LaTeX, whose author Leslie Lamport has tamed the beast for the rest of us.
LaTeX is a package that allows the use of markup in the document to structure it logically in a way that users would never have to think about formatting. This is similar to style sheets (CSS) in HTML and styles in Word. You mark different sections of your document in different ways and then you can produce a variety of layouts by tinkering with the styles, not with the text.
That's all in theory. In practice, most people do not tinker with anything at all, and so their LaTeX documents are instantly recognizable because they all look the same. Yours will look canned too for a while until you develop a taste for tinkering. Then you will find out that not everything is as rosy as I made it sound.
For now, all you have to remember is that a LaTeX document, sometimes called `source' is your text with markup (commands telling the program how to format it) interspersed throughout. HTML is a markup language and the concept is the same.
This means that your source is not something you'd be looking at without the aid of an interpreter. For example, you use a browser to look at HTML pages. The browser reads the markup along with the text and then displays it accordingly.
LaTeX documents are similar except that you `compile' them first into viewable files. That is, you translate the ASCII (human-readable) text with markup into binary (machine-readable) files that you can then preview, print, or forget.
Now, here's why you want WinEdt in the first place: It lets you compile and preview documents without having to run commands from the command line (which many may not even know how to get to). This is accomplished by the cunning use of pull-down menus and toolbar buttons, much like you're used to clicking in Windows.
So, you fire up WinEdt, and then do everything from there!
\documentclass{article} \title{Hello, Cruel World!} \author{Obedient Grad Student} \begin{document} \maketitle \section{Introduction} This is where you tell people why they should bother reading your article. \section{Literature Review} This is the section that is invariably much longer than it should be, and where everyone tries to impress peers about how easy it is to locate various references in online databases. \section{Conclusion} Not much of a paper, but it's a start. \end{document}Now, follow these steps:
\documentclass{article} % --> this is the preamble \begin{document} % --> this is the document \end{document}The first line tells LaTeX that it should format your document as an article. There are other classes (e.g. book, slide) but this is the one you will be using 99% of the time.
The next two lines tell LaTeX the author and the title so it can typeset them properly.
Then the document begins. With first command tells LaTeX to typeset the title immediately. This also generates the current date automatically.
Then your document follows. As you see, it is logically divided into sections. LaTeX formats and numbers them properly for you. If you move them around in your source, LaTeX will renumber them. Let's try it. Modify the source to look like this:
\documentclass[12pt]{article} \title{Hello, Cruel World!} \author{Obedient Grad Student\thanks{My advisor for not reading a single draft.} \\Department of Political Science \\UCSD} \begin{document} \maketitle \section{Introduction} This is where you tell people why they should bother reading your article. \subsection{What Is the Question?} Ask Shakespeare. \subsection{Why Do We Care?} We're all generally curious. \section{Conclusion} Not much of a paper, but it's a start. \section{Literature Review} This is the section that is invariably much longer than it should be, and where everyone tries to impress peers about how easy it is to locate various references in online databases. \end{document}Run latex and refresh the previewer. First, note the '12pt' argument to the document class command has changed the font size (the default is 10pt, which is too small). Also, the department name and university affiliation have been added to the author information. You can indulge in the common practice of thanking everyone by the use of the '\thanks' command. Further, we introduces a couple of subsections, and moved sections around. Note the numbering that LaTeX supplies automatically.
And that's all there is to it!