How to write the Peirce notation for logical connective? enter image description here

I have seen these symbols in this article

  • Are you aware of this post? – user121799 Jan 25 '18 at 19:08
  • I already tried, but there are only two or three results. Not the complete list. – G al Cubo Jan 25 '18 at 19:12
  • 2
    i think that not all of these are in any font that i know of. i'm pretty sure they didn't all make it into unicode. can you provide a reference to a published source where they are defined and used? with that information, i can submit the request to unicode to add whatever is missing. – barbara beeton Jan 25 '18 at 19:15
  • @barbarabeeton ^^ Edited question. By the way, if somebody needs a new symbol, how do they get it? Short of drawing, isn't there a chicken-and-egg problem here? Not in unicode -> not in fonts -> can't typeset it -> can't use it. Can't use it -> not a candidate for unicode. Hence, we have to make do with only the symbols invented prior to unicode? – cfr Jan 27 '18 at 3:52
  • @barbarabeeton [Not a serious question, obviously.] – cfr Jan 27 '18 at 3:58

Maybe using tikz and writing a short macro:


 \tikz[line cap=round,scale=.25]{
  \draw[black!0] (0,0) -- (0,1) -- (1,1) -- (1,0);
   \draw (0,0) -- (0,1);
   \draw (1,0) -- (1,1);
   \draw (0,1) -- (1,1);
   \draw (0,0) -- (1,0);
   \draw (0,0) -- (1,1);
   \draw (1,0) -- (0,1);










Which yields:

enter image description here


enter image description here

picture mode to the rescue:


\ifnum#1=1 \put(0,0){\line(1,0){10}}\fi
\ifnum#2=1 \put(10,0){\line(0,1){10}}\fi
\ifnum#3=1 \put(0,10){\line(1,0){10}}\fi
\ifnum#4=1 \put(0,0){\line(0,1){10}}\fi
\ifnum#5=1 \put(0,0){\line(1,1){10}}\fi
\ifnum#6=1 \put(0,10){\line(1,-1){10}}\fi


\zz111111 + \zz010101 + \zz000011 + \zz111110

  • Thanks! I knew there was a simpler approach than using tikz but it just was the first thing that came to my mind … – Jasper Habicht Jan 25 '18 at 19:53
  • Yes. It is very good construction (and it is very beautiful). But for now I prefer the construction with Tikz because in fact I am working some diagrams with Tikz. – G al Cubo Jan 25 '18 at 20:08
  • 4
    @JasperHabicht when tikz is the first thing that comes to your mind, you should start to worry about your state of mind:-) – David Carlisle Jan 25 '18 at 20:49
  • 2
    @GalCubo And when picture mode is the first thing that comes to your mind, you should start to worry that your mind may be David Carlisle's. – cfr Jan 27 '18 at 3:47

A variation on the picture theme. This provides symbols that adapt to the current font size. Smaller symbols are needed, for instance, in table 5 of the article.


  % #1 = four bit binary number: top, left, right, bottom
  % 0 = false, 1 = true
  \ifnum#2=0 % top is false
  \ifnum#3=0 % left is false
  \ifnum#4=0 % right is false
  \ifnum#5=0 % bottom is false
      \scriptscriptfont\fi\fi\fi 3









enter image description here

Compare with the original table

enter image description here

  • Gracias! Muy bonito! – G al Cubo Jan 27 '18 at 13:57
  • see cfr's comment under my answer – David Carlisle Jan 27 '18 at 15:13
  • @DavidCarlisle But I'm using pict2e. ;-) – egreg Jan 27 '18 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.