-
Notifications
You must be signed in to change notification settings - Fork 25
/
Homework_report_template.tex
executable file
·63 lines (44 loc) · 1.53 KB
/
Homework_report_template.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\documentclass[11pt,titlepage,fleqn]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage[round]{natbib}
\usepackage{xspace}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{enumerate}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SPACING COMMANDS (Latex Companion, p. 52)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% page spacing
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}
\textwidth 444pt \textheight 660pt
\oddsidemargin 15pt \evensidemargin 15pt
\headsep -20pt \headheight 0pt \hoffset 0pt \voffset 0pt
% no text indent
\setlength\parindent{0pt}
% font sans serif
\renewcommand{\familydefault}{\sfdefault}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{center}
\Large {\bf Computational Geophysics - Homework **}\\
\today
\end{center}
\vspace{3cm}
This is just a simple LaTex template example to get you started with writing the homework reports. \\
Put your report here...\\
%% example
\section*{Problem 1}
In the following, I use a discretization of the problem with pressure $P({\bf x},t)$ as:
\begin{eqnarray*}
P^n_{i,j} & \equiv & P(x=i \times \Delta x, y=j \times \Delta y, t=n \times dt) \\
& \equiv & P(i,j,n)\\
\end{eqnarray*}
The discretized form of the equation of motion then becomes...\\
\section*{Simulation Results}
Note that in the code I choose $\Delta x=\Delta y$ for simplicity. ..
%\includegraphics[width=1.\textwidth]{./figures-homogeneous/6.jpg}
\end{document}