Math & Science ⇒ Is there an elegant way to typeset abbreviated truth table?
Is there an elegant way to typeset abbreviated truth table?
A few valid answers came up, but they all seemed overly complex for a beginner or suboptimal.
Can anyone think of a concise and elegant way to typeset an abbreviated truth table?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Is there an elegant way to typeset abbreviated truth tab
Is there an elegant way to typeset abbreviated truth table?
Sir, I cannot find Enrico on that web page.Johannes_B wrote:You got an excellent answer from Enrico making it very very easy to input the tables. What else do you want? You either need a complex definition to allow an easy input, or make it simple but manual like in cfr's answer.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Is there an elegant way to typeset abbreviated truth table?
Re: Is there an elegant way to typeset abbreviated truth tab
It should take a while to understand what the preamble of egreg's answer contains.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Is there an elegant way to typeset abbreviated truth table?
You can place it in an extra tex file and input that file into your preamble using
\input
. That way, your preamble will appear a bit more tidy.