Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mathics/builtin/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Nand(Builtin):
"""
<dl>
<dt>'Nand[$expr1$, $expr2$, ...]'
<dt>'$expr1$ && $expr2$ && ...'
<dt>'$expr1$ \u22BC $expr2$ \u22BC ...'
<dd> Implements the logical NAND function. The same as 'Not[And['$expr1$, $expr2$, ...']]'
</dl>
>> Nand[True, False]
Expand All @@ -154,7 +154,7 @@ class Nor(Builtin):
"""
<dl>
<dt>'Nor[$expr1$, $expr2$, ...]'
<dt>'$expr1$ && $expr2$ && ...'
<dt>'$expr1$ \u22BD $expr2$ \u22BD ...'
<dd>Implements the logical NOR function. The same as 'Not[Or['$expr1$, $expr2$, ...']]'
</dl>
>> Nor[True, False]
Expand Down
2 changes: 2 additions & 0 deletions mathics/doc/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ def repl_list(match):
text,
[
("$", r"\$"),
("\u22bc", "nand"), # \barwedge isn't working
("\u22bd", "nor"), # \vebarr isn't working
("\u03c0", r"$\pi$"),
("\u2265", r"$\ge$"),
("\u2264", r"$\le$"),
Expand Down
1 change: 1 addition & 0 deletions mathics/doc/tex/mathics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
\usepackage{graphics}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathpazo}
\usepackage[mathpazo]{flexisym}
\usepackage{breqn}
Expand Down