Skip to content

Commit

Permalink
Merge pull request #2 from Polpetta/develop
Browse files Browse the repository at this point in the history
First version
  • Loading branch information
Polpetta authored Feb 2, 2017
2 parents 6a8a2e0 + a3cce97 commit 091df6e
Show file tree
Hide file tree
Showing 38 changed files with 1,155 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- mode: conf-unix; -*-

# top-most EditorConfig file
root = true

# defaults
[*]
insert_final_newline = true
end_of_line = lf

# 4 space indentation
[*.{tex,Makefile,sh,yml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 80
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Description**

**Other issues**
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Reference to the issue (if any)**: #

**Description**
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc

## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
*.pdf #for the moment

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:

# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.snm
*.vrb

#(e)ledmac/(e)ledpar
*.end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls

# gnuplottex
*-gnuplottex-*

# hyperref
*.brf

# knitr
*-concordance.tex
*.tikz
*-tikzDictionary

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mtc
*.mtc0

# minted
_minted*
*.pyg

# morewrites
*.mw

# nomencl
*.nlo

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# todonotes
*.tdo

# xindy
*.xdy

# WinEdt
*.bak
*.sav

#Emacs
*.*~
#*#.*
*.#*#

#Other
*.pdf

res/listOfSections.tex

Tesi.zip
bin/*
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language:
- generic
dist: trusty
sudo: true
addons:
apt:
packages:
- texlive-latex-extra
- texlive-luatex
- cm-super
- latexmk
- tex4ht
- texlive-fonts-recommended
- texlive-lang-italian
- latex-xcolor
script:
- make
before_deploy:
- git fetch --tags
28 changes: 28 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#Author: Polonio Davide <poloniodavide@gmail.com>
#License: GPLv3

OUTPUT_NAME= Bioinformatic1
LIST_NAME= listOfSections.tex
PATH_OF_CONTENTS= res/sections
MAIN_FILE= main
CC= latexmk
JOB_NAME=-jobname='$(OUTPUT_NAME)'
CCFLAGS= -pdflatex='pdflatex -interaction=nonstopmode' -pdf
SHELL := /bin/bash #Need bash not shell

all: compile

compile:
if [[ -a "res/$(LIST_NAME)" ]]; then echo "Removing res/$(LIST_NAME)"; \
rm res/$(LIST_NAME); fi; \
for i in $(sort $(wildcard $(PATH_OF_CONTENTS)/*.tex)); do \
echo "Adding $$i into $(LIST_NAME)"; \
echo "\input{$$i}" >> res/$(LIST_NAME); \
done; \
$(CC) -C $(JOB_NAME); \
$(CC) $(CCFLAGS) $(JOB_NAME); \

clean:
git clean -Xfd
$(CC) -C $(JOB_NAME)
if [[ -a "$(OUTPUT_NAME)" ]]; then rm -rv $(OUTPUT_NAME)/; fi;
148 changes: 148 additions & 0 deletions config/config.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
%**************************************************************
% file contenente le impostazioni della tesi
%**************************************************************

%**************************************************************
% Frontespizio
%**************************************************************
\newcommand{\myName}{Davide Polonio} % autore
\newcommand{\myTitle}{Bioinformatic 1}
\newcommand{\myUni}{Università degli Studi di Padova} % università
\newcommand{\myFaculty}{Corso di Laurea in Informatica} % facoltà
\newcommand{\myDepartment}{Dipartimento di Matematica} % dipartimento
\newcommand{\myLocation}{Padova} % dove
\newcommand{\myAA}{2016-2017} % anno


%**************************************************************
% Impostazioni di impaginazione
% see: http://wwwcdf.pd.infn.it/AppuntiLinux/a2547.htm
%**************************************************************

\setlength{\parindent}{14pt} % larghezza rientro della prima riga
\setlength{\parskip}{0pt} % distanza tra i paragrafi


%**************************************************************
% Impostazioni di caption
%**************************************************************
\captionsetup{
tableposition=top,
figureposition=bottom,
font=small,
format=hang,
labelfont=bf
}

%**************************************************************
% Impostazioni di glossaries
%**************************************************************
\input{res/glossary} % database di termini
\makeglossaries


%**************************************************************
% Impostazioni di graphicx
%**************************************************************
\graphicspath{{res/img/}} % cartella dove sono riposte le immagini


%**************************************************************
% Impostazioni di hyperref
%**************************************************************
\hypersetup{
%hyperfootnotes=false,
%pdfpagelabels,
%draft, % = elimina tutti i link (utile per stampe in bianco e nero)
colorlinks=true,
linktocpage=true,
pdfstartpage=1,
pdfstartview=FitV,
% decommenta la riga seguente per avere link in nero (per esempio per la
%stampa in bianco e nero)
%colorlinks=false, linktocpage=false, pdfborder={0 0 0}, pdfstartpage=1,
%pdfstartview=FitV,
breaklinks=true,
pdfpagemode=UseNone,
pageanchor=true,
pdfpagemode=UseOutlines,
plainpages=false,
bookmarksnumbered,
bookmarksopen=true,
bookmarksopenlevel=1,
hypertexnames=true,
pdfhighlight=/O,
%nesting=true,
%frenchlinks,
urlcolor=webbrown,
linkcolor=RoyalBlue,
citecolor=webgreen,
%pagecolor=RoyalBlue,
%urlcolor=Black, linkcolor=Black, citecolor=Black, %pagecolor=Black,
pdftitle={\myTitle},
pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},
pdfsubject={},
pdfkeywords={},
pdfcreator={pdfLaTeX},
pdfproducer={LaTeX}
}

%**************************************************************
% Impostazioni di itemize
%**************************************************************
\renewcommand{\labelitemi}{$\ast$}

%\renewcommand{\labelitemi}{$\bullet$}
%\renewcommand{\labelitemii}{$\cdot$}
%\renewcommand{\labelitemiii}{$\diamond$}
%\renewcommand{\labelitemiv}{$\ast$}


%**************************************************************
% Impostazioni di listings
%**************************************************************
\lstset{
language=[LaTeX]Tex,%C++,
keywordstyle=\color{RoyalBlue}, %\bfseries,
basicstyle=\small\ttfamily,
%identifierstyle=\color{NavyBlue},
commentstyle=\color{Green}\ttfamily,
stringstyle=\rmfamily,
numbers=none, %left,%
numberstyle=\scriptsize, %\tiny
stepnumber=5,
numbersep=8pt,
showstringspaces=false,
breaklines=true,
frameround=ftff,
frame=single
}


%**************************************************************
% Impostazioni di xcolor
%**************************************************************
\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}


%**************************************************************
% Altro
%**************************************************************

\newcommand{\omissis}{[\dots\negthinspace]} % produce [...]

% eccezioni all'algoritmo di sillabazione
\hyphenation
{
ma-cro-istru-zio-ne
gi-ral-din
}

\newcommand{\sectionname}{sezione}
\addto\captionsitalian{\renewcommand{\figurename}{figura}
\renewcommand{\tablename}{tabella}}

\newcommand{\glsfirstoccur}{\ap{{[g]}}}

\newcommand{\intro}[1]{\emph{\textsf{#1}}}
Loading

0 comments on commit 091df6e

Please sign in to comment.