k-trout / truthtable Goto Github PK
View Code? Open in Web Editor NEWA small LaTeX package for generating truth tables automatically.
Home Page: https://ctan.org/pkg/truthtable
A small LaTeX package for generating truth tables automatically.
Home Page: https://ctan.org/pkg/truthtable
package could have not come at a better time! thanks a ton ❤️
got a super lengthy hw and this is saving me so much time!
First of, thanks for the great package!
For the sake of completeness, it would be useful to have the NOR (negated disjunction) operator. This is often use along with NAND to show that either is sufficient for expressing AND, NOT, and OR.
The truth table for nor is
| P | Q | P NOR Q |
|---|---|---------|
| T | T | F |
| T | F | F |
| F | T | F |
| F | F | T |
Hi, I was wondering if there is an option to invert the table order somehow. (from FFF to TTT)
Hi- Tks for the package ;-)
Just a question, as you can see in the screen, the first column of the generate table isn't correctly centered :-)
%!TEX lualatex
\documentclass{article}
\usepackage{truthtable}
\begin{document}
\begin{tabular}{|c|c||c|c|c|c|c|c|c}
% Content of table is generated using this single command.
\hline
\truthtable{A,B}{$A$,$B$}{!A, A & B, A | B}{$\lnot A$, $A \land B$, $A \lor B$}{$T$}{$F$}
\hline
\end{tabular}
\end{document}
If I set the column title to
I think this is a bug.
A feature I would find helpful for these small bugs, is if you could make a method to copy the generated LaTeX code, and manually edit it.
Hello,
Just good package, nice and handy, love it. I was just wondering if you could add optional usage of the Booktabs set of table lines compared to the default LaTeX ones. I know I can put \toprule
and `\bottomrule\ around my truthtable command but I think the 'midrule' is still off.
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.