CTAN Comprehensive TeX Archive Network

Directory graphics/pstricks/contrib/egpeirce



egpeirce is a package intended for drawing existential graphs with PostScript.

Short introduction

egpeirce is meant for drawing existential graphs (α, β, and γ systems are all accounted for) that were invented and developed by the philosopher and polymath Charles S. Peirce (1839–1914). The package also contains novel and unique symbols for multiple types of linear logical operators Peirce invented and used in his larger logical system.

The package enables your document to contain graphs without having to resort to external image files. It also automates many of the more tedious aspects of vectorizing existential graphs by hand. However, it does not check or ensure that proper syntactic rules are obeyed. The graphs are described in relatively simple and straightforward code and when you compile your document, does the actual drawing for you.

Please see the full documentation file, egpeirce-doc.pdf, for all the commands the package provides. The documentation also contains examples of graphs found in Peirce's manuscripts and their counterparts produced by the package. These examples introduce general strategies on how you can cope with very complex graphs.


The current version of egpeirce relies on PostScript code and the PStricks package. Thus, you need to use converters like DVItoPS and PStoPDF to get PDF output files through . XeLaTeX seems to be able to process source code containing PostScript commands directly, but it can be a lot slower that the conversion method and seems to produce somewhat larger PDF files.

Bugs and further development

The full documentation PDF contains a section on possible further development of the package, please refer to it.

The code still contains a few annoying bugs. In particular coloured and/or iterated scrolls preform sub-optimally for now. There are very few examples of such scrolls in Peirce's manuscripts, but it would be nice to get this mechanism to work correctly. The documentation also touches on a few other issues. The source code for the package has more specific comments on these problems as well.


The Project Public License 1.3 or later

Copyright (c) 2008-2023, Jukka Nikulainen,

All rights reserved.

Download the contents of this package in one zip archive (5.1M).

egpeirce – Draw existential graphs invented by Charles S. Peirce

This package is for drawing existential graphs invented and developed by philosopher and polymath Charles S. Peirce. It also contains new and unique symbols for several types of linear logical operators Peirce invented and used in his larger logical system.

LicensesThe Project Public License 1.3
Copyright2023 Jukka Nikulainen
MaintainerJukka Nikulainen
Contained inTeX Live as egpeirce
MiKTeX as egpeirce
Guest Book Sitemap Contact Contact Author