Spaces in formulas (GNU Algol 68 Coding Guidelines)

### 2.6 Spaces in formulas ¶

Do not put spaces after monadic operators whose representation is not a bold word.

However, if the monadic operator is represented by a bold word, always put a space between the operator and the operand, even when the operand starts with a parenthesis.

Always put spaces before and after dyadic operators if the formula is not parenthesized. Spaces are optional if the formula is parenthesized, provided the operator is not represented by a bold word. Note however that if long tags are involved extra spaces may be advisable even for parenthesized formulas.

Examples:

    { No space after non-bold monadic operators }
    int i = -10;

    { Always a space after bold monadic operator }
    int i = ABS (base + offset)

    { Spaces in dyadic opeator }
    total := a + b;
    index := cnt +:= 1;
    total := (a + b);
    index := (cnt +:= 1);
    total := (a+b);
    index := (cnt+:=1)