add main files
authorTobias Rueetschi <tobisa.rueetschi@bfh.ch>
Thu, 27 Nov 2014 16:40:55 +0000 (17:40 +0100)
committerTobias Rueetschi <tobias.rueetschi@bfh.ch>
Thu, 27 Nov 2014 16:40:55 +0000 (17:40 +0100)
SmartGitHg_Einleitung.tex [new file with mode: 0644]
content/management-summary.tex [new file with mode: 0644]
pictures/cc_by-nc-sa.png [new file with mode: 0644]
preambel/TOC.tex [new file with mode: 0644]
preambel/latex-settings.tex [new file with mode: 0644]
preambel/packages.tex [new file with mode: 0644]
preambel/titlepage.tex [new file with mode: 0644]

diff --git a/SmartGitHg_Einleitung.tex b/SmartGitHg_Einleitung.tex
new file mode 100644 (file)
index 0000000..6f429a8
--- /dev/null
@@ -0,0 +1,32 @@
+\def \title                    {SmartGitHg}
+\def \version          {1.0}
+\def \author           {ruett1}
+
+\documentclass[
+       a4paper,                                % paper format
+       11pt,                                   % fontsize
+       ngerman,                                % language
+%      twoside,                                % double-sided
+       oneside,                                % one-sided
+%      openright,                              % begin new chapter on right side
+       notitlepage,                    % use no standard title page
+       parskip=half,                   % set paragraph skip to half of a line
+]{scrreprt}                                    % KOMA-script report (scrartcl, scrreprt, scrbook)
+
+\input{preambel/packages}
+\input{preambel/latex-settings}
+
+\begin{document}
+       \settocdepth{section}
+       \pagenumbering{roman}
+
+       \input{preambel/titlepage}
+       \cleardoubleemptypage
+       \setcounter{page}{1}
+       \input{preambel/TOC}
+
+       \pagenumbering{arabic}
+       \settocdepth{subsection}
+
+       \input{content/management-summary}
+\end{document}
diff --git a/content/management-summary.tex b/content/management-summary.tex
new file mode 100644 (file)
index 0000000..98e3c82
--- /dev/null
@@ -0,0 +1,16 @@
+% !TEX root = ../SmartGitHg_Einleitung.tex
+
+\chapter*{Vorwort}
+
+Dies ist eine Einleitung ins Versionsverwaltungssystem Git und die graphische Oberfl\"ache SmartGitHg. \\
+Der/Die Leser\_in soll mit diesem Skript in der Lage sein, ein Projekt mit Git zu verwalten und ein bew\"ahrtes Branching Model zu verwenden. Es wird angeraten, sich mit Git und einer guten Projektstruktur auseinander zu setzen.
+
+Git (und auch SmartGitHg) besitzen einen viel gr\"osseren Umfang als hier beschrieben werden kann. Es gibt auch Schnittstellen zu SVN und anderen Versionsverwaltungen, verschieden grosse Server Systeme (gitolite mit gitweb, GitLab, ...). \\
+Die originale Dokumentation ist auf \url{http://git-scm.com/documentation} oder gedruckt \cite{Apress_ProGit}. Eine sehr gutes deutsches Buch ist \cite{OSP_Git}.
+
+
+\section*{Lizenzierung}
+
+This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit \url{http://creativecommons.org/licenses/by-nc-sa/4.0/}.
+
+\includegraphics[scale=0.8]{pictures/cc_by-nc-sa.png}
diff --git a/pictures/cc_by-nc-sa.png b/pictures/cc_by-nc-sa.png
new file mode 100644 (file)
index 0000000..b9a5553
Binary files /dev/null and b/pictures/cc_by-nc-sa.png differ
diff --git a/preambel/TOC.tex b/preambel/TOC.tex
new file mode 100644 (file)
index 0000000..f80871c
--- /dev/null
@@ -0,0 +1,10 @@
+% !TEX root = ../SmartGitHg_Einleitung.tex
+
+% Table of contents and listings
+%---------------------------------------------------------------------------
+\setcounter{secnumdepth}{-1}   % um die nummerierung von sections zu
+                                                               % unterbinden und trotzdem die PDF-Bookmarks
+                                                               % zu haben
+\pdfbookmark[1]{Inhaltsverzeichnis}{toc}
+\tableofcontents
+%---------------------------------------------------------------------------
diff --git a/preambel/latex-settings.tex b/preambel/latex-settings.tex
new file mode 100644 (file)
index 0000000..878358d
--- /dev/null
@@ -0,0 +1,83 @@
+% !TEX root = ../SmartGitHg_Einleitung.tex
+
+% Definition of Colors
+%---------------------------------------------------------------------------
+\RequirePackage{color}                                                 % Color (not xcolor!)
+\definecolor{linkblue}{rgb}{0,0,0.8}                   % Standard
+\definecolor{darkblue}{rgb}{0,0.08,0.45}               % Dark blue
+\definecolor{brickred}{cmyk}{0,0.89,0.94,0.28} % Brickred
+\definecolor{red}{rgb}{0.776,0,0.066}                  % Red
+% specific colors
+\definecolor{titlecolor}{rgb}{0,0.08,0.45}             % Color used for the title
+%\definecolor{linkcolor}{rgb}{0,0,0.8}                 % Blue for the web- and cd-version!
+\definecolor{linkcolor}{rgb}{0,0,0}                            % Black for the print-version!
+\definecolor{code_bg}{gray}{0.8}                               % Source Code Background
+%---------------------------------------------------------------------------
+
+% Hyperref Package (Create links in a pdf)
+%---------------------------------------------------------------------------
+\usepackage[
+       pdftex,ngerman,bookmarks,plainpages=false,pdfpagelabels,
+       backref = {false},                      % No index backreference
+       colorlinks = {true},            % Color links in a PDF
+       hypertexnames = {true},         % no failures "same page(i)"
+       bookmarksopen = {true},         % opens the bar on the left side
+       bookmarksopenlevel = {0},       % depth of opened bookmarks
+       pdftitle = {\title},            % PDF-property
+       pdfauthor = {\author},          % PDF-property
+       pdfsubject = {},                        % PDF-property
+       linkcolor = {linkcolor},        % Color of Links
+       citecolor = {linkcolor},        % Color of Cite-Links
+       urlcolor = {linkcolor},         % Color of URLs
+]{hyperref}
+%---------------------------------------------------------------------------
+
+% Set up page dimension
+%---------------------------------------------------------------------------
+\usepackage{geometry}
+\geometry{
+       a4paper,
+       left=28mm,
+       right=15mm,
+       top=30mm,
+       headheight=20mm,
+       headsep=10mm,
+       textheight=232mm,
+       footskip=15mm
+}
+%---------------------------------------------------------------------------
+
+% Set up header and footer
+%---------------------------------------------------------------------------
+\fancyhf{}                                             % clean all fields
+\fancypagestyle{plain}{                        % new definition of plain style
+
+% Use this for double-sided:
+%      \fancyfoot[OL,ER]{\footnotesize                         % footer left part -->  version
+%              V\version \\
+%              \author \\
+%              \today
+%      }
+%      \fancyfoot[OR,EL]{\footnotesize \thepage}       % footer right part --> page number
+%      \fancyhead[OL,ER]{}                                                     % header right part
+%      \fancyhead[OR,EL]{\footnotesize \leftmark}      % footer left part -->  chapter
+%      \fancyhead[L]{}                                                         % header left part
+
+% Use this for one-sided:
+       \fancyfoot[L]{\footnotesize                                     % footer left part -->  version
+               V\version \\
+               \author \\
+               \today
+       }
+       \fancyfoot[R]{\footnotesize \thepage}           % footer right part --> page number
+       \fancyhead[L]{}                                                         % header right part
+       \fancyhead[R]{\footnotesize \leftmark}          % footer left part -->  chapter
+       \fancyhead[L]{}                                                         % header left part
+}
+
+\renewcommand{\chaptermark}[1]{\markboth{\thechapter.  #1}{}}
+\renewcommand{\headrulewidth}{0pt}                             % no header stripline
+\renewcommand{\footrulewidth}{0pt}                             % no bottom stripline
+
+\pagestyle{plain}
+%---------------------------------------------------------------------------
diff --git a/preambel/packages.tex b/preambel/packages.tex
new file mode 100644 (file)
index 0000000..8446467
--- /dev/null
@@ -0,0 +1,48 @@
+% !TEX root = ../SmartGitHg_Einleitung.tex
+
+% Standard packages
+%---------------------------------------------------------------------------
+\usepackage[ngerman]{babel}            % german hyphenation
+%\usepackage[latin1]{inputenc}  % Unix/Linux - load extended character set (ISO 8859-1)
+\usepackage[ansinew]{inputenc}  % Windows - load extended character set (ISO 8859-1)
+\usepackage[T1]{fontenc}               % hyphenation of words with ae, oe and ue
+\usepackage{textcomp}                  % additional symbols
+\usepackage{lmodern}                   % latin modern
+\usepackage{ae}                                        % better resolution of Type1-Fonts 
+\usepackage{fancyhdr}                  % simple manipulation of header and footer 
+\usepackage{graphicx}                  % integration of images
+\usepackage{float}                             % floating objects
+\usepackage{caption}                   % for captions of figures and tables
+\usepackage{booktabs}                  % package for nicer tables
+\usepackage{tocvsec2}                  % provides means of controlling the sectional numbering
+\usepackage{rotating}                  % rotating tables and other objects
+\usepackage{pdflscape}                 % change single pages landscape
+\usepackage{tabularx}                  % create nice tables
+\usepackage{pdfpages}                  % insert full pdf pages
+\usepackage{nameref}                   % reference by name, not by chapter number
+%\usepackage{dirtree}                  % create directory trees
+\usepackage{listings}                  % include source code
+\usepackage{epstopdf}                  % convert eps graphics to pdf
+%---------------------------------------------------------------------------
+
+% Load Math Packages
+%---------------------------------------------------------------------------
+\usepackage{amsmath}                   % various features to facilitate writing math formulas
+\usepackage{amsthm}                            % enhanced version of latex's newtheorem
+\usepackage{amsfonts}                  % set of miscellaneous TeX fonts that augment the standard CM
+\usepackage{amssymb}                   % mathematical special characters
+\usepackage{exscale}                   % mathematical size corresponds to textsize
+%---------------------------------------------------------------------------
+
+% Package to facilitate placement of boxes at absolute positions
+%---------------------------------------------------------------------------
+\usepackage[absolute]{textpos}
+\setlength{\TPHorizModule}{1mm}
+\setlength{\TPVertModule}{1mm}
+%---------------------------------------------------------------------------
+
+% Makeindex Package
+%---------------------------------------------------------------------------
+\usepackage{makeidx}                   % To produce index
+\makeindex                                             % Index-Initialisation
+%---------------------------------------------------------------------------
diff --git a/preambel/titlepage.tex b/preambel/titlepage.tex
new file mode 100644 (file)
index 0000000..567ffaa
--- /dev/null
@@ -0,0 +1,27 @@
+% !TEX root = ../SmartGitHg_Einleitung.tex
+
+\begin{titlepage}
+
+% Titel / Untertitel / Autor:
+%---------------------------------------------------------------------------
+\begin{flushleft}
+
+\vspace*{6cm}
+
+\fontsize{30pt}{32pt}\selectfont 
+\noindent \textcolor{titlecolor}{\textbf{\title}} \\
+
+\vspace{8cm}
+\fontsize{12pt}{15pt}\selectfont
+\begin{tabbing}
+xxxxxxxxxxxxxxxx\=xxxxxxxxxxxxxxxxxxxxxxxx     \kill
+Author:                        \> R\"uetschi Tobias            \\
+Datum:                 \> \today                                       \\
+Version:               \> \version                                     \\
+\end{tabbing}
+\end{flushleft}
+
+\end{titlepage}
+
+%===========================================================================
+% EOF