No. WinEdt can launch the compiler through icons or menus, open the pdf viewer,and do a lot of other things. It has a powerful language of ~1000 macros for that. Almost every aspect can be customised.
Here is a screenshot of WinEdt
with the beginning of your .tex file:
You'll notice, just on the right of the Recycle icon, a PDF/ L icon. If you click on it, you'll launch the pdfLaTeX
compiler. Clicking on the small "triangle down" next to the icon lets you choose another compiler(LaTeX
, XeLaTeX
, LuaLaTeX
and their variants). But to begin with, pdfLaTeX will be enough. pdfLaTeXify
and the like are MiKTeX utilities that launch the complete cycle of compilations in order to resolve the cross-references and typeset the bibliographies, indexes or glossaries that you may have.
The Adobe Reader
icon on the right lets you open the pdfviewer. The recommended pdfviewer for use with tex is not Adobe Reader, but SumatraPDF
which you should install. It allows you to navigate from your source code to the corresponding point in the resulting .pdf file and backwards through shortcuts: if the cursor is at some point in your .tex file, the Maj+F8
shortcut will bring you to the corresponding point in the .pdf ("direct search
"). Conversely, double-clicking somewhere in the .pdf file will bring you to the corresponding line of the .tex file ("inverse search
").
You should look at the Execution Modes
submenu of the Options
menu:
This is where you can settle the behaviour of the editor, choose the pdfviewer (id SumatraPDF is installed, it is the default viewer for .tex files. In particular, you can ask to start the Viewer after the compliler has finished its job.
Another important feature is that in the Help
menu, you have access to:
- WinEdt (copious) Help (F1)
- LaTeX Doc (Shift+Ctrl+F1): you type the name of a package, and it opens its doc (if it consists of only one file) or lets you choose in a list if there are several files.
- LaTeX Help e-book is a general help on LaTeX.
- MiKTeX or TeX Live Help, according to your TeX system
I hope this will help to begin with.
This looks just like a sans serif font to me. So I would do the following.
% arara: pdflatex
\documentclass{article}
\newcommand*{\expect}{\mathsf{E}}
\newcommand*{\prob}{\mathsf{P}}
\begin{document}
\[\expect X = \int\displaylimits_{\Omega} X(\omega)\prob}(d\omega)\]
\end{document}
- The
\displaylimits
is just used in order to get the first image of your referred homepage. I would leave it away.
- I have not checked, if the new commands are defined by other packages. You could rename them, if you encounter any clash with these.
d\omega
would look better as \mathrm{d}\omega
in my eyes. Matter of taste.
Best Answer
In addition to getting rid of the blank lines inside the
equation
environment to take care of the immediate problem, you may want to enhance the overall look of the equation, mainly by replacing the genericarray
environment with the specializeddcases
environment, which was designed for cases (pun intended) such as yours.