From 768d5bb7e60762f924dbf50c42b524abdbbf3766 Mon Sep 17 00:00:00 2001 From: Jan Benda Date: Tue, 24 Jan 2017 15:16:29 +0100 Subject: [PATCH] all data in data subdirectory --- projects/Makefile | 11 ++-- projects/header.tex | 56 ++++++++++++++++++ .../project_fano_test/{ => data}/fano.mat | Bin .../{ => data}/decisions.mat | Bin projects/project_pca_natural_images/Makefile | 2 +- .../{ => data}/natimg.jpg | Bin .../project_qvalues/{ => data}/p_values.dat | 0 .../{ => data}/baselinespikes.mat | Bin .../{ => data}/2014-06-06-ad_p-unit.mat | Bin 9 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 projects/header.tex rename projects/project_fano_test/{ => data}/fano.mat (100%) rename projects/project_mutualinfo/{ => data}/decisions.mat (100%) rename projects/project_pca_natural_images/{ => data}/natimg.jpg (100%) rename projects/project_qvalues/{ => data}/p_values.dat (100%) rename projects/project_serialcorrelation/{ => data}/baselinespikes.mat (100%) rename projects/project_spectra/{ => data}/2014-06-06-ad_p-unit.mat (100%) diff --git a/projects/Makefile b/projects/Makefile index 2ed3ed5..65e2c2a 100644 --- a/projects/Makefile +++ b/projects/Makefile @@ -1,9 +1,9 @@ all: - for d in `ls -d project_*/`; do \ - echo "Processing $$d" ; \ - a=$$(echo $$d*.tex) ; \ - rm $${a%.tex}.zip ; \ - cd $$d; $(MAKE) zip ; cd .. ; \ + for d in `ls -d project_*`; do \ + if test "x$$d" != "xproject_template"; then \ + echo "Processing $$d" ; \ + cd $$d; $(MAKE) zip ; cd .. ; \ + fi \ done mv project_*/*zip . @@ -14,5 +14,6 @@ clean: $(MAKE) -C $$d clean ; \ done + rm -f *~ rm -f *.zip rm -rf auto diff --git a/projects/header.tex b/projects/header.tex new file mode 100644 index 0000000..6b19320 --- /dev/null +++ b/projects/header.tex @@ -0,0 +1,56 @@ +\usepackage{pslatex} +\usepackage[mediumspace,mediumqspace,squaren]{SIunits} % \ohm, \micro +\usepackage{xcolor} +\usepackage{graphicx} +\usepackage[breaklinks=true,bookmarks=true,bookmarksopen=true,pdfpagemode=UseNone,pdfstartview=FitH,colorlinks=true,citecolor=blue]{hyperref} + +%%%%% layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage[left=20mm,right=20mm,top=25mm,bottom=25mm]{geometry} +\pagestyle{headandfoot} +\header{{\bfseries\large Scientific Computing}}{{\bfseries\large Project: \ptitle}}{{\bfseries\large Januar 24th, 2017}} +\runningfooter{}{\thepage}{} + +\setlength{\baselineskip}{15pt} +\setlength{\parindent}{0.0cm} +\setlength{\parskip}{0.3cm} +\renewcommand{\baselinestretch}{1.15} + +%%%%% listings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{listings} +\lstset{ + language=Matlab, + basicstyle=\ttfamily\footnotesize, + numbers=left, + numberstyle=\tiny, + title=\lstname, + showstringspaces=false, + commentstyle=\itshape\color{darkgray}, + breaklines=true, + breakautoindent=true, + columns=flexible, + frame=single, + xleftmargin=1em, + xrightmargin=1em, + aboveskip=10pt +} + +%%%%% math stuff: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{bm} +\usepackage{dsfont} +\newcommand{\naZ}{\mathds{N}} +\newcommand{\gaZ}{\mathds{Z}} +\newcommand{\raZ}{\mathds{Q}} +\newcommand{\reZ}{\mathds{R}} +\newcommand{\reZp}{\mathds{R^+}} +\newcommand{\reZpN}{\mathds{R^+_0}} +\newcommand{\koZ}{\mathds{C}} + +%%%%% page breaks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\continue}{\vfill\hspace*{\fill}$\rightarrow$\newpage} + +%%%%% new commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\qt}[1]{\textbf{#1}\\} +\newcommand{\code}[1]{\texttt{#1}} + diff --git a/projects/project_fano_test/fano.mat b/projects/project_fano_test/data/fano.mat similarity index 100% rename from projects/project_fano_test/fano.mat rename to projects/project_fano_test/data/fano.mat diff --git a/projects/project_mutualinfo/decisions.mat b/projects/project_mutualinfo/data/decisions.mat similarity index 100% rename from projects/project_mutualinfo/decisions.mat rename to projects/project_mutualinfo/data/decisions.mat diff --git a/projects/project_pca_natural_images/Makefile b/projects/project_pca_natural_images/Makefile index 467c7dc..a7b3726 100644 --- a/projects/project_pca_natural_images/Makefile +++ b/projects/project_pca_natural_images/Makefile @@ -1,3 +1,3 @@ -ZIPFILES=*.jpg +ZIPFILES= include ../project.mk diff --git a/projects/project_pca_natural_images/natimg.jpg b/projects/project_pca_natural_images/data/natimg.jpg similarity index 100% rename from projects/project_pca_natural_images/natimg.jpg rename to projects/project_pca_natural_images/data/natimg.jpg diff --git a/projects/project_qvalues/p_values.dat b/projects/project_qvalues/data/p_values.dat similarity index 100% rename from projects/project_qvalues/p_values.dat rename to projects/project_qvalues/data/p_values.dat diff --git a/projects/project_serialcorrelation/baselinespikes.mat b/projects/project_serialcorrelation/data/baselinespikes.mat similarity index 100% rename from projects/project_serialcorrelation/baselinespikes.mat rename to projects/project_serialcorrelation/data/baselinespikes.mat diff --git a/projects/project_spectra/2014-06-06-ad_p-unit.mat b/projects/project_spectra/data/2014-06-06-ad_p-unit.mat similarity index 100% rename from projects/project_spectra/2014-06-06-ad_p-unit.mat rename to projects/project_spectra/data/2014-06-06-ad_p-unit.mat