Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
DOCS - exported style for further use with othe documents
Browse files Browse the repository at this point in the history
  • Loading branch information
zalun committed May 6, 2010
1 parent f4cf22d commit 20728c7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 35 deletions.
Binary file modified Docs/Package Building System.pdf
Binary file not shown.
48 changes: 13 additions & 35 deletions Docs/Package Building System.tex
@@ -1,45 +1,23 @@
\documentclass[10pt]{article}

% PREAMBULE -------------------------------------------------------------------------
%
% If you want to edit the text please scroll down to the CONTENT
% Mozilla Addon Builder
% Package Building System Documentation
%
% This document is written in LaTeX
% For quick doc please follow to http://web.mit.edu/olh/Latex/ess:Latex.html
% All used symbols may be found here: http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Symbols
% Graphz are using the TikZ package: http://texamples.net/tikz

\usepackage{fullpage, url, tikz, tikz-er2, listings, sidecap, boxedminipage, graphicx, floatrow, color}
% TikZ is included in the TeXLive distribution
% TikZ-ER2 (Creative Commons Attribution 2.5 Generic License)
% needs to be installed https://www.assembla.com/wiki/show/tikz-er2

\DeclareGraphicsExtensions{.pdf,.png,.jpg}
% If you want to edit the text please scroll down to the CONTENT

\documentclass[10pt]{article}
\usepackage{mozillaaddonbuilderstyle}
\def\version{alpha 0.1}

% Common names definitions
\def\xpi{{\tt XPI}}
\def\amo{{\tt AMO}}

% TikZ settings
\usetikzlibrary{positioning}
\usetikzlibrary{shadows}
% mozillaaddonbuilderstyle package loads following packages:
% fullpage, url, tikz, tikz-er2, listings, graphicx, color
%
% Graphz are using the TikZ package: http://texamples.net/tikz
%
% TikZ-ER2 (Creative Commons Attribution 2.5 Generic License)
% needs to be installed https://www.assembla.com/wiki/show/tikz-er2

\tikzstyle{every entity} = [top color=white, bottom color=blue!30,
draw=blue!50!black!100, drop shadow, rounded corners]
\tikzstyle{every weak entity} = [drop shadow={shadow xshift=.7ex,
shadow yshift=-.7ex}, rounded corners]
\tikzstyle{every attribute} = [top color=white, bottom color=yellow!20,
draw=yellow, node distance=1cm, drop shadow, rounded corners]
\tikzstyle{every relationship} = [top color=white, bottom color=red!20, minimum size=2.3cm,
draw=red!50!black!100, drop shadow, rounded corners]
\tikzstyle{every isa} = [top color=white, bottom color=green!20,
draw=green!50!black!100, drop shadow, rounded corners]

% listings style
\lstset{basicstyle=\small\sffamily, numbers=left, numberstyle=\footnotesize\sffamily\color{gray}, frame=tb, columns=fullflexible,
showstringspaces=false, tabsize=2}

% CONTENT -----------------------------------------------------------------------------

Expand All @@ -54,7 +32,7 @@
\noindent Download this document from \\
\url{http://github.com/zalun/FlightDeck/raw/master/Docs/Package%20Building\%20System.pdf}\\
}{\scriptsize
\noindent Quick graph slideshows are available \\
\noindent Some relevant graph slides are available \\
\url{http://github.com/zalun/FlightDeck/raw/master/Docs/Addon%20Builder%20-%20Build%20System.pdf}
}

Expand Down
32 changes: 32 additions & 0 deletions Docs/mozillaaddonbuilderstyle.sty
@@ -0,0 +1,32 @@
% Mozilla Addon Builder document style
%
% This is a LaTeX document style which will be used
% by all \latex documents in Mozilla Addon Builder
% Common names definitions
\ProvidesPackage{mozillaaddonbuilderstyle}

\usepackage{fullpage, url, tikz, tikz-er2, listings, sidecap, boxedminipage, graphicx, floatrow, color}

\def\xpi{{\tt XPI}}
\def\amo{{\tt AMO}}

% TikZ settings
\usetikzlibrary{positioning}
\usetikzlibrary{shadows}

\tikzstyle{every entity} = [top color=white, bottom color=blue!30,
draw=blue!50!black!100, drop shadow, rounded corners]
\tikzstyle{every weak entity} = [drop shadow={shadow xshift=.7ex,
shadow yshift=-.7ex}, rounded corners]
\tikzstyle{every attribute} = [top color=white, bottom color=yellow!20,
draw=yellow, node distance=1cm, drop shadow, rounded corners]
\tikzstyle{every relationship} = [top color=white, bottom color=red!20, minimum size=2.3cm,
draw=red!50!black!100, drop shadow, rounded corners]
\tikzstyle{every isa} = [top color=white, bottom color=green!20,
draw=green!50!black!100, drop shadow, rounded corners]

% listings style
\lstset{basicstyle=\small\sffamily, numbers=left, numberstyle=\footnotesize\sffamily\color{gray}, frame=tb, columns=fullflexible,
showstringspaces=false, tabsize=2}

\DeclareGraphicsExtensions{.pdf,.png,.jpg}

0 comments on commit 20728c7

Please sign in to comment.