https://math.berkeley.edu/computing/wiki/api.php?action=feedcontributions&user=Vojta&feedformat=atomUCB Math Wiki - User contributions [en]2022-12-04T23:01:22ZUser contributionsMediaWiki 1.31.1https://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3795Preparing your master's thesis using LaTeX2015-05-23T03:04:25Z<p>Vojta: /* Preparing Your Master's Thesis Using LaTeX */ Fixed a stale link to Graduate Division policies</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by '''ucbthesis'''.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies are available at http://grad.berkeley.edu/academic-progress/thesis/ .<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucbthesis}<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network.<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead, and be sure<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the file '''ucbthesis.cls'''.<br />
This file<br />
is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install it as a document class on your home computer, download it<br />
and either put it in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3794Preparing your Ph.D. dissertation using LaTeX2015-05-23T03:03:16Z<p>Vojta: /* Preparing Your Ph.D. Dissertation Using LaTeX */ Fixed a stale link to Graduate Division policies</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by ucbthesis.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies are available at http://grad.berkeley.edu/academic-progress/dissertation/ .<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network.<br />
<br />
If you have already started your thesis using the '''ucbthesisnew''' document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead.<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the file '''ucbthesis.cls'''.<br />
This file<br />
is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install it as a document class on your home computer, download it<br />
and either put it in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Ucbthesis_readme_file&diff=3724Ucbthesis readme file2014-04-14T19:52:42Z<p>Vojta: Updated for release of version 3.4</p>
<hr />
<div>='''ucbthesis''' README file=<br />
<br />
Below is the README file for the '''ucbthesis''' class for LaTeX.<br />
It no longer contains the documentation for '''ucbthesis'''—that has been<br />
split off into a separate file, and is available in the location<br />
/local/depot/texlive-2010/doc/latex/ucbthesis/ucbthesis.pdf<br />
It is recommended that you print out this file (9 pages) if you will be using '''ucbthesis''' to produce your thesis.<br />
<br />
==README file==<br />
<br />
UCB Thesis Class Version 3.4, 2014/04/11<br />
<br />
Copyright (C) 1988-2014 Daniel Gildea, BBF, Ethan Munson, Paul Vojta.<br />
<br />
This is a class file for producing Ph.D. dissertations and masters theses<br />
conforming to the documents "Dissertation Filing Guide" and "Thesis<br />
Filing Guide" produced by the UC Berkeley Graduate Division and available<br />
on the web at http://grad.berkeley.edu/policies/ . This class is<br />
currently based on the dissertation and thesis guides, dated May 2010 -- <br />
December 2013 and February 2011 -- February 2014, respectively.<br />
<br />
This class is a fork of the '''ucthesis''' document class (which is still being<br />
maintained for use with older theses, but which should not be used for<br />
new theses). This document class is based on the standard LaTeX '''memoir'''<br />
class (instead of the '''report''' class, which is used by '''ucthesis''').<br />
<br />
This package may be distributed and/or modified under the conditions of<br />
the LaTeX Project Public License, either version 1.3 of this license or<br />
any later version. The latest version of this license is in<br />
http://www.latex-project.org/lppl.txt and version 1.3 or later is part<br />
of all distributions of LaTeX version 2005/12/01 or later.<br />
<br />
This package has the LPPL maintenance status `maintained'.<br />
<br />
The Current Maintainer of this package is Paul Vojta.<br />
<br />
This package consists of the files README (this file), ucbthesis.cls,<br />
ucbthesis.tex, ucbthesis.pdf, thesis.tex, abstract.tex, chap1.tex,<br />
chap2.tex, and references.bib.<br />
<br />
===Installation===<br />
<br />
Put the file ucbthesis.cls in the latex folder of an appropriate texmf<br />
tree, generally in a directory TEXMF/tex/latex/ucbthesis (where TEXMF is<br />
the base of the texmf tree).<br />
<br />
Put the files README, ucbthesis.tex, and ucbthesis.pdf in a<br />
similarly-named directory under the documentation directory, generally<br />
TEXMF/doc/latex/ucbthesis, and put the remaining files thesis.tex,<br />
abstract.tex, chap1.tex, chap2.tex, and references.bib in a subdirectory<br />
named example within that directory (generally<br />
TEXMF/doc/latex/ucbthesis/example).<br />
<br />
Report bugs, problems, or questions to [mailto:vojta@math.berkeley.edu Paul Vojta].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3723TeX (generally)2014-03-10T18:18:19Z<p>Vojta: /* TeX (generally) */ Update for new version</p>
<hr />
<div>=TeX (generally)=<br />
We use the TeX Live distribution of TeX and related files. The particulars of which version and where it is located depend on the machine in use.<br />
<br />
'''On login.math and beyonce.math:'''<br />
The version currently in use is the 2013 version, with some later changes (hence it<br />
identifies itself as "2014-dev"). This was implemented in the first week of March, 2014.<br />
You can browse local documentation on TeX Live and its packages by going to '''/local/depot/texlive-2013'''.<br />
<br />
'''On keira.math and office machines running local copies of Ubuntu Linux:'''<br />
These machines run the 2009 version. You can browse local documentation by going to the directory '''/usr/local/texmf-texlive'''.<br />
<br />
Files of particular interest to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
More good starting points for TeX and LaTeX information are:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (links to documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/~vojta/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2|<br />
| [[latex sample ucbletter|latex]]<br />
| Writing a letter or memo in LaTeX<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_metapost&diff=3599Latex sample metapost2013-05-06T20:29:27Z<p>Vojta: Change "filenametemplate" to the current "outputtemplate"</p>
<hr />
<div>=A Quick MetaPost Example=<br />
This document gives a quick example of how to use MetaPost for graphics in LaTeX.<br />
<br />
==The Files==<br />
First of all, here are the contents of '''file.tex''':<br />
\documentclass{article}<br />
\usepackage{graphicx}<br />
\begin{document}<br />
Hi there: \includegraphics{file1.mps}<br />
\end{document}<br />
<br />
And, here is the MetaPost file '''file.mp'''. It contains an arrow and<br />
the letter "A" just above the middle of the arrow.<br />
outputtemplate:="%j%c.mps";<br />
beginfig(1);<br />
<br />
z1=(0,0);<br />
z2=(10mm,10mm);<br />
<br />
drawarrow(z1--z2);<br />
label.ulft(btex $A$ etex, .5[z1,z2]);<br />
<br />
endfig;<br />
<br />
bye<br />
<br />
==Creating and Viewing ''dvi'' Files==<br />
<br />
To create a ''dvi'' file, use the following commands. You don't need<br />
to run '''mpost''' a second time if you just update the ''tex'' file.<br />
mpost file<br />
latex file<br />
<br />
To view the ''dvi'' file, use the commands:<br />
dvips -o file.ps file<br />
gv file.ps<br />
<br />
===Notes:===<br />
* The file '''file1.mps''' produced by '''mpost''' is not really a PostScript file; therefore you cannot use '''gv''' to view it.<br />
* For the same reason, '''xdvi''' will not show '''file.dvi'''.<br />
<br />
==Creating ''pdf'' Files==<br />
<br />
If you want to create a ''pdf'' file, just use the following commands:<br />
mpost file<br />
pdflatex file<br />
<br />
Again, it is not necessary to run '''mpost''' if it has already been run since<br />
'''file.mp''' was last updated.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Local_TeX_macro_packages&diff=3545Local TeX macro packages2012-03-20T14:31:21Z<p>Vojta: Updated for texlive-2010 and ucbthesis; eliminated Solaris</p>
<hr />
<div>=Installing Local Macro Packages on Your Machine at Home=<br />
Our TeX system includes a number of non-standard additions to TeX Live.<br />
Some of the more useful of these files have been bundled for easy<br />
installation on home machines. To install these files on your home machine,<br />
carry out the following steps:<br />
<br />
1. Log in to one of the department-supported machines (usually login.math.berkeley.edu).<br />
<br />
2. Download one of the following files:<br />
/usr/local/depot/4/texlive-2010/localstuff.tar.gz<br />
/usr/local/depot/4/texlive-2010/localstuff.zip<br />
<br />
3. Locate a directory named '''texmf-local''' or '''texmf.local''' on your system (for Unix or Linux systems, start looking within '''/usr/local''' or '''/usr/share''').<br />
<br />
4. Change to that directory and extract the downloaded file in that directory.<br />
<br />
5. Run a command '''mktexlsr''' or some equivalent command to get the TeX system to recognize it.<br />
<br />
This package includes many of the local packages, such as the '''ucbthesis'''<br />
and '''ucbletter''' document classes.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Disk_quotas&diff=3543Disk quotas2012-02-28T23:21:09Z<p>Vojta: /* Disk Quotas */ Updated the standard quotas</p>
<hr />
<div>=Disk Quotas=<br />
Standard quotas on the Math Network at this time are: 1000 MB for faculty,<br />
500 MB for graduate students and visitors, and 300 MB for certain other accounts.<br />
<br />
For the purposes of this web page, MB means 1024000 bytes.<br />
<br />
If your account is over this limit, you will be notified upon<br />
login and will be given 5 login opportunities to clean up and reduce your disk<br />
usage to an under-quota status.<br />
<br />
Disk quotas are necessary on a system the size of Math in order to ensure<br />
that all users have sufficient disk space available to them.<br />
<br />
To avoid further slowing down the file servers, the system currently in<br />
place determines each user's disk quota approximately once per day, in<br />
the early morning hours. If a user is over quota, then he or she is<br />
restricted to five logins until the quota system next determines that<br />
the user is within quota. When (or if) that occurs, the status is then<br />
cleared.<br />
<br />
Thus, login restrictions are imposed or lifted in 24-hour units. This<br />
gives a slightly stronger incentive to stay within quotas. It is hoped<br />
that users who inadvertently exceed their disk quotas can bring themselves<br />
back under quota quickly, and can be fully productive with only a little<br />
additional planning to keep from logging in more than five times on that day.<br />
<br />
Users who need additional disk space are required to submit<br />
a request to [mailto:math@lscr.berkeley.edu math@lscr.berkeley.edu] with<br />
a careful explanation of what the excess disk space will be used for.<br />
<br />
==Notes==<br />
<br />
There are a few points which often lead to misunderstandings:<br />
<br />
* The disk usage is only determined once per day. Therefore, if one is flagged as being over quota, the login restrictions will remain in effect for the whole day, even if the user immediately deletes files to get back under quota. Conversely, users can go well beyond their quotas with impunity during the day, as long as they reduce their disk usage before the next run of the quota system. (This practice is not recommended, however--(a) one may forget to delete the files before the end of the day, and (b) if everybody does this then the problems with full file systems will recur.) The reason for running the quota program only once per day is that it involves ascertaining the ownership of every file on every disk. It is therefore too resource-intensive to be run more often.<br />
* Disk totals are computed by file ownership, not by whether they reside under your home directory. For most users this will not make any difference, but there are circumstances in which this may arise.<br />
* The '''ls''' command leaves out files and directories beginning with "." unless the '''-a''' option is used.<br />
<br />
==Quotas on Mail==<br />
The quotas described here are entirely separate from the 1GB quota on <br />
mail stored on the CalMail system. That is an entirely separate system,<br />
with different quota requirements.<br />
<br />
(Prior to the conversion to CalMail, the math department disk quota system<br />
applied also to disk storage used by incoming mail, but that is no longer<br />
the case. The output of '''dqstatus''' still refers to the separate quota<br />
on incoming mail, but that comment is vestigial only.)<br />
<br />
==Determining Your Disk Usage==<br />
There are two programs to aid you in determining your disk usage.<br />
<br />
First, there is the program '''dqstatus'''. This will print your quota,<br />
your disk usage as of the last time the quota system was run, and<br />
the number of logins you have left (if you are currently restricted).<br />
It may also happen that you have files located in places other than your<br />
home directory. These files or directories are also reported by '''dqstatus'''.<br />
<br />
The other program is '''du'''. This will tell you your current disk usage.<br />
In particular, the command<br />
du -sk ~<br />
will tell you how much space you are using in your home directory. At the<br />
beginning of the day this should agree exactly with the output from<br />
'''dqstatus'''<br />
(unless there are files in your home directory that have somebody else<br />
as an owner). As the day goes on, however, the numbers will differ since<br />
'''du''' reflects the current situation while '''dqstatus''' is only updated<br />
once daily. '''du''' is a standard Unix command; it has many other options<br />
which are described in the manual page for '''du'''.<br />
<br />
If you want to know what takes space in your current working directory, use <br />
the following command:<br />
du -sk `ls -A` | sort -rn | head<br />
The output will list up to ten largest files or directories including names<br />
beginning with "." (specified by the output of '''ls -A''' command).</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Printing_A4_documents&diff=3542Printing A4 documents2012-02-09T20:27:27Z<p>Vojta: Added reference to Wikipedia article on paper sizes</p>
<hr />
<div>Many other countries (especially those using the metric system) use<br />
A4-sized paper (210 x 297 mm) instead of regular 8.5 x 11 inch paper.<br />
While it is possible to get our printers to print on A4-sized paper,<br />
availability of such paper is limited (the Math Department does not keep<br />
any on hand; ''do not'' use special paper for photo printing on laser<br />
printers, as it may damage the printers).<br />
<br />
Although A4 is close enough to letter size that it's usually good enough<br />
to send the file to the printer and accept a printout with unsymmetrical<br />
margins, at times some parts of the printout may fall off the bottom of<br />
the page. Therefore, it may be necessary to take additional steps.<br />
<br />
This page describes some methods for printing various file types on regular<br />
letter-sized paper.<br />
<br />
For more details on paper sizes, see the [http://en.wikipedia.org/wiki/Paper_size Wikipedia article on paper sizes].<br />
<br />
=TeX ''dvi'' Files=<br />
<br />
With ''dvi'' files you can run '''dvips''' in such a way that the text<br />
is centered on the page (but not shrunk to fit). This can be done by the<br />
following command:<br />
dvips -P744 -O 3mm,-9mm file.dvi<br />
(Of course, you will want to change the printer name and the file name.)<br />
<br />
=PDF Files=<br />
<br />
Adobe Reader<sup>TM</sup> ('''acroread''') is capable of printing A4<br />
documents to<br />
letter size, by shrinking the image to fit the smaller page height.<br />
To do this (assuming you have a ''pdf'' file), run Adobe Reader:<br />
acroread file.pdf<br />
<br />
When the file is showing up, type Control-P to pop up a print window.<br />
In the area marked "Page Handling" there is a selection for "Page Scaling."<br />
Make sure it is set for "Shrink to printable area."<br />
<br />
==Earnings Statements (Pay Stubs)==<br />
<br />
For some reason, earnings statements (pay stubs) are provided as pdf files<br />
with the A4 paper size. These can be printed using '''acroread''' as above,<br />
but for a little nicer result (less shrinkage) it is better to save it to<br />
a file and use the command<br />
pdftops payadvice.pdf - | lpr<br />
<br />
=PostScript Files ('''.ps''')=<br />
<br />
PostScript files with A4 page size can be printed by first converting them<br />
to ''pdf'' format, and then printing the file using the procedure<br />
outlined above.<br />
<br />
To convert PostScript files to pdf format, use '''ps2pdf''':<br />
ps2pdf file.ps file.pdf<br />
You can then follow the above directions for printing '''file.pdf''' using<br />
Acrobat Reader.<br />
<br />
An alternative method, not guaranteed, is to put the following invocation<br />
near the beginning of the file:<br />
8 -25 translate<br />
or, in the case of '''dvips''' output:<br />
/bop-hook{8 -25 translate} bind def<br />
<br />
=Other File Types=<br />
<br />
Other file types can only be printed by converting them to one of the file<br />
types mentioned above. The method for doing that (if possible) depends<br />
on the file type.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Main_Page&diff=3537Main Page2012-01-18T06:27:08Z<p>Vojta: /* Printing and Scanning */ Added a link for A4 documents</p>
<hr />
<div>__NOTOC__<br />
=[http://math.berkeley.edu/ UC Berkeley Department of Mathematics]=<br />
<br />
<br />
==Computing Support==<br />
<br />
Welcome to the UC Berkeley Math Department computing support wiki. This wiki is intended to be complementary to the official [http://math.berkeley.edu/computing/ computing support site.] We hope to provide information of use to all members of our department. In order to do that, we want to enlist your help.<br />
(We're also working on an new [[Support:Home_Page | official support site]]).<br />
<br />
Most pages can be edited by anyone who's logged in, and anyone can create an account. Feel free to add any computing related help and information.<br />
<br />
===Email===<br />
* [[CalMail conversion]]<br />
* How to setup clients on your own computer to check your [[Email]] from the Calmail servers.<br />
<br />
===TeX and LaTeX===<br />
* [[TeX (generally)]]<br />
* How to [[LaTeX basics|use LaTeX]].<br />
* How to [[LaTeX Install|install LaTeX]] on your own computer.<br />
<br />
===Printing and Scanning===<br />
* How to [[set up|set up]] printing on the department's printers from a Macintosh on the department network.<br />
* How to [[printing|print]] on the department's printers from your laptop.<br />
* [[Printing A4 documents]]<br />
* How to [http://math.berkeley.edu/~gbergman/958_scanner.html use the copier in 958 Evans as a scanner].<br />
<br />
===Math Department Servers===<br />
* How to [[Webpage Guide|create a homepage]].<br />
* How to [[File Management|manage files on the math department servers]].<br />
* How to use [[SSH Access|remote shell access]].<br />
* How to [[Software|get math software]].<br />
<br />
===Miscellaneous===<br />
* How to [[Proxy Servers|access MathSciNet and UC E-links from off-campus]].<br />
* How to use [[slides]] in the seminar rooms.<br />
* How to get a [https://wikihub.berkeley.edu/display/calnet/CalNet+Identity+and+Access+Management Calnet Identity]. (Everyone is supposed to have one of these, and you will need it to set up your CalMail account.)<br />
* How to [http://math.berkeley.edu/~gbergman/papers/arXiv.html post a paper] on the arXiv preprint server.<br />
* [[Disk quotas]]<br />
<br />
==Suggestions for Future Articles==<br />
Please record any ideas you have for [[Future Articles]] that you would like to see.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Printing_A4_documents&diff=3536Printing A4 documents2012-01-18T06:23:40Z<p>Vojta: Initial creation</p>
<hr />
<div>Many other countries (especially those using the metric system) use<br />
A4-sized paper (210 x 297 mm) instead of regular 8.5 x 11 inch paper.<br />
While it is possible to get our printers to print on A4-sized paper,<br />
availability of such paper is limited (the Math Department does not keep<br />
any on hand; ''do not'' use special paper for photo printing on inkjet<br />
printers, as it may damage the printers).<br />
<br />
Although A4 is close enough to letter size that it's usually good enough<br />
to send the file to the printer and accept a printout with unsymmetrical<br />
margins, at times some parts of the printout may fall off the bottom of<br />
the page. Therefore, it may be necessary to take additional steps.<br />
<br />
This page describes some methods for printing various file types on regular<br />
letter-sized paper.<br />
<br />
=TeX ''dvi'' Files=<br />
<br />
With ''dvi'' files you can run '''dvips''' in such a way that the text<br />
is centered on the page (but not shrunk to fit). This can be done by the<br />
following command:<br />
dvips -P744 -O 3mm,-9mm file.dvi<br />
(Of course, you will want to change the printer name and the file name.)<br />
<br />
=PDF Files=<br />
<br />
Adobe Reader<sup>TM</sup> ('''acroread''') is capable of printing A4<br />
documents to<br />
letter size, by shrinking the image to fit the smaller page height.<br />
To do this (assuming you have a ''pdf'' file), run Adobe Reader:<br />
acroread file.pdf<br />
<br />
When the file is showing up, type Control-P to pop up a print window.<br />
In the area marked "Page Handling" there is a selection for "Page Scaling."<br />
Make sure it is set for "Shrink to printable area."<br />
<br />
==Earnings Statements (Pay Stubs)==<br />
<br />
For some reason, earnings statements (pay stubs) are provided as pdf files<br />
with the A4 paper size. These can be printed using '''acroread''' as above,<br />
but for a little nicer result (less shrinkage) it is better to save it to<br />
a file and use the command<br />
pdftops payadvice.pdf - | lpr<br />
<br />
=PostScript Files ('''.ps''')=<br />
<br />
PostScript files with A4 page size can be printed by first converting them<br />
to ''pdf'' format, and then printing the file using the procedure<br />
outlined above.<br />
<br />
To convert PostScript files to pdf format, use '''ps2pdf''':<br />
ps2pdf file.ps file.pdf<br />
You can then follow the above directions for printing '''file.pdf''' using<br />
Acrobat Reader.<br />
<br />
An alternative method, not guaranteed, is to put the following invocation<br />
near the beginning of the file:<br />
8 -25 translate<br />
or, in the case of '''dvips''' output:<br />
/bop-hook{8 -25 translate} bind def<br />
<br />
=Other File Types=<br />
<br />
Other file types can only be printed by converting them to one of the file<br />
types mentioned above. The method for doing that (if possible) depends<br />
on the file type.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3535TeX (generally)2012-01-18T06:17:04Z<p>Vojta: Updated to indicate that TeX live 2010 is in production</p>
<hr />
<div>=TeX (generally)=<br />
We use the TeX Live distribution of TeX and related files. The version currently in use is the 2010 version, with some later changes (hence it<br />
identifies itself as "2011-dev").<br />
You can browse local documentation on TeX Live and its packages by going to either '''/local/depot/texlive-2010'''<br />
or '''/local/depot/4/texlive-2010''' (depending on where you are logged in). Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
More good starting points for TeX and LaTeX information are:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (links to documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/~vojta/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2|<br />
| [[latex sample ucbletter|latex]]<br />
| Writing a letter or memo in LaTeX<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Calmail_mutt&diff=3534Calmail mutt2012-01-17T06:04:50Z<p>Vojta: /* Advanced Configuration */ Fixed misspelling</p>
<hr />
<div>= Configuring mutt for Calmail =<br />
<br />
'''mutt''' is a powerful command line mail client, capable of using IMAP.<br />
These instructions are not intended as a '''mutt''' tutorial, but for configuring '''mutt''' to use ''IMAP'' with Calmail.<br />
<br />
== .muttrc ==<br />
<br />
The following rudimentary '''.muttrc''' file will allow you to get started. Replace '''LOGIN-NAME''' with your own login name on the Math systems.<br />
<br />
<br />
<br />
<pre><br />
# .muttrc<br />
#<br />
# GLOBAL<br />
#<br />
unset move<br />
set reply_to<br />
set sort=threads<br />
set sort_alias=alias<br />
set sort_aux=last-date-received<br />
set sort_browser=reverse-date<br />
#<br />
# SSL<br />
#<br />
set certificate_file="~/.mutt_certificates"<br />
#<br />
# MAILBOXES<br />
#<br />
mailboxes imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu<br />
mailboxes imap://LOGIN-NAME@mail.math.berkeley.edu/<br />
#<br />
# KEYS BINDINGS<br />
#<br />
bind index <up> previous-entry<br />
bind index <down> next-entry<br />
bind index <delete> delete-message<br />
<br />
bind pager <left> exit<br />
bind pager <right> view-attachments<br />
bind attach <left> exit<br />
bind attach <right> view-attach<br />
<br />
bind pager G bottom # just like vi and less<br />
bind attach <enter> view-attach<br />
bind attach <return> view-attach<br />
bind compose <enter> send-message<br />
bind compose <return> send-message<br />
bind index <enter> display-message<br />
bind index <return> display-message<br />
bind pager <enter> next-line<br />
bind pager <return> next-line<br />
</pre><br />
<br />
= Advanced Configuration =<br />
This section is primarily intended for those who already use '''mutt'''.<br />
In order to use '''mutt''' with Calmail, you'll need to configure some settings in your .muttrc file. Each of the following sections contains commands which should be added to your .muttrc file. For a complete, working example, take a look at the '''muttrc''' file in<br />
'''~steve/.mutt''', which sources several other files in that directory.<br />
<br />
== mutt.ssl ==<br />
<br />
<pre><br />
## SSL<br />
#<br />
set ssl_starttls<br />
set certificate_file="~/.mutt/certificates"<br />
set ssl_usesystemcerts<br />
set entropy_file="/dev/random"<br />
set ssl_use_sslv2<br />
set ssl_use_sslv3<br />
set ssl_use_tlsv1<br />
</pre><br />
<br />
== mutt.imap ==<br />
<br />
<br />
<pre><br />
## IMAP<br />
#<br />
unset imap_authenticators<br />
set imap_delim_chars="/."<br />
set imap_keepalive=600<br />
unset imap_list_subscribed<br />
unset imap_pass<br />
set imap_passive<br />
set imap_peek<br />
set imap_servernoise<br />
set imap_user=""<br />
</pre><br />
<br />
== mutt.mailboxes ==<br />
<pre><br />
## MAILBOXES<br />
#<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/consult<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/daemon<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/admin<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/cfengine<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/cron<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/lscr<br />
mailboxes imap://steve@math.berkeley.edu@calmail.berkeley.edu/ucb-sysadmin<br />
mailboxes imap://sizemore@calmail.berkeley.edu/<br />
</pre><br />
--[[User:SteveSizemore|Steve Sizemore - Unix System Manager]] 20:09, 24 March 2009 (UTC)<br />
Note: mutt will be unable to save your ssl certificate if any directory in the <pre>certificate_file</pre><br />
variable does not exist. Make sure to create this directory or use a file in your home directory.<br />
<br />
== folder, spoolfile, and additional mailboxes ==<br />
<br />
In addition to your INBOX, you can create new folders on the calmail server. Some mailboxes,<br />
such as "Sent", the sent mail folder, are created by default. To get at a mailbox named<br />
MAILBOXNAME, use a URL of the form <br />
<pre><br />
imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu/MAILBOXNAME<br />
</pre><br />
For example, to get mutt to write outgoing messages to your calmail sent mailbox,<br />
you can add<br />
<pre><br />
set copy=yes<br />
set record=imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu/Sent<br />
</pre><br />
to your muttrc.<br />
<br />
To make it easy to browse through your calmail mailboxes, you may wish to<br />
add a line of the form<br />
<pre><br />
set folder=imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu/<br />
</pre><br />
to your muttrc. Following the instructions below will then bring up a menu<br />
containing all of your mailboxes on the calmail server. <br />
<br />
To make mutt open your calmail INBOX by default, add a line of the form<br />
<pre><br />
set spoolfile=imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu/<br />
</pre><br />
<br />
If you change either of the $folder or $spoolfile variables in this fashion,<br />
and you have only one mailbox with incoming mail, then the only point of<br />
including a mailboxes command is to tell mutt where to check for incoming<br />
mail. By default, mutt will check any open mailbox for new mail every 10 minutes<br />
anyway, so the mailboxes command is unnecessary for such users. However, if the<br />
mailboxes command is omitted, then it is probably a good idea to tell mutt <br />
to check for new mail more often, say every 15 seconds, by adding<br />
<pre><br />
set timeout=15<br />
</pre><br />
to your muttrc.<br />
<br />
= Using mutt with the new configuration =<br />
<br />
After you have placed a line of the form<br />
<pre><br />
mailboxes imap://LOGIN-NAME@math.berkeley.edu@calmail.berkeley.edu<br />
</pre><br />
in your .muttrc file you can access your inbox in the following steps:<br />
* Press 'c' to change your mailbox.<br />
* Hit tab to bring up a menu containing your IMAP mailboxes. You may have to hit tab more than once. <br />
* Select your mailbox from the menu, and follow the prompts to login.<br />
<br />
If you also added a line of the form<br />
<pre><br />
mailboxes imap://LOGIN-NAME@mail.math.berkeley.edu<br />
</pre><br />
then you will be able to access your old math mailbox in the same fashion. No new email will arrive here, so you might want to remove this line after you have copied all old mail to the new mailbox.<br />
<br />
These instructions will also work if you changed the $folder variable as above. If you changed the $spoolfile variable as above, then your INBOX will open by default.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3533TeX (generally)2012-01-13T21:15:07Z<p>Vojta: /* Some Samples */ Updated link to sample thesis</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (links to documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/~vojta/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2|<br />
| [[latex sample ucbletter|latex]]<br />
| Writing a letter or memo in LaTeX<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Ucbletter&diff=3530Ucbletter2011-12-30T21:34:34Z<p>Vojta: /* Sample Documents */ moved the sample documents into the wiki itself</p>
<hr />
<div>=Writing Letters in TeX: The '''ucbletter''' Document Class=<br />
The '''ucbletter''' class is a subclass of the standard LaTeX<br />
'''letter''' class that incorporates the University of California letterhead.<br />
<br />
==The Letter Environment==<br />
The '''letter''' environment is used to create a standard business letter.<br />
<br />
The following declarations, shown with examples, give information<br />
about the sender. See the sample files for placement.<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| '''\name{Dr. L. User}'''<br />
| To be used for the return address on the envelope.<br />
|-<br />
| '''\signature{Larry User}'''<br />
| Goes after the closing.<br />
|-<br />
| '''\address{3245 Foo St.\\Gnu York}'''<br />
| Used as the return address in the letter and on the envelope. If not declared, then an institutional standard address is used. If declared, then is suppressed unless '''\letterheadanyway''' is used.<br />
|-<br />
| '''\letterheadanyway'''<br />
| Causes the letterhead to appear even if the '''\address''' macro is used.<br />
|-<br />
| '''\location{Room 374}'''<br />
| Acts as modifier to the standard institutional address.<br />
|-<br />
| '''\telephone{(510) 123-4567}'''<br />
| Put into the letterhead.<br />
|-<br />
| '''\email{dave@hal.jupiter.mil}'''<br />
| Put into the letterhead.<br />
|-<br />
| '''\sigspace=36pt'''<br />
| Amount of space to allow for the signature. The default value is 36 points, which is equivalent to four typewriter line spaces. This is the standard for business letters. I've seen more space used, but not less, and recommend against decreasing it, but requests to change it seem to refer to decreasing it. I should put in a nasty warning if people put in too little space.<br />
|}<br />
In all of the above, the '''\sfcode''' for "." is set to 1000,<br />
so one never needs to say "Mr.\ User".<br />
<br />
The following modify the letterhead; default values are declared at the end<br />
of the file:<br />
\department{DEPARTMENT OF REDUNDANCY DEPARTMENT}<br />
\upperaddress{1234 CHANNING WAY}<br />
\mailcode{9876}<br />
N.B.: '''\department''' erases whatever '''\mailcode''' is in effect,<br />
so the '''\mailcode''' must come ''after'' the '''\department'''.<br />
<br />
In this installation, the letterhead appears as:<br />
--------------------------------- &lt;logo, etc.&gt; ----------------<br />
\department \upperaddress<br />
\location BERKELEY, CALIFORNIA 94720-\mailcode<br />
\email * \telephone<br />
\email *<br />
\address<br />
date<br />
&ast; By default, the '''\email''' appears on the right; this can be<br />
overridden by specifying '''\emailatleft''' or '''\emailatright'''.<br />
<br />
The macro '''\adjustmargins''' can be used to make the margins wider--for<br />
example, '''\adjustmargins{.5in}'''. This affects top and bottom margins<br />
as well, but not the placement of the letterhead. This should be done<br />
before the macro '''\begin{document}'''.<br />
<br />
Another option is to set '''\textwidth''' and '''\textheight''' directly.<br />
Again, this should be done before '''\begin{document}'''; you should also<br />
adjust '''\oddsidemargin''', '''\evensidemargin''', and<br />
'''\indentedwidth''' if you change '''\textwidth''', and<br />
'''\topmargin''', '''\headsep''', and '''\footskip''' if you change<br />
'''\textheight'''. An alternative is to use the '''center''' option on the<br />
'''\documentclass''' line; it will then center the letter automatically.<br />
<br />
The signature will appear on the right, aligned with the address, if one is<br />
given; otherwise it will appear on the left. This can be overridden with<br />
'''\closingatright''' or '''\closingatleft'''.<br />
<br />
The '''\makelabels''' declaration causes mailing labels to be made. It<br />
must go before the '''\begin{document}''' command.<br />
<br />
The '''letter''' environment creates a new letter, starting from page 1.<br />
(The first page is unnumbered.) It has a single argument, giving<br />
the addressee and his/her address, as in:<br />
\begin{letter}{Sam Jones\\Institute for Retarded Study\\Princeton, N.J.}<br />
Local declarations, such as '''\address''', can follow the '''\begin{letter}'''.<br />
For informal letters, the address of the recipient can be left out:<br />
\begin{letter}{}<br />
<br />
Text is begun with the '''\opening''' command, whose argument generates the<br />
salutation, as in<br />
\opening{Dear Henry,}<br />
The body of the letter follows, ended by a '''\closing''' command, as in<br />
\closing{Yours truly,}<br />
The "signature" is provided automatically.<br />
<br />
After the '''\closing''' you can put arbitrary stuff, which is typeset<br />
with '''\parindent=0''' and no page breaking. Commands designed<br />
for use after the closing are:<br />
* '''\cc{Tinker\\Evers\\Chance}''' -- which produces:<br />
cc: Tinker<br />
Evers<br />
Chance<br />
* '''\encl{Foo(2)\\Bar}''' -- which produces:<br />
encl: Foo(2)<br />
Bar<br />
<br />
==The Memo Environment==<br />
The '''ucbletter''' class also implements the UC interdepartmental memo format<br />
as a '''memo''' environment. The use is much the same as for the '''letter'''<br />
environment; we will give here only the differences.<br />
<br />
The '''\begin{memo}''' macro has one argument giving the recipient(s); for example,<br />
\begin{memo}{Sam Jones\\Nicolas Bourbaki}<br />
<br />
To declare the subject of the memo, the '''\begin''' may be followed<br />
''immediately'' by a '''\subject''' or '''\re''' macro:<br />
\re{Our recent discussion}<br />
<br />
The text of the memo follows; the '''\opening''' macro, if present, is<br />
ignored. After the memo, one can invoke the '''\closing''' macro<br />
(whose argument, in this case, is ignored; the macro merely serves the<br />
purpose of preventing further page breaks). The usual '''\cc''' and<br />
'''\encl''' options may follow this; if they are not used, then there is<br />
no point in using the '''\closing''' macro, either. The reason for<br />
keeping the '''\opening''' and '''\closing''' macros is so that a letter<br />
can be converted to a memo merely by changing the name of the environment.<br />
The converse works as well: the '''\subject''' or '''\re''' macros<br />
are ignored in the '''letter''' environment.<br />
<br />
However, there is an option allowing the end of the memo to be treated<br />
as a signed letter. To specify this option, just include '''signed'''<br />
as one of the options in the '''\documentstyle''' line. In that case the<br />
'''\closing''' macro functions just as it does for a letter.<br />
<br />
The format of the top of the memo is:<br />
BERKELEY: \department<br />
\location<br />
\upperaddress<br />
\telephone<br />
\email<br />
<br />
date<br />
<br />
==Sample Documents==<br />
[[latex sample ucbletter|Sample documents]] using the ucbletter class are available.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_ucbletter&diff=3529Latex sample ucbletter2011-12-30T21:31:17Z<p>Vojta: Minor formatting change</p>
<hr />
<div>=Writing a Letter or Memo in LaTeX ('''ucbletter''' document class)=<br />
Here's a quick example of a LaTeX file using the '''ucbletter''' document class.<br />
\documentclass{ucbletter}<br />
\begin{document}<br />
% home address.<br />
% \address{Rusty C. Wright\\4609 Muir Avenue\\San Diego, California 92107}<br />
% \telephone{(619) 225-0918}<br />
% \subject{Donald Duck's Sailor Suit} % used only by the memo option<br />
%<br />
\name{Rusty C. Wright}<br />
\signature{Rusty Wright}<br />
\begin{letter}{recipient's\\address}<br />
\opening{Dear Sir,}<br />
(The body of the letter goes here. Blank lines start new paragraphs.)<br />
\closing{Thank you,}<br />
\end{letter}<br />
\end{document}<br />
<br />
Here's another use of the document class, for producing a memo instead of a letter.<br />
\documentclass[11pt,memo]{ucbletter}<br />
\begin{document}<br />
\from{Rusty C. Wright}<br />
\to{Tom\\Dick\\Harry}<br />
\subject{Donald Duck's Sailor Suit}<br />
% \date{} % if left out, current date will be supplied<br />
\signature{Rusty Wright}<br />
\begin{memo}<br />
Donald's suit is cute.<br />
\end{memo}<br />
\end{document}<br />
<br />
See also the documentation for [[ucbletter|the '''ucbletter''' document class]].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_ucbletter&diff=3528Latex sample ucbletter2011-12-30T21:30:32Z<p>Vojta: Initial creation</p>
<hr />
<div>=Writing a Letter or Memo in LaTeX (''ucbletter'' document class)=<br />
Here's a quick example of a LaTeX file using the ''ucbletter'' document class.<br />
\documentclass{ucbletter}<br />
\begin{document}<br />
% home address.<br />
% \address{Rusty C. Wright\\4609 Muir Avenue\\San Diego, California 92107}<br />
% \telephone{(619) 225-0918}<br />
% \subject{Donald Duck's Sailor Suit} % used only by the memo option<br />
%<br />
\name{Rusty C. Wright}<br />
\signature{Rusty Wright}<br />
\begin{letter}{recipient's\\address}<br />
\opening{Dear Sir,}<br />
(The body of the letter goes here. Blank lines start new paragraphs.)<br />
\closing{Thank you,}<br />
\end{letter}<br />
\end{document}<br />
<br />
Here's another use of the document class, for producing a memo instead of a letter.<br />
\documentclass[11pt,memo]{ucbletter}<br />
\begin{document}<br />
\from{Rusty C. Wright}<br />
\to{Tom\\Dick\\Harry}<br />
\subject{Donald Duck's Sailor Suit}<br />
% \date{} % if left out, current date will be supplied<br />
\signature{Rusty Wright}<br />
\begin{memo}<br />
Donald's suit is cute.<br />
\end{memo}<br />
\end{document}<br />
<br />
See also the documentation for [[ucbletter|the '''ucbletter''' document class]].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3527TeX (generally)2011-12-30T21:21:27Z<p>Vojta: /* Some Samples */ Added link for sample use of the ucbletter class</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (links to documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2|<br />
| [[latex sample ucbletter|latex]]<br />
| Writing a letter or memo in LaTeX<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Ucbthesis_readme_file&diff=3525Ucbthesis readme file2011-10-13T20:01:46Z<p>Vojta: Updated for Version 3.4 (no longer includes documentation)</p>
<hr />
<div>='''ucbthesis''' README file=<br />
<br />
Below is the README file for the '''ucbthesis''' class for LaTeX.<br />
It no longer contains the documentation for '''ucbthesis'''—that has been<br />
split off into a separate file, and is available in one of the locations<br />
/local/depot/4/texlive-2010/doc/latex/ucbthesis/ucbthesis.pdf<br />
or<br />
/local/depot/texlive-2010/doc/latex/ucbthesis/ucbthesis.pdf<br />
(depending on which machine you are using). It is recommended that you print out this file (8 pages) if you will be using '''ucbthesis''' to produce your thesis.<br />
<br />
==README file==<br />
<br />
UCB Thesis Class Version 3.390 (3.4 release candidate 0), 2011/10/13<br />
<br />
Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.<br />
<br />
This is a class file for producing Ph.D. dissertations and masters theses<br />
conforming to the documents "Dissertation Filing Guide" and "Thesis<br />
Filing Guide" produced by the UC Berkeley Graduate Division and available<br />
on the web at http://grad.berkeley.edu/policies/ . This class is<br />
currently based on the May 2010 and February 2011 versions of the<br />
dissertation and thesis documents, respectively.<br />
<br />
This class is a fork of the '''ucthesis''' document class (which is still being<br />
maintained for use with older theses, but which should not be used for<br />
new theses). This document class is based on the standard LaTeX '''memoir'''<br />
class (instead of the '''report''' class, which is used by '''ucthesis''').<br />
<br />
This package may be distributed and/or modified under the conditions of<br />
the LaTeX Project Public License, either version 1.3 of this license or<br />
any later version. The latest version of this license is in<br />
http://www.latex-project.org/lppl.txt and version 1.3 or later is part<br />
of all distributions of LaTeX version 2005/12/01 or later.<br />
<br />
This package has the LPPL maintenance status `maintained'.<br />
<br />
The Current Maintainer of this package is Paul Vojta.<br />
<br />
This package consists of the files README (this file), ucbthesis.cls,<br />
ucbthesis.tex, ucbthesis.pdf, ucbtest.tex, and ucbtest.bib.<br />
<br />
===Installation===<br />
<br />
Put the file ucbthesis.cls in the latex folder of an appropriate texmf<br />
tree, generally in a directory TEXMF/tex/latex/ucbthesis (where TEXMF is<br />
the base of the texmf tree).<br />
<br />
Put the remaining files README, ucbthesis.tex, ucbthesis.pdf, ucbtest.tex,<br />
and ucbtest.bib in a similar directory under the documentation directory,<br />
generally TEXMF/doc/latex/ucbthesis .<br />
<br />
Report bugs/problems/questions to [mailto:vojta@math.berkeley.edu Paul Vojta].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3524TeX (generally)2011-10-13T19:58:33Z<p>Vojta: /* Links */ Update for ucbthesis version 3.4</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (links to documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3523Preparing your master's thesis using LaTeX2011-10-11T20:06:13Z<p>Vojta: /* Preparing the LaTeX File */ Removed outdated information on thin client usage</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by '''ucbthesis'''.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucbthesis}<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network.<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead, and be sure<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the file '''ucbthesis.cls'''.<br />
This file<br />
is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install it as a document class on your home computer, download it<br />
and either put it in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3522Preparing your master's thesis using LaTeX2011-10-11T20:04:08Z<p>Vojta: /* Downloading the Macros to Your Computer */ Update for change to new ucbthesis version</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by '''ucbthesis'''.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucbthesis}<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead, and be sure<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the file '''ucbthesis.cls'''.<br />
This file<br />
is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install it as a document class on your home computer, download it<br />
and either put it in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3521Preparing your Ph.D. dissertation using LaTeX2011-10-11T20:01:31Z<p>Vojta: /* Downloading the Macros to Your Computer */ Update for change to new ucbthesis version</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by ucbthesis.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network.<br />
<br />
If you have already started your thesis using the '''ucbthesisnew''' document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead.<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the file '''ucbthesis.cls'''.<br />
This file<br />
is available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install it as a document class on your home computer, download it<br />
and either put it in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3520Preparing your Ph.D. dissertation using LaTeX2011-10-11T19:55:28Z<p>Vojta: /* Preparing the LaTeX File */ Removed outdated information on thin client usage</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by ucbthesis.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network.<br />
<br />
If you have already started your thesis using the '''ucbthesisnew''' document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead.<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the files '''ucbthesis.cls''',<br />
'''ucbt10.clo''', '''ucbt11.clo''', and '''ucbt12.clo'''. These files<br />
are available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_embedded_metapost&diff=3519Latex sample embedded metapost2011-10-02T06:42:29Z<p>Vojta: /* Notes */ added mention of some limitations</p>
<hr />
<div>=An Example of an Embedded MetaPost Diagram in LaTeX=<br />
<br />
It is now possible to incorporate MetaPost figures in LaTeX documents directly; i.e., without having separate MetaPost input and output files. Here is a sample file that incorporates such a figure.<br />
<br />
\documentclass{minimal}<br />
\usepackage{luamplib}<br />
<br />
\begin{document}<br />
Meta%<br />
\begin{mplibcode}<br />
beginfig(1);<br />
numeric u; u=10pt;<br />
pickup pencircle scaled .4pt;<br />
draw fullcircle scaled 1u;<br />
draw (-.3u,-.1u)..(0,-.3u)..(.3u,-.1u);<br />
pickup pencircle scaled .8pt;<br />
draw (0,0);<br />
draw (-.2u,.2u); draw (.2u,.2u);<br />
endfig;<br />
\end{mplibcode}<br />
Post!<br />
<br />
\end{document}<br />
<br />
If this was stored in a file named '''file.tex''', then one would produce '''file.pdf''' by running the command<br />
lualatex file<br />
<br />
This is a very convenient way to include MetaPost figures in LaTeX files.<br />
<br />
==Notes==<br />
<br />
* This method ''only'' works for producing ''pdf'' files. It does not work in ''dvi'' mode.<br />
* Note that the command to use is '''lualatex'''. One cannot use '''pdflatex''' or '''xelatex''', since those engines do not support embedding of MetaPost figures.<br />
* The commands '''\begin{mplibcode}''' and '''\end{mplibcode}''' ''must'' occur on lines of their own. This is because the '''mplibcode''' environment changes handling of certain characters.<br />
* This method does not currently support '''btex'''...'''etex'''.<br />
* The MetaPost code should not contain blank lines (these will be converted by TeX to '''\par''').<br />
* If you want to have a space before the figure, delete the '''%''' sign just after "Meta". If you want a space after the figure, add "\ " just before "Post" (''not'' at the end of the previous line—see the note just above this one).<br />
<br />
==Do Try This at Home==<br />
If you try this on a machine not on the Math Department network, you will likely find that there is extra space between the characters "Meta" and the figure. This is because of bugs in the file '''luamplib.sty'''. The version of this file on the Math department network has been modified to fix this bug. To fix it for your home machine, copy the file from the math department to your home machine. On the math department, the file '''luamplib.sty''' is available in one of the following locations (depending on which computer is being used):<br />
/local/depot/4/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
/local/depot/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
You should copy this file to the corresponding place on your home machine. This location can be found by running the command<br />
kpsewhich luamplib.sty</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Tex_sample_embedded_metapost&diff=3518Tex sample embedded metapost2011-10-02T06:41:18Z<p>Vojta: /* Notes */ added mention of some limitations</p>
<hr />
<div>=An Example of an Embedded MetaPost Diagram in Plain TeX and AmSTeX=<br />
<br />
It is now possible to incorporate MetaPost figures in TeX and AmSTeX documents directly; i.e., without having separate MetaPost input and output files. Here is a sample file that incorporates such a figure.<br />
<br />
\input luamplib.sty<br />
<br />
Meta%<br />
\mplibcode<br />
beginfig(1);<br />
numeric u; u=10pt;<br />
pickup pencircle scaled .4pt;<br />
draw fullcircle scaled 1u;<br />
draw (-.3u,-.1u)..(0,-.3u)..(.3u,-.1u);<br />
pickup pencircle scaled .8pt;<br />
draw (0,0);<br />
draw (-.2u,.2u); draw (.2u,.2u);<br />
endfig;<br />
\endmplibcode<br />
Post!<br />
<br />
\bye<br />
<br />
If this was stored in a file named '''file.tex''', then one would produce '''file.pdf''' by running the command<br />
luatex file<br />
<br />
This is a very convenient way to include MetaPost figures in TeX and AmSTeX documents.<br />
<br />
==Notes==<br />
<br />
* This method ''only'' works for producing ''pdf'' files. It does not work in ''dvi'' mode.<br />
* Note that the command to use is '''luatex'''. One cannot use '''pdftex''' or '''xetex''', since those engines do not support embedding of MetaPost figures.<br />
* For AmSTeX, add a line '''\input amstex''' ''after'' the initial line '''\input luamplib.sty'''. It will not work to add this line at the beginning of the file, because AmSTeX handles the "@" character differently.<br />
* The commands '''\mplibcode''' and '''\endmplibcode''' ''must'' occur on lines of their own. This is because the '''\mplibcode''' macro changes handling of certain characters.<br />
* This method does not currently support '''btex'''...'''etex'''.<br />
* The MetaPost code should not contain blank lines (these will be converted by TeX to '''\par''').<br />
* If you want to have a space before the figure, delete the '''%''' sign just after "Meta". If you want a space after the figure, add "\ " just before "Post" (''not'' at the end of the previous line—see the note just above this one).<br />
<br />
==Do Try This at Home==<br />
If you try this on a machine not on the Math Department network, you will likely find that there is extra space between the characters "Meta" and the figure. This is because of bugs in the file '''luamplib.sty'''. The version of this file on the Math department network has been modified to fix this bug. To fix it for your home machine, copy the file from the math department to your home machine. On the math department, the file '''luamplib.sty''' is available in one of the following locations (depending on which computer is being used):<br />
/local/depot/4/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
/local/depot/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
You should copy this file to the corresponding place on your home machine. This location can be found by running the command<br />
kpsewhich luamplib.sty</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_embedded_metapost&diff=3517Latex sample embedded metapost2011-09-22T20:04:49Z<p>Vojta: Minor wording change</p>
<hr />
<div>=An Example of an Embedded MetaPost Diagram in LaTeX=<br />
<br />
It is now possible to incorporate MetaPost figures in LaTeX documents directly; i.e., without having separate MetaPost input and output files. Here is a sample file that incorporates such a figure.<br />
<br />
\documentclass{minimal}<br />
\usepackage{luamplib}<br />
<br />
\begin{document}<br />
Meta%<br />
\begin{mplibcode}<br />
beginfig(1);<br />
numeric u; u=10pt;<br />
pickup pencircle scaled .4pt;<br />
draw fullcircle scaled 1u;<br />
draw (-.3u,-.1u)..(0,-.3u)..(.3u,-.1u);<br />
pickup pencircle scaled .8pt;<br />
draw (0,0);<br />
draw (-.2u,.2u); draw (.2u,.2u);<br />
endfig;<br />
\end{mplibcode}<br />
Post!<br />
<br />
\end{document}<br />
<br />
If this was stored in a file named '''file.tex''', then one would produce '''file.pdf''' by running the command<br />
lualatex file<br />
<br />
This is a very convenient way to include MetaPost figures in LaTeX files.<br />
<br />
==Notes==<br />
<br />
* This method ''only'' works for producing ''pdf'' files. It does not work in ''dvi'' mode.<br />
* Note that the command to use is '''lualatex'''. One cannot use '''pdflatex''' or '''xelatex''', since those engines do not support embedding of MetaPost figures.<br />
* The commands '''\begin{mplibcode}''' and '''\end{mplibcode}''' ''must'' occur on lines of their own. This is because the '''mplibcode''' environment changes handling of certain characters.<br />
* If you want to have a space before the figure, delete the '''%''' sign just after "Meta". If you want a space after the figure, add "\ " just before "Post" (''not'' at the end of the previous line—see the note just above this one).<br />
<br />
==Do Try This at Home==<br />
If you try this on a machine not on the Math Department network, you will likely find that there is extra space between the characters "Meta" and the figure. This is because of bugs in the file '''luamplib.sty'''. The version of this file on the Math department network has been modified to fix this bug. To fix it for your home machine, copy the file from the math department to your home machine. On the math department, the file '''luamplib.sty''' is available in one of the following locations (depending on which computer is being used):<br />
/local/depot/4/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
/local/depot/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
You should copy this file to the corresponding place on your home machine. This location can be found by running the command<br />
kpsewhich luamplib.sty</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Tex_sample_embedded_metapost&diff=3516Tex sample embedded metapost2011-09-22T20:03:06Z<p>Vojta: Initial creation</p>
<hr />
<div>=An Example of an Embedded MetaPost Diagram in Plain TeX and AmSTeX=<br />
<br />
It is now possible to incorporate MetaPost figures in TeX and AmSTeX documents directly; i.e., without having separate MetaPost input and output files. Here is a sample file that incorporates such a figure.<br />
<br />
\input luamplib.sty<br />
<br />
Meta%<br />
\mplibcode<br />
beginfig(1);<br />
numeric u; u=10pt;<br />
pickup pencircle scaled .4pt;<br />
draw fullcircle scaled 1u;<br />
draw (-.3u,-.1u)..(0,-.3u)..(.3u,-.1u);<br />
pickup pencircle scaled .8pt;<br />
draw (0,0);<br />
draw (-.2u,.2u); draw (.2u,.2u);<br />
endfig;<br />
\endmplibcode<br />
Post!<br />
<br />
\bye<br />
<br />
If this was stored in a file named '''file.tex''', then one would produce '''file.pdf''' by running the command<br />
luatex file<br />
<br />
This is a very convenient way to include MetaPost figures in TeX and AmSTeX documents.<br />
<br />
==Notes==<br />
<br />
* This method ''only'' works for producing ''pdf'' files. It does not work in ''dvi'' mode.<br />
* Note that the command to use is '''luatex'''. One cannot use '''pdftex''' or '''xetex''', since those engines do not support embedding of MetaPost figures.<br />
* For AmSTeX, add a line '''\input amstex''' ''after'' the initial line '''\input luamplib.sty'''. It will not work to add this line at the beginning of the file, because AmSTeX handles the "@" character differently.<br />
* The commands '''\mplibcode''' and '''\endmplibcode''' ''must'' occur on lines of their own. This is because the '''\mplibcode''' macro changes handling of certain characters.<br />
* If you want to have a space before the figure, delete the '''%''' sign just after "Meta". If you want a space after the figure, add "\ " just before "Post" (''not'' at the end of the previous line—see the note just above this one).<br />
<br />
==Do Try This at Home==<br />
If you try this on a machine not on the Math Department network, you will likely find that there is extra space between the characters "Meta" and the figure. This is because of bugs in the file '''luamplib.sty'''. The version of this file on the Math department network has been modified to fix this bug. To fix it for your home machine, copy the file from the math department to your home machine. On the math department, the file '''luamplib.sty''' is available in one of the following locations (depending on which computer is being used):<br />
/local/depot/4/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
/local/depot/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
You should copy this file to the corresponding place on your home machine. This location can be found by running the command<br />
kpsewhich luamplib.sty</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_embedded_metapost&diff=3515Latex sample embedded metapost2011-09-22T19:55:25Z<p>Vojta: Initial creation</p>
<hr />
<div>=An Example of an Embedded MetaPost Diagram in LaTeX=<br />
<br />
It is now possible to incorporate MetaPost figures in LaTeX documents directly; i.e., without having separate MetaPost input and output files. Here is a sample file that incorporates such a document.<br />
<br />
\documentclass{minimal}<br />
\usepackage{luamplib}<br />
<br />
\begin{document}<br />
Meta%<br />
\begin{mplibcode}<br />
beginfig(1);<br />
numeric u; u=10pt;<br />
pickup pencircle scaled .4pt;<br />
draw fullcircle scaled 1u;<br />
draw (-.3u,-.1u)..(0,-.3u)..(.3u,-.1u);<br />
pickup pencircle scaled .8pt;<br />
draw (0,0);<br />
draw (-.2u,.2u); draw (.2u,.2u);<br />
endfig;<br />
\end{mplibcode}<br />
Post!<br />
<br />
\end{document}<br />
<br />
If this was stored in a file named '''file.tex''', then one would produce '''file.pdf''' by running the command<br />
lualatex file<br />
<br />
This is a very convenient way to include MetaPost figures in LaTeX files.<br />
<br />
==Notes==<br />
<br />
* This method ''only'' works for producing ''pdf'' files. It does not work in ''dvi'' mode.<br />
* Note that the command to use is '''lualatex'''. One cannot use '''pdflatex''' or '''xelatex''', since those engines do not support embedding of MetaPost figures.<br />
* The commands '''\begin{mplibcode}''' and '''\end{mplibcode}''' ''must'' occur on lines of their own. This is because the '''mplibcode''' environment changes handling of certain characters.<br />
* If you want to have a space before the figure, delete the '''%''' sign just after "Meta". If you want a space after the figure, add "\ " just before "Post" (''not'' at the end of the previous line—see the note just above this one).<br />
<br />
==Do Try This at Home==<br />
If you try this on a machine not on the Math Department network, you will likely find that there is extra space between the characters "Meta" and the figure. This is because of bugs in the file '''luamplib.sty'''. The version of this file on the Math department network has been modified to fix this bug. To fix it for your home machine, copy the file from the math department to your home machine. On the math department, the file '''luamplib.sty''' is available in one of the following locations (depending on which computer is being used):<br />
/local/depot/4/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
/local/depot/texlive-2010/tex/luatex/luamplib/luamplib.sty<br />
You should copy this file to the corresponding place on your home machine. This location can be found by running the command<br />
kpsewhich luamplib.sty</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3514TeX (generally)2011-09-22T19:47:16Z<p>Vojta: /* Some Samples */ Added sample embedded MetaPost figure</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
|colspan=2| [[tex sample embedded metapost|tex and amstex]]<br />
| [[latex sample embedded metapost|latex]]<br />
| A sample embedded MetaPost figure<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3513TeX (generally)2011-08-16T06:14:12Z<p>Vojta: /* TeX (generally) */ Added a reference to TUG's list of TeX documentation</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. In particular, see their web page on [http://www.tug.org/interest.html#doc help and documentation]. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3511TeX (generally)2011-03-28T20:30:28Z<p>Vojta: /* TeX (generally) */ Fixed broken links</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://mirrors.ctan.org/info/lshort/english/lshort-letter.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://mirrors.ctan.org/info/symbols/comprehensive/symbols-letter.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3510TeX (generally)2011-03-28T20:22:09Z<p>Vojta: /* Transition to TeX Live 2010 */ Update to indicate that the transition has taken place</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
As of 28 March 2011, we are now using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out in the math department.<br />
<br />
If you are having problems with the new version of TeX, you can go back to the old version by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though, be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3509TeX (generally)2011-03-23T20:36:19Z<p>Vojta: /* Transition to TeX Live 2010 */ update for imminent switchover</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
We will soon switch to using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
The switchover may take place any day now. To check which version of TeX is currently in use, type the command<br />
kpsewhich null.tex<br />
and look for the strings "2007" or "2010".<br />
<br />
You can try out the new TeX right now, by typing the following line, once per terminal window:<br />
set path = (/local/depot/4/texlive-2010/bin $path)<br />
If you are using a thin client (or using the thin client server), then this should be changed to:<br />
set path = (/local/depot/texlive-2010/bin $path)<br />
(The above lines assume that you have not changed which shell program you use when logging in.)<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
If the switchover to 2010 has taken place already and you are having problems with it, you can go back to the old version of TeX by typing the command<br />
set path = (/local/depot/4/texlive-2007/bin $path)<br />
If you are using a thin client (or using the thin client server), then type the following instead:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
If this is the case, though be sure to report the problem, since problems cannot be fixed if we don't know about them.<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3505TeX (generally)2011-03-07T20:49:40Z<p>Vojta: /* Transition to TeX Live 2010 */ Make transition time tentative</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
We will soon switch to using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
This transition is tentatively scheduled to take place over Spring Break.<br />
<br />
You can try out the new TeX right now, by typing the following line, once per terminal window:<br />
set path = (/local/depot/4/texlive-2010/bin $path)<br />
If you are using a thin client (or using the thin client server), then this should be changed to:<br />
set path = (/local/depot/texlive-2010/bin $path)<br />
(The above lines assume that you have not changed which shell program you use when logging in.)<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3504TeX (generally)2011-03-02T08:29:56Z<p>Vojta: /* Transition to TeX Live 2010 */ Added email for questions/concerns</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
Over Spring Break we will switch to using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
You can try out the new TeX right now, by typing the following line, once per terminal window:<br />
set path = (/local/depot/4/texlive-2010/bin $path)<br />
If you are using a thin client (or using the thin client server), then this should be changed to:<br />
set path = (/local/depot/texlive-2010/bin $path)<br />
(The above lines assume that you have not changed which shell program you use when logging in.)<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out.<br />
<br />
Please send any questions or concerns to [mailto:vojta@math.berkeley.edu Paul Vojta].<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3503TeX (generally)2011-03-01T06:15:58Z<p>Vojta: Minor typographical changes</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live—see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e]—an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
Over Spring Break we will switch to using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
You can try out the new TeX right now, by typing the following line, once per terminal window:<br />
set path = (/local/depot/4/texlive-2010/bin $path)<br />
If you are using a thin client (or using the thin client server), then this should be changed to:<br />
set path = (/local/depot/texlive-2010/bin $path)<br />
(The above lines assume that you have not changed which shell program you use when logging in.)<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out.<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3502TeX (generally)2011-03-01T06:06:50Z<p>Vojta: Added information on transition to TeX Live 2010</p>
<hr />
<div>=TeX (generally)=<br />
We are currently using the 2007 TeX Live distribution of TeX and<br />
related files. Soon we will transition to the 2010 version of TeX live---see the section below.<br />
<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e] -- an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Transition to TeX Live 2010==<br />
Over Spring Break we will switch to using the 2010 version of TeX Live. This version incorporates:<br />
* fuller support for Unicode characters,<br />
* preliminary support for the STIX font set developed by the AMS in collaboration with other major publishers,<br />
* a newer version of LuaTeX (which combines a scripting language with TeX),<br />
* numerous other updates to the standard programs.<br />
<br />
You can try out the new TeX right now, by typing the following line, once per terminal window:<br />
set path = (/local/depot/4/texlive-2010/bin $path)<br />
If you are using a thin client (or using the thin client server), then this should be changed to:<br />
set path = (/local/depot/texlive-2010/bin $path)<br />
(The above lines assume that you have not changed which shell program you use when logging in.)<br />
<br />
Solaris machines will not be able to run TeX Live 2010, because support for Solaris is being phased out.<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Ucbthesis_readme_file&diff=3428Ucbthesis readme file2010-10-23T00:46:20Z<p>Vojta: Initial creation</p>
<hr />
<div>='''ucbthesis''' README file=<br />
This is the README file for the '''ucbthesis''' class for LaTeX. It<br />
corresponds to version 3.3 of the '''ucbthesis''' class (3 September 2010).<br />
This README is public domain.<br />
<br />
Version 3.3 includes updates needed to conform to changes in formatting<br />
requirements implemented in late 2009 and early 2010. It also changed<br />
the name from '''ucthesis''' to '''ucbthesis''' (to reflect the fact that<br />
this document class is actually specific to Berkeley), and changed the<br />
maintainer to Paul Vojta.<br />
<br />
The only change from 3.1 to 3.2 is to clarify the license as LPPL, per<br />
Daniel Gildea. 3.2 was prepared by Karl Berry.<br />
Version 3.1 was prepared by Daniel Gildea.<br />
<br />
NOTE: v3.0 is the first LaTeX2e version of '''ucthesis'''. It is now a<br />
class that runs in native LaTeX2e mode. It is functionally identical<br />
to '''ucthesis.sty''' v2.7 released on 30 October 1994 by Ethan V. Munson.<br />
Other than changes for compatibility (mostly having to do with font<br />
selection), and option selection, very little modification has been<br />
done to the style. As a result, there are probably cleaner ways to<br />
implement a number of features. That will have to wait for the next<br />
release. (BBF 10/31/94)<br />
<br />
==Using the '''ucbthesis''' class==<br />
<br />
===Sample File===<br />
There is a sample dissertation (by the fictitious, but very<br />
irritating, Perry H Disdainful) in the file '''ucbtest.tex'''. It also uses<br />
'''ucbtest.bib''' as its bibliography database (though the contents of the<br />
database are not important). Mostly this is useful as an example of<br />
how to produce the front matter. If you don't understand LaTeX at<br />
all, this file might help you get started, but, since you're going to<br />
be writing a 100+ page document, you should invest the $20 in a copy<br />
of the LaTeX manual (by Leslie Lamport the original author of LaTeX).<br />
This has recently been updated for LaTeX2e.<br />
<br />
''The LaTeX Companion'', by Goossens, Mittelbach, and Samarin (who have been<br />
involved in developing and supporting the new version of LaTeX) is also quite<br />
good. It gives a lot of useful information if you are going to be writing<br />
or modifying classes, and gives a lot of additional information on commonly<br />
available style packages. It's about $35.<br />
<br />
===Choosing the '''ucbthesis''' class===<br />
To use the '''ucbthesis''' class, make sure that the ucbthesis.cls file is on<br />
your '''TEXINPUTS''' search path and use the following command at the start<br />
of your input file:<br />
\documentclass{ucbthesis}<br />
<br />
==What the '''ucbthesis''' class does==<br />
The '''ucbthesis''' class is a port of the '''ucbthesis''' style version 2.7<br />
(the final 2.09 release) to LaTeX2e. The '''ucbthesis''' style is a modified<br />
version of the standard LaTeX '''report''' style that is accepted for use<br />
with University of California PhD dissertations and Master's theses.<br />
The available commands are almost identical to those of the '''report''' style,<br />
so your best starting point for documentation is the LaTeX manual written<br />
by Leslie Lamport.<br />
<br />
The key features of the class are:<br />
# The primary modification to the '''report''' style is the use of pseudo-double-spacing for master's theses, since the UC system's rules are still designed for typewriters. This is achieved by increasing the '''\baselinestretch''' parameter to 1.37. The '''\baselinestretch''' is returned to a single-spaced value of 1.00 for elements like tables, captions, and footnotes and for all displayed text ('''quote''', '''quotation''', and '''verse''' environments). Unfortunately, this is done with a macro called '''\ssp''' which resets the font size to '''\normalsize'''. In LaTeX 2.09 this seems to be unavoidable, but it makes it very hard to create tables in different font sizes.<br />
# Margins are 1 inch on all sides.<br />
# Uses 12-point type by default. You can use the 10pt or 11pt options for those sizes, but these should only be used for draft copies of the thesis, since 12-point type is required for submission.<br />
# Page numbers are in the top right corner for all pages.<br />
# Complete, correct front matter for UC Berkeley dissertations can be generated. If you are not a Berkeley student, you should make sure that the front matter is OK with your school.<br />
<br />
===Options===<br />
There are seven primary options:<br />
<br />
The '''masters''' option sets up the document to be a master's thesis instead<br />
of a Ph.D. dissertation. This involves changing the default spacing to<br />
double spacing and altering the formatting of the front matter.<br />
<br />
The '''phd''' option turns off the '''masters''' option. This is selected by<br />
default, but is included only for symmetry.<br />
<br />
The '''draft''' style uses single-spacing throughout the document, and <br />
suppresses warnings that would otherwise be generated by use of the 10pt<br />
and 11pt options.<br />
<br />
The '''final''' style uses the correct pseudo-double-spacing for master's theses,<br />
or single spacing for doctoral dissertations. This option is the default<br />
and is redundant, but is included for symmetry.<br />
<br />
The '''10pt''', '''11pt''', and '''12pt''' styles set the default font size to the<br />
obvious value. The '''12pt''' option is the default and thus is redundant,<br />
but is safe to use anyway. If the 10pt or 11pt options are used, a warning<br />
message is generated (unless draft mode is in effect).<br />
<br />
The options are selected on the '''\documentclass''' line, e.g.:<br />
\documentclass[10pt,draft]{ucbthesis}<br />
<br />
===Page Headers===<br />
If you want to use page headers or footers other than the default<br />
ones, you should try using '''headerfooter.sty''' or '''fancyheadings.sty'''.<br />
The '''myheadings''' pagestyle doesn't work well and there is no workaround.<br />
The '''headerfooter''' and '''fancyheadings''' styles are widely distributed,<br />
well documented, and easy to use.<br />
<br />
==Front matter==<br />
The other key service provided by this class is that it generates<br />
correct front matter (title page, approval page, abstract, etc.) with<br />
a failrly simple set of commands. This facility could be a little<br />
easier, but compared to an earlier state of affairs, it's pretty<br />
slick. The format of the front matter is specified quite explicitly<br />
in the documents "Instructions for Formatting & Filing Your Dissertation"<br />
and "Instructions for Formatting & Filing Your Thesis" distributed by the<br />
UC Berkeley Graduate Division. These documents are available by following<br />
the relevant links on the web page http://grad.berkeley.edu/policies/ . <br />
The current version of the class is based on the 2010 version of these<br />
documents.<br />
<br />
A complete example of the use of the front matter commands can be<br />
found in the sample dissertation distributed with the class.<br />
<br />
===Declarations===<br />
To use the front matter macros and environments, you must first declare a number of text strings:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| '''\title'''<br />
| Dissertation title<br />
|-<br />
| '''\author'''<br />
| Your name as registered with UC (usually with full middle name)<br />
|-<br />
| '''\degreeyear'''<br />
| Year your dissertation will be granted<br />
|-<br />
| '''\degreesemester'''<br />
| Semester (or term) your dissertation will be granted<br />
|-<br />
| '''\degree'''<br />
| The title of your degree (e.g. Doctor of Philosophy)<br />
|-<br />
| '''\chair'''<br />
| Title and name of your committee chair (e.g. "Professor Michael A. Harrison")<br />
|-<br />
| '''\othermembers'''<br />
| The names of the other members of your committee separated by linebreaks (e.g. "Professor Susan L. Graham\\Professor Jim Pitman")<br />
|-<br />
| '''\numberofmembers'''<br />
| The number of members on your committee. This defaults to 3 (and thus is optional) and can be any value between 3 and 6. It affects the number of lines on the approval page and the space between them.<br />
|-<br />
| '''\prevdegrees'''<br />
| This option is no longer supported, since previous degrees are no longer listed on the title page.<br />
|-<br />
| '''\field'''<br />
| The official title of your field. This is usually your department's name, but at Berkeley, most Engineering degrees have a more complex name. Be sure to check the guidelines for any special twists on the name of your field.<br />
|-<br />
| '''\campus'''<br />
| The name of your UC campus. This should be capitalized (e.g. Berkeley).<br />
|}<br />
<br />
===Title, Approval, and Copyright pages===<br />
The title, approval, and copyright pages have extremely rigid formats<br />
that allow them to be generated automatically once the above<br />
declarations have been made. To generate them, invoke the macros<br />
\maketitle<br />
\approvalpage<br />
\copyrightpage<br />
You should probably invoke them in that order, because that's the<br />
order required by the guidelines.<br />
<br />
Note that, for Ph.D. dissertations (but not master's theses) the approval <br />
page should not be submitted as part of the dissertation itself. You<br />
should include the macro once, just to print that page on paper, and then<br />
remove the macro for the final version. A warning will be issued<br />
if this macro is used, unless the '''draft''' or '''masters''' options are in<br />
effect. (Ignore the warning when creating the page for printing.)<br />
<br />
===Abstract Environment===<br />
Because you have to provide the text of the abstract, only the title<br />
can be generated automatically. So, there is an '''abstract''' environment.<br />
It generates the title and numbers the pages in arabic numerals and<br />
makes sure that it starts on new page.<br />
<br />
As of December 2009, the abstract is no longer signed, so the<br />
'''\abstractsignature''' macro present in earlier versions of the<br />
'''ucbthesis''' class is no longer defined.<br />
<br />
===Other Front Matter===<br />
The remaining front matter (dedication, table of contents, lists of<br />
figures and tables, acknowledgements) ''must'' be put inside the<br />
'''frontmatter''' environment, which ensures that page-numbering is<br />
handled properly. Within this frontmatter environment, you put the<br />
environments and commands for the rest of the front matter. There are<br />
environments for "dedication" and "acknowledgements" and the standard<br />
LaTeX commands for producing '''\tableofcontents''', '''\listoffigures''', and<br />
'''\listoftables'''. <br />
<br />
The standard LaTeX commands are well documented in the LaTeX manual.<br />
You will probably have to hand edit the '''.lof''' (list of figures) and<br />
'''.lot''' (list of tables) files to make verbose captions more suitable for<br />
this front matter. Once you do this, remember to use the '''\nofiles'''<br />
macro to keep them from getting overwritten.<br />
<br />
The '''acknowledgements''' and '''dedication''' environments make their contents<br />
start on a new page. The '''acknowledgements''' environment also puts the<br />
word "Acknowledgements" in large, bold, centered text at the top of<br />
the page. For formatting the dedication page, you're on your own.<br />
After all, the dedication is a kind of poetry and there's no<br />
predicting the right way to format poetry.<br />
<br />
==Other commands not found in the standard report style==<br />
The '''smalltabular''' and '''smalltabular*''' environments are equivalent to<br />
the '''tabular''' and '''tabular*''' environments, except that they use the<br />
'''\small''' font. The '''scriptsizetabular''' and '''scriptsizetabular*'''<br />
environments use the '''\scriptsize''' font.<br />
<br />
==Installing the '''ucbthesis''' class==<br />
To install the '''ucbthesis''' class, you need to install four files:<br />
ucbthesis.cls<br />
ucbt10.clo<br />
ucbt11.clo<br />
ucbt12.clo<br />
in your LaTeX class file repository.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3427Preparing your master's thesis using LaTeX2010-10-22T23:59:18Z<p>Vojta: Change ucthesisnew to ucbthesis</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by '''ucbthesis'''.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucbthesis}<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead, and be sure<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the files '''ucbthesis.cls''',<br />
'''ucbt10.clo''', '''ucbt11.clo''', and '''ucbt12.clo'''. These files<br />
are available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3426Preparing your Ph.D. dissertation using LaTeX2010-10-22T23:50:27Z<p>Vojta: Change ucthesisnew to ucbthesis</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucbthesis''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It does not comply with the current requirements, and is being replaced by ucbthesis.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucbthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucbthesis''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucbthesisnew''' document class, you only need to change the '''\documentclass''' line to use '''ucbthesis''' instead.<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucbthesis''' instead, as follows:<br />
* Use '''\documentclass{ucbthesis}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucbthesis''' package consists of the files '''ucbthesis.cls''',<br />
'''ucbt10.clo''', '''ucbt11.clo''', and '''ucbt12.clo'''. These files<br />
are available on the web at the address http://math.berkeley.edu/~vojta/ucbthesis/ .<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3425TeX (generally)2010-10-22T23:35:36Z<p>Vojta: /* Links */ Change ucthesisnew to ucbthesis</p>
<hr />
<div>=TeX (generally)=<br />
As of October 2007 we are using the 2007 TeX Live distribution of TeX and<br />
related files.<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e] -- an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucbthesis''' document class<br />
** [[ucbthesis readme file]] (documentation)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Submitting_your_thesis_electronically&diff=3418Submitting your thesis electronically2010-08-12T05:10:50Z<p>Vojta: deprecated</p>
<hr />
<div>=Submitting Your Thesis Electronically=<br />
This wiki page is obsolete.<br />
<br />
Instead, please see one of the following pages (as appropriate):<br />
* [[Preparing your Ph.D. dissertation using LaTeX]]<br />
* [[Preparing your master's thesis using LaTeX]]</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Latex_sample_metapost&diff=3413Latex sample metapost2010-06-02T06:31:00Z<p>Vojta: Updated to use "filenametemplate"</p>
<hr />
<div>=A Quick MetaPost Example=<br />
This document gives a quick example of how to use MetaPost for graphics in LaTeX.<br />
<br />
==The Files==<br />
First of all, here are the contents of '''file.tex''':<br />
\documentclass{article}<br />
\usepackage{graphicx}<br />
\begin{document}<br />
Hi there: \includegraphics{file1.mps}<br />
\end{document}<br />
<br />
And, here is the MetaPost file '''file.mp'''. It contains an arrow and<br />
the letter "A" just above the middle of the arrow.<br />
filenametemplate "%j%c.mps";<br />
beginfig(1);<br />
<br />
z1=(0,0);<br />
z2=(10mm,10mm);<br />
<br />
drawarrow(z1--z2);<br />
label.ulft(btex $A$ etex, .5[z1,z2]);<br />
<br />
endfig;<br />
<br />
bye<br />
<br />
==Creating and Viewing ''dvi'' Files==<br />
<br />
To create a ''dvi'' file, use the following commands. You don't need<br />
to run '''mpost''' a second time if you just update the ''tex'' file.<br />
mpost file<br />
latex file<br />
<br />
To view the ''dvi'' file, use the commands:<br />
dvips -o file.ps file<br />
gv file.ps<br />
<br />
===Notes:===<br />
* The file '''file1.mps''' produced by '''mpost''' is not really a PostScript file; therefore you cannot use '''gv''' to view it.<br />
* For the same reason, '''xdvi''' will not show '''file.dvi'''.<br />
<br />
==Creating ''pdf'' Files==<br />
<br />
If you want to create a ''pdf'' file, just use the following commands:<br />
mpost file<br />
pdflatex file<br />
<br />
Again, it is not necessary to run '''mpost''' if it has already been run since<br />
'''file.mp''' was last updated.</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3412Preparing your master's thesis using LaTeX2010-05-26T23:36:20Z<p>Vojta: /* Downloading the Macros to Your Computer */ macros are now posted on the web</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucthesisnew}<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, be sure to get the new version of the document class, and<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
are available on the web at the address http://math.berkeley.edu/~vojta/ucthesisnew/ .<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3411Preparing your Ph.D. dissertation using LaTeX2010-05-26T23:35:21Z<p>Vojta: /* Downloading the Macros to Your Computer */ macros are now posted on the web</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, the only changes you need to know about for Spring 2010 are:<br />
* You are required to use 12-point type (or larger) for your main font. Therefore, do not use the '''10pt''' or '''11pt''' class options for the final version of your thesis.<br />
* Be sure that you have the current version of '''ucthesisnew''' (dated 2010/04/27 or later). Earlier versions did not ensure that the paper size of the pdf file was correctly set to 8.5 x 11 inches (many TeX systems are incorrectly set up to use A4 paper size by default).<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
are available on the web at the address http://math.berkeley.edu/~vojta/ucthesisnew/ .<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3410Preparing your master's thesis using LaTeX2010-05-03T07:38:44Z<p>Vojta: /* Preparing the LaTeX File */ Replaced paragraph for current users of ucthesisnew</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucthesisnew}<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, be sure to get the new version of the document class, and<br />
to use the '''masters''' option. The Graduate Division will not accept<br />
a master's thesis that refers to itself as a "dissertation".<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
can be found in the directory indicated below:<br />
<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| Linux machines:<br />
| '''/local/depot/4/texlive-2007/tex/latex/local'''<br />
|-<br />
| Solaris machines:<br />
| '''/local/sol/9/depot/texlive-2007/tex/latex/local'''<br />
|}<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_master%27s_thesis_using_LaTeX&diff=3409Preparing your master's thesis using LaTeX2010-05-03T03:34:24Z<p>Vojta: Initial creation</p>
<hr />
<div>=Preparing Your Master's Thesis Using LaTeX=<br />
<br />
This page describes the process for preparing a master's thesis using LaTeX.<br />
Note that, unlike Ph.D. dissertations, master's theses must be submitted on<br />
paper. In the Math Department, the recommended way of preparing this<br />
manuscript is with LaTeX, using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a master's thesis. For a doctoral dissertation, go to the page [[Preparing your Ph.D. dissertation using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link "Thesis Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-masters.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ ,<br />
and adapt them to your situation. You should also use the '''masters'''<br />
class option by changing the first line of the file '''thesis.tex''' to read<br />
\documentclass[masters]{ucthesisnew}<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, the only change you need to know about for Spring 2010 is that<br />
you are required to use 12-point type (or larger) for your main font.<br />
Therefore, do not use the '''10pt''' or '''11pt''' class options for<br />
the final version of your thesis.<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass[masters]{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
can be found in the directory indicated below:<br />
<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| Linux machines:<br />
| '''/local/depot/4/texlive-2007/tex/latex/local'''<br />
|-<br />
| Solaris machines:<br />
| '''/local/sol/9/depot/texlive-2007/tex/latex/local'''<br />
|}<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
To create the final version of your thesis, do the following:<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Thesis Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3408Preparing your Ph.D. dissertation using LaTeX2010-05-03T03:25:32Z<p>Vojta: Minor formatting changes</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-phd.html .<br />
<br />
=Preparing the LaTeX File=<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, the only changes you need to know about for Spring 2010 are:<br />
* You are required to use 12-point type (or larger) for your main font. Therefore, do not use the '''10pt''' or '''11pt''' class options for the final version of your thesis.<br />
* Be sure that you have the current version of '''ucthesisnew''' (dated 2010/04/27 or later). Earlier versions did not ensure that the paper size of the pdf file was correctly set to 8.5 x 11 inches (many TeX systems are incorrectly set up to use A4 paper size by default).<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
==Diagrams==<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
=Downloading the Macros to Your Computer=<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
can be found in the directory indicated below:<br />
<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| Linux machines:<br />
| '''/local/depot/4/texlive-2007/tex/latex/local'''<br />
|-<br />
| Solaris machines:<br />
| '''/local/sol/9/depot/texlive-2007/tex/latex/local'''<br />
|}<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
=Steps for Final Submission=<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=Preparing_your_Ph.D._dissertation_using_LaTeX&diff=3407Preparing your Ph.D. dissertation using LaTeX2010-05-03T03:23:03Z<p>Vojta: Initial creation</p>
<hr />
<div>=Preparing Your Ph.D. Dissertation Using LaTeX=<br />
<br />
==Introduction==<br />
<br />
The Graduate Division now requires that Ph.D. dissertations be submitted<br />
electronically as ''pdf'' files. In the Math Department, the<br />
recommended way of preparing a suitable pdf file is with LaTeX,<br />
using the '''ucthesisnew''' document class.<br />
<br />
Take careful note of the following:<br />
* You should not use the '''ucthesis''' document class included in most TeX distributions. It has not been updated for the current requirements.<br />
* Refer to this page only if you are writing a doctoral dissertation. For a master's thesis, go to the page [[Preparing your master's thesis using LaTeX]].<br />
<br />
Graduate Division policies can be found on the web by going to the web page<br />
http://grad.berkeley.edu/policies and following the link<br />
"Dissertation Filing Guide".<br />
<br />
In case the wiki is down, this page is also available at http://math.berkeley.edu/~vojta/tex/ucthesis-phd.html .<br />
<br />
==Preparing the LaTeX File==<br />
<br />
To prepare the LaTeX file, copy the files from the sample thesis located at<br />
http://math.berkeley.edu/~vojta/thesis/ , and adapt them to your situation.<br />
<br />
The document class '''ucthesisnew''' is already installed on our computer<br />
network. However, if you are using a thin client, then you will need<br />
to type the following command, just once, in each terminal window in which<br />
you plan to use TeX:<br />
set path = (/local/depot/texlive-2007/bin $path)<br />
<br />
If you have already started your thesis using the '''ucthesisnew'''<br />
document class, the only changes you need to know about for Spring 2010 are:<br />
* You are required to use 12-point type (or larger) for your main font. Therefore, do not use the '''10pt''' or '''11pt''' class options for the final version of your thesis.<br />
* Be sure that you have the current version of '''ucthesisnew''' (dated 2010/04/27 or later). Earlier versions did not ensure that the paper size of the pdf file was correctly set to 8.5 x 11 inches (many TeX systems are incorrectly set up to use A4 paper size by default).<br />
<br />
If you have been using the old '''ucthesis''' document class, then you should<br />
update your thesis to use '''ucthesisnew''' instead, as follows:<br />
* Use '''\documentclass{ucthesisnew}''' instead of '''\documentclass{ucthesis}'''<br />
* Do not use the '''\abstractsignature''' macro in your abstract<br />
* The '''\prevdegrees''' macro will be ignored<br />
<br />
===Diagrams===<br />
<br />
Keep in mind that when TeX produces ''pdf'' output, it handles graphics<br />
differently than it does when producing ''dvi'' output. Generally,<br />
for ''pdf'' output, graphics need to be provided in ''pdf''<br />
format. An exception is that MetaPost output can be handled directly.<br />
<br />
Therefore, if you normally use '''latex''' for producing drafts, sometime<br />
well in advance of the deadline you should make sure that you have no<br />
problems running '''pdflatex''' instead.<br />
<br />
==Downloading the Macros to Your Computer==<br />
<br />
The '''ucthesisnew''' package consists of the files '''ucthesisnew.cls''',<br />
'''uctn10.clo''', '''uctn11.clo''', and '''uctn12.clo'''. These files<br />
can be found in the directory indicated below:<br />
<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
| Linux machines:<br />
| '''/local/depot/4/texlive-2007/tex/latex/local'''<br />
|-<br />
| Solaris machines:<br />
| '''/local/sol/9/depot/texlive-2007/tex/latex/local'''<br />
|}<br />
<br />
To install them as a document class on your home computer, download them<br />
and either put them in the same directory as your thesis files,<br />
or follow the instructions for your TeX installation on installing new<br />
LaTeX document classes.<br />
<br />
==Steps for Final Submission==<br />
<br />
First, print the approval page. To do this, add a macro '''\approvalpage'''<br />
just after '''\maketitle''' in your LaTeX file, and run TeX as usual. You can<br />
then print just that page from '''xdvi''', '''evince''', or<br />
Adobe Reader ('''acroread''') by going to that page and selecting the<br />
appropriate option on the "print" popup.<br />
<br />
To create the final ''pdf'' version, do the following:<br />
* Make sure that you are not invoking the '''\approvalpage''' macro.<br />
* Make sure that you are not using the '''twoside''' option (page numbers are not allowed in the upper left-hand corner of a page).<br />
* Instead of typing '''latex''' to create a ''dvi'' file, type '''pdflatex''' (or '''xelatex''') instead. If you have just run '''latex''' several times to create a ''dvi'' file, then you need to type '''pdflatex''' only once; otherwise you should run '''pdflatex''' and '''bibtex''' in the same sequence as you would run '''latex''' and '''bibtex''', respectively, when creating a ''dvi'' file.<br />
* Check the thesis by running '''acroread''' or '''evince''' to view the resulting ''pdf'' file.<br />
* For actual submission, see the instructions provided by the Graduate Division: go to the web page http://grad.berkeley.edu/policies and follow the link "Dissertation Filing Guide".<br />
<br />
You will also need to file the Dissertation Release Form; that form is<br />
not covered by this web page.<br />
<br />
If you have any LaTeX-related questions about this process, email Paul Vojta at<br />
[mailto:vojta@math.berkeley.edu vojta@math.berkeley.edu].</div>Vojtahttps://math.berkeley.edu/computing/wiki/index.php?title=TeX_(generally)&diff=3406TeX (generally)2010-05-03T03:19:59Z<p>Vojta: /* Links */ Updated with information on ucthesisnew for Spring 2010</p>
<hr />
<div>=TeX (generally)=<br />
As of October 2007 we are using the 2007 TeX Live distribution of TeX and<br />
related files.<br />
You can browse local documentation on TeX Live and its packages by going to<br />
http://math.berkeley.edu/~vojta/tex-doc . Files of particular interest<br />
to beginners include:<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/lshort-english/lshort.pdf The Not So Short Introduction to LaTeX2e] -- an introduction to the LaTeX language<br />
* [http://www.math.uiuc.edu/~hildebr/tex/ LaTeX tips]<br />
* [http://math.berkeley.edu/~vojta/tex-doc/english/comprehensive/symbols-a4.pdf Table of Mathematical Symbols]<br />
<br />
You can also see<br />
[http://math.berkeley.edu/computing/help/TeX our old TeX help]<br />
instead, but be warned that many of these documents refer to LaTeX 2.09<br />
instead of LaTeX 2e, which is installed here and which has been the<br />
"modern" version of LaTeX since 1993.<br />
<br />
More good starting points for TeX and LaTeX information:<br />
* [http://www.tug.org/ TeX Users Group Home Page] The best online information about TeX. It indexes useful information if you don't know what TeX is, if you want to learn TeX and/or LaTeX, or if you've been using them for years. They also run one of the main sites of the [http://ctan.tug.org/ Comprehensive TeX Archive Network].<br />
* [http://www.tug.org/texlive/ TeX Live Home Page].<br />
* [http://www.latex-project.org/ LaTeX home page].<br />
* [http://www-cs-faculty.stanford.edu/~knuth/ Donald E. Knuth's home page].<br />
* [http://mirror.ctan.org/info/Free_Math_Font_Survey/en/survey.pdf Free math fonts for TeX and LaTeX]<br />
<br />
Some [http://en.wikibooks.org/wiki/Main_Page WikiBooks] are also available for TeX:<br />
* [http://en.wikibooks.org/wiki/LaTeX LaTeX]<br />
* [http://en.wikibooks.org/wiki/TeX TeX]<br />
* [http://en.wikibooks.org/wiki/TeX_for_the_Impatient TeX for the Impatient]<br />
<br />
==Links==<br />
Links to special topics on TeX include:<br />
<br />
* Writing your thesis in TeX: the '''ucthesisnew''' document class<br />
** [[ucthesis readme file]] (documentation; out of date)<br />
** a [http://math.berkeley.edu/~vojta/thesis/ sample thesis]<br />
** [[Preparing your Ph.D. dissertation using LaTeX]]<br />
** [[Preparing your master's thesis using LaTeX]]<br />
* Writing letters in TeX: [[ucbletter|the '''ucbletter''' document class]]<br />
* [[pdftex|Using TeX to create ''pdf'' files]]<br />
* [[Spell-checking TeX files]]<br />
* [[Local TeX macro packages|Installing local macro packages (e.g.,<br />
'''ucbthesis''' or '''ucbletter''') on your machine at home]]<br />
* [[Adding Fonts to TeX]] and [[Adding Macro Packages to TeX]] (on the math department network)<br />
* [[Adding Fonts to XeTeX]]<br />
* [[Converting From LaTeX 2.09]] to LaTeX 2e<br />
<br />
==Some Samples==<br />
Some TeX samples are available:<br />
{|border="1" cellpadding="5" cellspacing="0"<br />
|colspan=2|<br />
| [http://math.berkeley.edu/computing/help/TeX/samples/thesis/ latex]<br />
| Writing a thesis in LaTeX (same as the above link)<br />
|-<br />
|colspan=2| [[tex sample metapost|tex and amstex]]<br />
| [[latex sample metapost|latex]]<br />
| A sample MetaPost document, with a label<br />
|-<br />
| [[tex sample rsfs|tex]]<br />
| [[amstex sample rsfs|amstex]]<br />
| [[latex sample rsfs|latex]]<br />
| Using Ralph Smith's Formal Script (rsfs) fonts for nicer script characters<br />
|-<br />
|<br />
| [[amstex sample cyrillic|amstex]]<br />
| [[latex sample cyrillic|latex]]<br />
| Using Cyrillic text<br />
|-<br />
|<br />
| [[amstex sample sha|amstex]]<br />
| [[latex sample sha|latex]]<br />
| Using Cyrillic symbols<br />
|-<br />
|colspan=2|<br />
| [[latex sample romanian|latex]]<br />
| Using Romanian characters<br />
|-<br />
|<br />
| [[amstex sample bold greek|amstex]]<br />
| [[latex sample bold greek|latex]]<br />
| Bold Greek letters<br />
|}</div>Vojta