TeXLive/Example
From ScientificComputing
As an example for using TeXLive, we will create a PDF document out of a .tex input file.
[leonhard@euler07 ~]$ cat test.tex \documentclass[a4paper,12pt]{article} \begin{document} The foundations of the rigorous study of \emph{analysis} were laid in the nineteenth century, notably by the mathematicians Cauchy and Weierstrass. Central to the study of this subject are the formal definitions of \emph{limits} and \emph{continuity}. Let $D$ be a subset of $\bf R$ and let $f \colon D \to \mathbf{R}$ be a real-valued function on $D$. The function $f$ is said to be \emph{continuous} on $D$ if, for all $\epsilon > 0$ and for all $x \in D$, there exists some $\delta > 0$ (which may depend on $x$) such that if $y \in D$ satisfies \[ |y - x| < \delta \] then \[ |f(y) - f(x)| < \epsilon. \] One may readily verify that if $f$ and $g$ are continuous functions on $D$ then the functions $f+g$, $f-g$ and $f.g$ are continuous. If in addition $g$ is everywhere non-zero then $f/g$ is continuous. \end{document} [leonhard@euler07 ~]$ module load gcc/4.8.2 texlive/2009 [leonhard@euler07 ~]$ bsub -n 1 -W 0:10 -R "rusage[mem=150]" "pdflatex test" Generic job. Job <35259528> is submitted to queue <normal.4h>. [leonhard@euler07 ~]$ bjobs JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME 35259528 leonhard PEND normal.4h euler07 *atex test Jan 9 08:44 [leonhard@euler07 ~]$ bjobs JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME 35259528 leonhard run normal.4h euler07 e3001 *atex test Jan 9 08:44 [leonhard@euler07 ~]$ bjobs No unfinished job found