Skip to content

Latex package based on TikZ for adding BPjs shapes to your paper

License

Notifications You must be signed in to change notification settings

bThink-BGU/Papers-Latex-BP-Tikz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Papers Tikz package

GitHub license GitHub release

Latex package based on TikZ for adding BPjs shapes to your paper

Current release includes pictures for the BP life cycle and COBP life cycle.

This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt

1. Behaviroal Programming (BP)

Behavioral Programming (BP) is a novel, language-independent paradigm for programming reactive systems, centered on natural and incremental specification of behavior.

For more information visit here.

BPjs is an environment for running behavioral programs written in Javascript.

2. Installation

Add the pgf-bp.sty file to your Latex project.

In Overleaf this can be done by:

  1. Adding a new file to the repository.
  2. Selecting "From External URL".
  3. In the first textbox write https://raw.githubusercontent.com/bThink-BGU/Papers-Latex-BP-Tikz/main/pgf-bp.sty
  4. Press "Create".

3. Usage

3.1. Loading the package

Load the package with

\usepackage{pgf-bp}

3.2 Usage Examples

To present the figure of BP's life-cycle, write:

\documentclass{standalone}
\usepackage{pgf-bp}

\begin{document}

\BPLifeCycle

\end{document}

\BPLifeCycle is a macro for the following code:

\begin{tikzpicture}
    \pic {bpcycle};
\end{tikzpicture}

You can scale the picture using

\scalebox{<scaling factor>}{\BPLifeCycle}

You can also embed the lifecycle inside another tikzpicture, by calling \pic {bpcycle}; directly.

For the COBP lifecycle, simply write \COBPLifeCycle.

About

Latex package based on TikZ for adding BPjs shapes to your paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages