source: architecture/architecture.tex @ 25588bf9dc8d8d1b4b4fc5dc5f75b38adf0ce666

Revision 25588bf9dc8d8d1b4b4fc5dc5f75b38adf0ce666, 2.0 KB checked in by Stanislaw Klekot <dozzie@…>, 7 years ago (diff)

Added fancy headers.

  • Property mode set to 100644
Line 
1\documentclass[10pt]{article}
2
3\usepackage{a4wide}
4\usepackage{indentfirst}
5
6\usepackage[polish]{babel}
7
8\usepackage[OT4]{fontenc}
9\usepackage[utf8]{inputenc}
10
11\usepackage{graphicx}
12
13\usepackage{longtable}
14\usepackage{caption}
15\captionsetup{tablename=Tabela}
16
17\usepackage{enumitem}
18
19\usepackage{fancyhdr}
20
21%-----------------------------------------------------------------------------
22
23\nonstopmode
24
25%-----------------------------------------------------------------------------
26
27\newcommand{\command}[1]{\texttt{#1}}
28\newcommand{\prog}[1]{\textsl{#1}}
29\newcommand{\term}[1]{\textit{#1}}
30\newcommand{\dashwiki}{\prog{DashWiki}}
31\newcommand{\TODO}{\textbf{TODO}}
32
33\newcommand{\diagram}[2]{
34  \begin{minipage}[b]{\textwidth}
35    \centering
36    \captionsetup{type=figure}
37    \includegraphics[width=0.85\linewidth]{#1}
38    \caption*{#2}
39  \end{minipage}
40}
41\newcommand{\diagramlegend}[2]{
42  \begin{minipage}[b]{\textwidth}
43    \centering
44    \captionsetup{type=figure}
45    \includegraphics[width=0.45\linewidth]{#1}
46    \caption*{#2}
47  \end{minipage}
48}
49
50%-----------------------------------------------------------------------------
51
52\pagestyle{fancy}
53\rhead{\dashwiki{} --- architektura aplikacji}
54\lhead{v1.0}
55
56\title{\dashwiki{} --- architektura aplikacji}
57\date{}
58
59\begin{document}
60
61\maketitle \thispagestyle{fancy}
62
63%\setlist{noitemsep,leftmargin=*}
64\setlist{noitemsep}
65
66\section*{Historia zmian} % {{{
67
68\begin{longtable}{|p{1.7cm}|p{1.0cm}|p{6.2cm}|p{3.7cm}|}
69  \hline
70    \textbf{Data} & \textbf{Wersja} & \textbf{Opis} & \textbf{Autor} \\
71  \hline \endhead
72    2013/04/09 & 1.0 & Wersja podstawowa &
73      Magdalena Baczyńska \newline
74      Tomasz Drąg \newline
75      Stanisław Klekot \newline
76      Bartłomiej Żmudziński \\
77  \hline
78\end{longtable}
79
80% }}}
81
82\section*{Architektura} % {{{
83
84\diagram{architecture_diagram.pdf}{diagram architektury \dashwiki}
85
86\diagramlegend{legend.pdf}%
87  {Legenda: komponent B używa interfejsu \textit{Skompiluj} komponentu A}
88
89% }}}
90
91\end{document}
92
93% vim:enc=utf8:foldmethod=marker
Note: See TracBrowser for help on using the repository browser.