Friday, February 27, 2009

Notes to MetaPost

The logo of MetaFont or MetaPost can be added into LaTeX file with \usepackage{mflogo} and the command \MF or \MP.

Z: the predefined z variables

A point along a path is officially called a time.

The numeric data type is the default type of any non declared variable.

In graph.mp of MetaPost, ticket is too long (7pt), so it can be changed to 5pt.

Wednesday, February 25, 2009

Some favourite free softwares

Here are some free softwares I often use.

i. Foreign softwares

Notepad2, GIMP2, Rainlendar 2, DeepBurner, FileZilla FTP Client, 7-Zip, Virtual CloneDrive/VCdControlTools (Microsoft company), Free Download Manager, CTEX, Foxit Reader, ESET NOD32 (Tsinghua edition) , Everthing
http://code.google.com/p/gappproxy/ (Google Incorporation)

ii. Domestic softwares

Kaka Internet security aides (Rising company), Sogou browser, MyTunet(Tsinghua edition)

iii. Drivers

Uniscan A686, HP LaserJet 1020
N.B.: The driver of Uniscan A686 should be installed in advance.

LaTeX tips

Some predefined colors in color package are red, green, blue, cyan, magenta, yellow, black, white and gray.

\renewcommand{baselinestretch}{1.25}

\setcounter{tocdepth}{2} causes some depth of titles not to be displayed in the content

\usepackage{cite} makes [1], [2], [3], [4] be displayed as [1]-[4]

\usepackage[sort&compress]{natbib} makes [1], [2], [3], [4] be displayed as [1-4]

For text within math mode, use \text{…}

No command for $\Alpha$ - just use A

For left-hand quote marks, use ``; for right-hand quote marks, use ” or ’’

amsmath and amssymb are common packages.

Some useful settings with CTEX

The automatic updating of the CTEX should use the following ftp address:
ftp://ftp.ctex.org/pub/tex/systems/miktex/2.4/packages/


A simple paper setting can be as follows.
\documentclass[A4paper]{article}
\usepackage[top=2.8cm,bottom=2.8cm,left=3.17cm,right=3.17cm]{geometry}
\title{\textbf{Artificial Neural Network\\[2ex]}}
\author{Michael Zhang\thanks{Corresponding author: Email: mzhang58@gmail.com; Tel.: +86--10--6279}\\[2ex] \small\emph{State Key Laboratory of Hydroscience and Engineering, Department of Hydraulic \\ Engineering, University, }}
\date{}

\begin{document}
\maketitle
\renewcommand{\baselinestretch}{1.5}
\begin{abstract}
The monitoring feedback analysis with measured data... . //[4ex]
\emph{Key words}: \,Feedback analysis; Artificial neural network
\end{abstract}
\end{document}