_            _    _        _         _
      /\ \         /\ \ /\ \     /\_\      / /\
      \_\ \       /  \ \\ \ \   / / /     / /  \
      /\__ \     / /\ \ \\ \ \_/ / /     / / /\ \__
     / /_ \ \   / / /\ \ \\ \___/ /     / / /\ \___\
    / / /\ \ \ / / /  \ \_\\ \ \_/      \ \ \ \/___/
   / / /  \/_// / /   / / / \ \ \        \ \ \
  / / /      / / /   / / /   \ \ \   _    \ \ \
 / / /      / / /___/ / /     \ \ \ /_/\__/ / /
/_/ /      / / /____\/ /       \ \_\\ \/___/ /
\_\/       \/_________/         \/_/ \_____\/
texlive-boolexpr 2024.2
Channel: guix
Location: gnu/packages/tex.scm (gnu packages tex)
Home page: https://ctan.org/pkg/boolexpr
Licenses: LPPL (any version)
Synopsis: Boolean expression evaluator and a switch command
Description:

The \boolexpr macro evaluates boolean expressions in a purely expandable way. \boolexpr{ A \OR B \AND C } expands to 0 if the logical expression is TRUE. A, B, C may be:

  • numeric expressions such as: x=y, x<>y, x>y or x<y;

  • boolean switches: \iftrue 0\else 1\fi;

  • conditionals: \ifcsname whatsit\endcsname 0\else 1\fi;

  • another \boolexpr: \boolexpr{ D \OR E \AND F }.

\boolexpr may be used with \ifcase.

The \switch command (which is also expandable) has the form: \switch \case{<boolean expression>} ... \case{<boolean expression>} ... ... \otherwise ... \endswitch.

Total results: 1