RSS

Gnuplot on Mac OS X Snow Leopard

Gnuplot is a portable command-line driven graphing utility for linux, OS/2, MS Windows, OSX, VMS, and many other platforms.

To compile gnuplot in Mac OS X Snow Leopard open Terminal and write these commands (you need Xcode):

download the last gnuplot version file
curl -o gnuplot.tar.gz http://ovh.dl.sourceforge.net/project/gnuplot/gnuplot/4.4.4/gnuplot-4.4.4.tar.gz
extract on your Mac and go inside the new directory
tar -xf gnuplot.tar.gz
cd gnuplot

then configure, compile and install it!
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
make
sudo make install

 
6 Comments

Posted by on May 17, 2011 in howto

 

Tags: , ,

How to make a letter with LaTeX

LaTeX (pronounced /ˈleɪtɛk/, /ˈleɪtɛx/, or /ˈlɑːtɛk/) is a document markup language and document preparation system for the TeX typesetting program.

You can use LaTeX to typeset letters, both personal and business. The letter document style is designed to make a number of letters at once, although you can make just one if you so desire.
Your .tex source file has the same minimum commands as the other document styles, i.e., you must have the following commands as a minimum:


\documentstyle{letter}
\begin{document}
... letters ...
\end{document}

Each letter is a letter environment, whose argument is the name and address of the recipient. For example, you might have:

\begin{letter}{Mr. John Doe \\
2345 Jones St. \\
Oakland, CA 91123}
...
\end{letter}

The letter itself begins with the \opening command. The text of the letter follows. It is typed as ordinary LaTeX input. Commands that make no sense in a letter, like \chapter, don’t work. The letter closes with a \closing command.
After the closing, you can have additional material. The \cc command produces the usual “cc: …”. There’s also a similar \encl command for a list of enclosures.
The following commands are declarations which take a single argument.

\address{return address}
\signature{your name}
\location{address}
\telehone{number}

 
Leave a comment

Posted by on January 25, 2011 in howto

 

Tags:

 
Follow

Get every new post delivered to your Inbox.