summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/pgfmolbio/pgfmolbio.sty
blob: 46aa6e10a9d305ddcb0e245f95e8ada90935c70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%%
%% This is file `pgfmolbio.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% pgfmolbio.dtx  (with options: `pgfmolbio')
%% 
%% Copyright (C) 2011 by Wolfgang Skala
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% 
\ProvidesPackage{pgfmolbio}[2011/09/20 v0.1 Molecular biology graphs with TikZ]
\NeedsTeXFormat{LaTeX2e}[1999/12/01]

\newif\ifpmb@loadmodule@chromatogram

\DeclareOption{chromatogram}{
  \pmb@loadmodule@chromatogramtrue
}
\ProcessOptions

\RequirePackage{luatexbase-modutils}
  \RequireLuaModule{lualibs}
\RequirePackage{tikz}
  \usetikzlibrary{positioning}

\RequirePackage{xcolor}

\newcommand\pgfmolbioset[2][]{%
  \def\@tempa{#1}%
  \ifx\@tempa\@empty%
    \pgfqkeys{/pgfmolbio}{#2}%
  \else%
    \pgfqkeys{/pgfmolbio/#1}{#2}%
  \fi%
}

\ifpmb@loadmodule@chromatogram
  \input{pgfmolbio.chromatogram.tex}
\fi
\endinput
%%
%% End of file `pgfmolbio.sty'.