Motivation

Currently (May 2018) the pages for the Logical Connectives are a mess of competing styles and presentations, which hinders comprehension. I propose this style guide to define a common presentation for all the boolean connectives.

Scope

The article Logical connectives, and the articles

Boolean Connective Logic Gate
Alternative denial NAND gate
Converse implication
Implication IMPLY gate
Disjunction OR gate
Negation NOT gate
Exclusive or XOR gate
Biconditional XNOR gate
Statement
Joint denial NOR gate
Material nonimplication
Converse nonimplication
Logical conjunction AND gate

Boolean Connectives

Article Layout

With exception to Negation and Material Conditional, as they have a more general scope.

Typesetting of Formulas

Connectives

In general,

Sheffer stroke Prefer to
Converse implication Prefer to
Implication Prefer to
Disjunction Prefer to
Negation Prefer to , or
Exclusive or Prefer to , or
Biconditional Prefer to , or
Joint denial Use
Material nonimplication Prefer to
Converse nonimplication Prefer to
Logical conjunction Prefer to , , or

Truth Tables

For boolean connectives the table should look like

T T ?
T F ?
F T ?
F F ?

using T and F for the truth-values, and without the headings "Input" and "Output", as a boolean connective expresses a relation, not a computation.

Logic Gates

Article Layout

Typesetting of Operators

Truth Tables

For logic gates, the truth table should look like

Input Output
A B A OP B
0 0 ?
0 1 ?
1 0 ?
1 1 ?

using 1 and 0 as the truth-values, and starting with "0 0" at the top.

(This appears to be the style used in the articles on logic gates; I would prefer to start with "1 1", but there may be some reason I'm not aware of that they start with "0 0")

Engineering Notation

Engineering notation is recommended when writing formulae for logic gates.

Typesetting

Disjunction Use
Negation Use , not
Exclusive or Use
Logical conjunction Prefer over , except when used for emphasis