[Assorted-commits] SF.net SVN: assorted: [189] tex-commons
Brought to you by:
yangzhang
From: <yan...@us...> - 2007-12-06 19:19:26
|
Revision: 189 http://assorted.svn.sourceforge.net/assorted/?rev=189&view=rev Author: yangzhang Date: 2007-12-06 11:19:25 -0800 (Thu, 06 Dec 2007) Log Message: ----------- added tex-commons (for thesis) Added Paths: ----------- tex-commons/ tex-commons/trunk/ tex-commons/trunk/README tex-commons/trunk/src/ tex-commons/trunk/src/common.mk tex-commons/trunk/src/spamchop.tex Added: tex-commons/trunk/README =================================================================== --- tex-commons/trunk/README (rev 0) +++ tex-commons/trunk/README 2007-12-06 19:19:25 UTC (rev 189) @@ -0,0 +1,2 @@ +Here is a random collection of useful and resuable thingies for TeX, including +a generic Makefile. Added: tex-commons/trunk/src/common.mk =================================================================== --- tex-commons/trunk/src/common.mk (rev 0) +++ tex-commons/trunk/src/common.mk 2007-12-06 19:19:25 UTC (rev 189) @@ -0,0 +1,20 @@ +# use this file as: +# +# TARGET = report +# include .../common.mk + +SRCS = $(wildcard *.tex *.bib) +FLAGS = -Wrefs -Wmisc + +all: clean pdf + +ps: + rubber --ps $(FLAGS) $(TARGET) + +pdf: + GS_OPTIONS=-dPDFSETTINGS=/prepress rubber --pdf $(FLAGS) $(TARGET) + # prepress should be the highest-quality setting (embeds fonts, etc.) + +clean: + rubber --pdf --clean $(FLAGS) $(SRCS) + rubber --ps --clean $(FLAGS) $(SRCS) Added: tex-commons/trunk/src/spamchop.tex =================================================================== --- tex-commons/trunk/src/spamchop.tex (rev 0) +++ tex-commons/trunk/src/spamchop.tex 2007-12-06 19:19:25 UTC (rev 189) @@ -0,0 +1,8 @@ +% Include this file in your header, and use it following this example: +% \author{Yang Zhang (y\_{\spamchop}z@mit.e{\spamchop}du} +% TODO figure out where this came from! + +\usepackage[usenames]{color} +\newlength{\spamchopwidth} +\def\spamchopstring{NOSPAM!} +\def\spamchop{\settowidth{\spamchopwidth}{\spamchopstring}\textcolor{white}{\spamchopstring}\hspace{-1\spamchopwidth}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |