Recent Changes - Search:

Academic / Ph.D.

Research

Knowledge

Personal

Hobbies

Professional

Family

edit SideBar

La Te X

Using La Te X in websites:

  • Go to ScienceSoft and type in the equation in La Te X format.
  • Use _ to denote subscripts, ^ to denote subscripts
  • The following will generate just a simple equation (or select copy from template→AMA):

Documentation Links:

Merging PDFs:

  • Using Ghost Script on W32: gswin32 -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=result.pdf -dBATCH 1.pdf 2.pdf 3.pdf

Figures

 
begin{figure}
  begin{center}
    begin{minipage}[t]{0.58linewidth}
      epsfig{file=somefile.ps, width=linewidth}
    end{minipage}hfill
    begin{minipage}[t]{0.38linewidth}
      caption{This is the caption.label{fig:rawss}}
    end{minipage}
  end{center}
end{figure}
begin{figure}
 centering 
 subfigure{includegraphics[width=3in]{penguin_orig}}
 subfigure{includegraphics[width=2.25in]{sobel_filters}}
 caption{Image (left) used for convolution with the Sobel Filter (right).} 
end{figure}

[hbtp] determines how La Te X will place the figure (here (h), bottom (b), top(t), page(p)). La Te X will first attempt to insert the figure at its insertion point in the tex file. If this is not possible due to space or other aesthetic considerations, it will try to place it at the bottom of the page, then at the top of the page, then on a special page reserved just for float elements. The order in which h,b,t and p are specified determines where La Te X tries to place the float first. To force the graphic to appear in its original place, for example, you could put begin{figure}[h] , omitting b, p and t

Example Code:

documentclass[14pt]{article}
pagestyle{empty}
begin{document}
begin{displaymath}
% Put your math equation here!!
R_t = sum^{infty}_{k=0}gamma^k r_t{t+k+1}
end{displaymath}
end{document}

or

documentclass[12pt]{article}
pagestyle{empty}
begin{document}
begin{eqnarray}
mbox{Error in } U_i &=& ||U_i - U|| \
mbox{Policy Loss } &=& ||U^{pi i} - U|| \
mbox{if } ||U_i - U|| < epsilon &mbox{ then }&
||U^{pi i} - U|| < frac {2 epsilon} {(1 - gamma)}
end{eqnarray}
end{document}
  • You can append an &resize=200 to the URL to resize the image to 200%, though pmwiki won’t use it.

Common Notation:

  • Functions:
sum prod frac sqrt int 
mbox{} 
lbrace rbrace
  • Greek Letters:
gamma Phi infty

La Te X Windows Distributions:

Edit - History - Print - Recent Changes - Search
Page last modified on February 12, 2008, at 10:09 PM