Hi, Hans,

It is great to see the result of defining fonts of Logic gates.
Also, I learn your clever way of drawing logic gates a lot from your code.

Last year, I need to make a short manuscript of logic which contains the logic 
gates and Karnaugh Map for high school teachers.
You may remember that I asked a lot to use Lua and MetaFun to draw Karnaugh 
map. 
You helped a lot and I am able to draw them more easily.
Later, I found a Karnaugh Map module!

At that time, another huddle is to draw logic gates. I draw it one by one that 
is a real time consuming job, and connecting those gates with lines is another 
trial and error job.

If we can use logic fonts, it will save a lot of time.

I didn’t check all of them carefully, but I’d like to ask a few things

1. In the figure, LogicNOT has two input lines, but in the definition, there is 
only one input which is correct. 

2. If we use them as fonts, then how to arrange them for the circuit of logic 
gates.
        (using label?)
3. I prefer the thinner lines.



> Attached some homework (some missing bits):
> 
> - what shapes are best

For my eyes, all the shapes in the same column are same. Am I wrong?

> - what unicodes make sense
> 
To use them, we need to know the number or the unicode shape which is not easy 
to memorize. 

There are so many math symbols like \infty, \sum, etc.
Is it possible to define them like math symbols to use them  \logicNot, 
\logicOr, …

BTW, logic gates is used to draw a circuit diagram, so it is another way to use 
them as figure. 
I believe that you find the best way of using it.

Thank you again.

Best regards,

Dalyoung

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to