rsync -av --exclude=".svn" -e ssh A B
This is not a blog, but my notes and tips for research. Feel free to take any information and leave any comments or questions.
Search This Blog
Thursday, December 30, 2010
Monday, December 27, 2010
Thursday, December 23, 2010
pdfpages to include pdf files into LaTex
\usepackage{pdfpages}
\usepackage{fancyhdr}
\includepdf[pages=-, pagecommand={\thispagestyle{fancy}}]{PeerEvalScanned.pdf}
\includepdf[pages=-, fitpaper=true, pagecommand={\thispagestyle{fancy}},addtolist={1,figure,{some interesting}, TEformNumeric}]{TE/TEformNumeric.pdf}
\usepackage{fancyhdr}
\includepdf[pages=-, pagecommand={\thispagestyle{fancy}}]{PeerEvalScanned.pdf}
\includepdf[pages=-, fitpaper=true, pagecommand={\thispagestyle{fancy}},addtolist={1,figure,{some interesting}, TEformNumeric}]{TE/TEformNumeric.pdf}
Wednesday, December 22, 2010
Natbib reference sheet
Natbib reference sheet
\citet{jon90} --> Jones et al. (1990)
\citet[chap. 2]{jon90} --> Jones et al. (1990, chap. 2)
\citep{jon90} --> (Jones et al., 1990)
\citep[chap. 2]{jon90} --> (Jones et al., 1990, chap. 2)
\citep[see][]{jon90} --> (see Jones et al., 1990)
\citep[see][chap. 2]{jon90} --> (see Jones et al., 1990, chap. 2)
\citet*{jon90} --> Jones, Baker, and Williams (1990)
\citep*{jon90} --> (Jones, Baker, and Williams, 1990)
Tuesday, December 21, 2010
How to use nomenclature
- Put \usepackage[〈options〉]{nomencl} in the preamble of your document.
- Put \makenomenclature in the preamble of your document.
- Issue the \nomenclature command (see Section 2.2) for each symbol you want to have included in the nomenclature list. The best place for this command is immediately after you introduce the symbol for the first time.
- Put \printnomenclature at the place you want to have your nomenclature list.
\documentclass[12pt]{article}
\usepackage{nomencl}
\makenomenclature
\begin{document}
\maketitle
\tableofcontents
\printnomenclature
\nomenclature{$N$}{The number of particles}
\end{document}
To compile do followings in Unix prompt:
makeindex 〈filename〉.nlo -s nomencl.ist -o 〈filename〉.nls
Friday, December 17, 2010
Particle variables
for i = 1, np
Particle radius
Translational Coordinates and Uelocities, Acceleration
Rotational Euler-coordinates and Welocities (omega), Bacceleration (Boosting rotation)
Particle radius
- AP(i)
Translational Coordinates and Uelocities, Acceleration
- CX(i), UX(i), AX(i)
- CY(i), UY(i), AY(i)
- CX(i), UZ(i), AZ(i)
Rotational Euler-coordinates and Welocities (omega), Bacceleration (Boosting rotation)
- EX(i), WX(i), BX(i)
- EY(i), WY(i), BY(i)
- EX(i), WZ(i), BZ(i)
Tuesday, December 14, 2010
Monday, December 13, 2010
anthony.liekens.net » LaTeX » Degrees Notation
anthony.liekens.net » LaTeX » Degrees Notation: "\usepackage{gensymb}"
anthony.liekens.net » LaTeX » Degrees Notation
anthony.liekens.net » LaTeX » Degrees Notation: "\usepackage{gensymb}"
Friday, December 10, 2010
mathmode - How to get a little frac - TeX - LaTeX - Stack Exchange
\usepackage{amsmath}
\tfrac{x}{y}
\tfrac{x}{y}
Wednesday, December 8, 2010
Saturday, December 4, 2010
periodic boundary conditions
1, 2, 3, ..., L-1, L
i + 1 => mode ( i , L) + 1
i + 2 => mode ( i+1, L) + 1
i - 1 => mode ( i - 2 + L , L ) + 1
i + 1 => mode ( i , L) + 1
i + 2 => mode ( i+1, L) + 1
i - 1 => mode ( i - 2 + L , L ) + 1
i - 2 => mode ( i - 3 + L , L ) + 1
Friday, December 3, 2010
Getting to Grips with Latex - Tables - Latex Tutorials by Andrew Roberts @ School of Computing, University of Leeds
Getting to Grips with Latex - Tables - Latex Tutorials by Andrew Roberts @ School of Computing, University of Leeds: "\begin{center}
\begin{tabular}{ l | c || r | }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center}"
\begin{tabular}{ l | c || r | }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center}"
LaTex \newcommand
\newcommand{\dd}{\mathrm{d}}
\newcommand{\dt}{\mathrm{d}t}
\newcommand{\tr}{\mathrm{tr}}
\newcommand{\bmcal}[1]{\bm{\mathcal{#1}}}
\newcommand{\mycolor}{white}%purple, white
\newcommand{\mypause}{\pause}%
\newcommand{\justmoment}{\mypause}
%
\newcommand{\tcol}[1]{\textsf{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolred}[1]{\textsf{\textcolor{red}{#1}}}
\newcommand{\tcolpurple}[1]{\textbf{\textcolor{purple}{#1}}}
\newcommand{\tcolul}[1]{\underline{\textbf{\textcolor{\mycolor}{#1}}}}
\newcommand{\tcolep}[1]{\emph{\textbf{\textcolor{\mycolor}{#1}}}}
\newcommand{\tcolmath}[1]{{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolmathblue}[1]{{\textcolor{blue}{#1}}}
\newcommand{\tcolmathbf}[1]{\mathbf{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolmathrm}[1]{\mathrm{\textcolor{\mycolor}{#1}}}
\newcommand{\textrtblue}[1]{\textrt{\textcolor{blue}{#1}}}
%\newcommand{\tcol}[1]{\textbf{\textcolor{white}{#1}}}
%\newcommand{\tcolmath}[1]{\mathbf{\textcolor{white}{#1}}}
%
\newcommand{\dbar}{d\mkern-6mu\mathchar'26}
\newcommand{\degree}{\textdegree}
\newcommand{\FigurePath}{/Users/albertsk/svn2009/Library/Figures}
\newcommand{\xunit}{\mathbf{i}}
\newcommand{\yunit}{\mathbf{j}}
\newcommand{\zunit}{\mathbf{k}}
\newcommand{\ii}{\mathbf{i}}
\newcommand{\jj}{\mathbf{j}}
\newcommand{\kk}{\mathbf{k}}
\newcommand{\textrt}[1]{\textit{\textrm{#1}}}
\newcommand{\paren}[1]{\left[{#1}\right]}
\newcommand{\prn}[1]{\left({#1}\right)}
\newcommand{\jmitem}{\justmoment \item}
\newcommand{\pitem}{\justmoment \item}
\newcommand{\lb}{\ \mathrm{lb}}
\newcommand{\ft}{\ \mathrm{ft}}
\newcommand{\inch}{\ \mathrm{in}}
\newcommand{\lbft}{\ \mathrm{lb}\cdot\mathrm{ft}}
\newcommand{\N}{\ \mathrm{N}}
\newcommand{\kN}{\ \mathrm{kN}}
\newcommand{\kip}{\ \mathrm{kip}}
\newcommand{\mm}{\ \mathrm{mm}}
\newcommand{\m}{\ \mathrm{m}}
\newcommand{\Nm}{\ \mathrm{N}\cdot\mathrm{m}}
\newcommand{\comment}[1]{}
\newcommand{\skipframe}[1]{}
\newcommand{\myvspace}{3cm}
\newcommand{\commentvspace}[1]{\vspace{\myvspace}}
\newcommand{\myfirstsection}{1}
\newcommand{\D}{\mathrm{d}}
\newcommand{\second}{\,\mathrm{sec}}
\newcommand{\minute}{\,\mathrm{min}}
\newcommand{\minutes}{\,\mathrm{mins}}
\newcommand{\hour}{\,\mathrm{hr}}
\newcommand{\hours}{\,\mathrm{hrs}}
\newcommand{\Pe}{\mathrm{Pe}}
\newcommand{\Plus}{^{+}}
\newcommand{\PlusPlus}{^{2+}}
\newcommand{\Minus}{^{-}}
\newcommand{\MinusMinus}{^{2-}}
\newcommand{\subs}[1]{$_{#1}$}
\newcommand{\supers}[1]{$^{#1}$}
\newcommand{\mailto}[1]{\href{mailto:#1}{#1}}
\newcommand{\dt}{\mathrm{d}t}
\newcommand{\tr}{\mathrm{tr}}
\newcommand{\bmcal}[1]{\bm{\mathcal{#1}}}
\newcommand{\mycolor}{white}%purple, white
\newcommand{\mypause}{\pause}%
\newcommand{\justmoment}{\mypause}
%
\newcommand{\tcol}[1]{\textsf{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolred}[1]{\textsf{\textcolor{red}{#1}}}
\newcommand{\tcolpurple}[1]{\textbf{\textcolor{purple}{#1}}}
\newcommand{\tcolul}[1]{\underline{\textbf{\textcolor{\mycolor}{#1}}}}
\newcommand{\tcolep}[1]{\emph{\textbf{\textcolor{\mycolor}{#1}}}}
\newcommand{\tcolmath}[1]{{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolmathblue}[1]{{\textcolor{blue}{#1}}}
\newcommand{\tcolmathbf}[1]{\mathbf{\textcolor{\mycolor}{#1}}}
\newcommand{\tcolmathrm}[1]{\mathrm{\textcolor{\mycolor}{#1}}}
\newcommand{\textrtblue}[1]{\textrt{\textcolor{blue}{#1}}}
%\newcommand{\tcol}[1]{\textbf{\textcolor{white}{#1}}}
%\newcommand{\tcolmath}[1]{\mathbf{\textcolor{white}{#1}}}
%
\newcommand{\dbar}{d\mkern-6mu\mathchar'26}
\newcommand{\degree}{\textdegree}
\newcommand{\FigurePath}{/Users/albertsk/svn2009/Library/Figures}
\newcommand{\xunit}{\mathbf{i}}
\newcommand{\yunit}{\mathbf{j}}
\newcommand{\zunit}{\mathbf{k}}
\newcommand{\ii}{\mathbf{i}}
\newcommand{\jj}{\mathbf{j}}
\newcommand{\kk}{\mathbf{k}}
\newcommand{\textrt}[1]{\textit{\textrm{#1}}}
\newcommand{\paren}[1]{\left[{#1}\right]}
\newcommand{\prn}[1]{\left({#1}\right)}
\newcommand{\jmitem}{\justmoment \item}
\newcommand{\pitem}{\justmoment \item}
\newcommand{\lb}{\ \mathrm{lb}}
\newcommand{\ft}{\ \mathrm{ft}}
\newcommand{\inch}{\ \mathrm{in}}
\newcommand{\lbft}{\ \mathrm{lb}\cdot\mathrm{ft}}
\newcommand{\N}{\ \mathrm{N}}
\newcommand{\kN}{\ \mathrm{kN}}
\newcommand{\kip}{\ \mathrm{kip}}
\newcommand{\mm}{\ \mathrm{mm}}
\newcommand{\m}{\ \mathrm{m}}
\newcommand{\Nm}{\ \mathrm{N}\cdot\mathrm{m}}
\newcommand{\comment}[1]{}
\newcommand{\skipframe}[1]{}
\newcommand{\myvspace}{3cm}
\newcommand{\commentvspace}[1]{\vspace{\myvspace}}
\newcommand{\myfirstsection}{1}
\newcommand{\D}{\mathrm{d}}
\newcommand{\second}{\,\mathrm{sec}}
\newcommand{\minute}{\,\mathrm{min}}
\newcommand{\minutes}{\,\mathrm{mins}}
\newcommand{\hour}{\,\mathrm{hr}}
\newcommand{\hours}{\,\mathrm{hrs}}
\newcommand{\Pe}{\mathrm{Pe}}
\newcommand{\Plus}{^{+}}
\newcommand{\PlusPlus}{^{2+}}
\newcommand{\Minus}{^{-}}
\newcommand{\MinusMinus}{^{2-}}
\newcommand{\subs}[1]{$_{#1}$}
\newcommand{\supers}[1]{$^{#1}$}
\newcommand{\mailto}[1]{\href{mailto:#1}{#1}}
Subscribe to:
Posts (Atom)
Labels
- Academic Notes (4)
- BLAS (1)
- CEE618 (2)
- CentOS (1)
- Computation (1)
- Conferences (1)
- Cross compiling (1)
- Graphics (1)
- Hawaii Tour (2)
- Intel compiler (1)
- Just (1)
- Laptop (1)
- LaTex (22)
- Life and Humanity (8)
- Linux and Computing (107)
- LSF (1)
- Lyx (3)
- Macintosh (5)
- MPI (1)
- News (11)
- OpenFoam (1)
- OpenMPI (1)
- PBS (2)
- Software (4)
- SSH (2)
- torque (1)
- Touchpad (1)
- VMD (1)
- yum (1)
Blog Archive
-
▼
2010
(34)
-
▼
December
(20)
- rsync excluding .svn dir
- The TeX Catalogue OnLine, Entry for titleref, Home...
- to increase section number by 2
- pdfpages to include pdf files into LaTex
- Natbib reference sheet
- How to use nomenclature
- TAR a large disk image
- Particle variables
- Version Control Demystified, Part 2: A Subversion ...
- anthony.liekens.net » LaTeX » Degrees Notation
- anthony.liekens.net » LaTeX » Degrees Notation
- mathmode - How to get a little frac - TeX - LaTeX ...
- Red Hat Enterprise Linux-Specific Information
- KCB's LaTeX files
- LaTeX Tools and Templates
- periodic boundary conditions
- Octave/MATLAB basics
- Getting to Grips with Latex - Tables - Latex Tutor...
- LaTeX:Commands - AoPSWiki
- LaTex \newcommand
-
▼
December
(20)