prisma-flow-diagram

This package provides an abstraction for creating PRISMA 2009 flow diagrams in LaTeX.

https://github.com/ezefranca/prisma-flow-diagram

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

latex latex-template prisma prisma-2009 prisma-flow-diagram tikz
Last synced: 6 months ago · JSON representation ·

Repository

This package provides an abstraction for creating PRISMA 2009 flow diagrams in LaTeX.

Basic Info
  • Host: GitHub
  • Owner: ezefranca
  • License: lppl-1.3c
  • Language: TeX
  • Default Branch: main
  • Homepage:
  • Size: 189 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • Open Issues: 0
  • Releases: 2
Topics
latex latex-template prisma prisma-2009 prisma-flow-diagram tikz
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

prisma-flow-diagram Package DOI

PRISMA Flow Diagram (Overleaf Template)

Easily import this template into Overleaf:

Open in Overleaf

This package provides an abstraction for creating PRISMA 2020 flow diagrams in LaTeX. It simplifies the process of building these diagrams by providing intuitive commands while maintaining full compatibility with TikZ.

Example

Installation

  1. Copy prisma-flow-diagram.sty into the same folder as your .tex document.
  2. Include the package in your LaTeX document preamble: latex \usepackage{prisma-flow-diagram}

Usage

The package provides the following commands:

Commands

  1. \prismaflowstart
    Starts the PRISMA flow diagram. Must be called before defining any nodes or labels.

  2. \prismaflownode{<id>}{<position>}{<text>}{<arrow source>}
    Adds a node to the diagram.

    • <id>: A unique identifier for the node.
    • <position>: Specifies the node's position relative to another node. For example, below=of tc.
    • <text>: The text content of the node.
    • <arrow source>: The ID of the source node for an arrow. Leave blank ({}) for no arrow.
  3. \prismalabel{<size>}{<position>}{<text>}
    Adds a vertical label to the left of the diagram.

    • <size>: Size of the label box, typically 1.3*\mh.
    • <position>: Position relative to a node. For example, n1a.west.
    • <text>: Text content of the label.
  4. \prismaflowarrow{<source>}{<destination>}
    Manually connects two nodes with an arrow.

    • <source>: The ID of the source node.
    • <destination>: The ID of the destination node.
  5. \prismaflowend
    Ends the PRISMA flow diagram.

Example

Below is a full example of how to use the package:

```latex \documentclass{article} \usepackage{prisma-flow-diagram}

\begin{document}

\begin{figure}[H] \resizebox{\textwidth}{!}{ \prismaflowstart

% Nodes at the top \prismaflownode{n1a}{left=of tc}{Records identified through database searching (n = 251)}{}; \prismaflownode{n1b}{right=of tc}{Additional records identified through other sources (n = 0)}{}; \prismaflownode{n2}{below=of tc |- n1a.south}{Records after duplicates removed (n = 41)}{n1a}; \prismaflowarrow{n1b}{n2};

% Screening Phase \prismaflownode{n3}{below=of n2}{Records screened (n = 210)}{n2}; \prismaflownode{n3r}{right=of n3}{Records excluded (n = 175)}{}; \prismaflowarrow{n3}{n3r};

% Eligibility Phase \prismaflownode{n4}{below=of n3}{Full-text articles assessed for eligibility (n = 35)}{n3}; \prismaflownode{n4r}{right=of n4}{Full-text articles excluded, with reasons (n = 4) \ - Not Relevant (n = 3) \ - Not Open/Available paper (n = 2)}{}; \prismaflowarrow{n4}{n4r};

% Inclusion Phase \prismaflownode{n5}{below=of n4}{Studies included in qualitative synthesis (n = 30)}{n4}; \prismaflownode{n6}{below=of n5}{Studies included in quantitative synthesis (meta-analysis)}{n5};

% Labels \prismalabel{1.3\mh}{n1a.west}{Identification}; \prismalabel{1.3\mh}{n1a.west |- {$(n2)!0.6!(n3)$}}{Screening}; \prismalabel{1.3\mh}{n1a.west |- {$(n4)!0.2!(n5)$}}{Eligibility}; \prismalabel{1.3\mh}{n1a.west |- n6}{Included};

\prismaflowend } \caption{PRISMA 2020 Flow Diagram} \label{fig:prisma} \end{figure}

\end{document} ```

License

This package is licensed under the LPPL 1.3c.

Contribution

Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.

Owner

  • Name: Ezequiel Santos
  • Login: ezefranca
  • Kind: user
  • Location: Lisbon, Portugal
  • Company: @miniclip

💼 Mobile Developer @miniclip 📲👾 📚 Phd Student @iade-pt 👨🏻‍💻

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this package in your research, please cite it as below."
authors:
  - family-names: Santos
    given-names: Ezequiel
    orcid: "0000-0001-9321-8444"
title: "prisma-flow-diagram: A LaTeX package for PRISMA 2009 flow diagrams"
version: "1.0.0"
url: "https://github.com/ezefranca/prisma-flow-diagram"
repository-code: "https://github.com/ezefranca/prisma-flow-diagram"
doi: "10.5281/zenodo.14996713"
date-released: "2025-01-20"
license: "LPPL-1.3c"

GitHub Events

Total
  • Create event: 4
  • Issues event: 2
  • Release event: 2
  • Watch event: 4
  • Push event: 10
  • Fork event: 1
Last Year
  • Create event: 4
  • Issues event: 2
  • Release event: 2
  • Watch event: 4
  • Push event: 10
  • Fork event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 11
  • Total Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 11
  • Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ezequiel Santos e****s@m****m 11
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sharygin (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels