Variable: ebnf-user-arrow

ebnf-user-arrow is a customizable variable defined in ebnf2ps.el.gz.

Value

nil

Documentation

Specify a sexp for user arrow shape (a PostScript code).

When evaluated, the sexp should return nil or a string containing PostScript code. PostScript code should draw a right arrow.

The anatomy of a right arrow is:

   ...... Initial position
   :
   : *.................
   : | * } }
   : | * } hT4 }
   v | * } }
   ======+======*... } hT2
   : | *: } }
   : | * : } hT4 }
   : | * : } }
   : *.................
   : : :
   : : :..........
   : : } hT2 }
   : :.......... } hT
   : } hT2 }
   :.......................

Where hT, hT2 and hT4 are predefined PostScript variable names that can be used to generate your own arrow. As these variables are used along PostScript execution, *DON'T* modify the values of them. Instead, copy the values, if you need to modify them.

The relation between these variables is: hT = 2 * hT2 = 4 * hT4.

The variable ebnf-user-arrow is only used when ebnf-arrow-shape is set to symbol user.

This variable was added, or its default value changed, in Emacs 20.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebnf2ps.el.gz
(defcustom ebnf-user-arrow nil
  "Specify a sexp for user arrow shape (a PostScript code).

When evaluated, the sexp should return nil or a string containing PostScript
code.  PostScript code should draw a right arrow.

The anatomy of a right arrow is:

   ...... Initial position
   :
   :     *.................
   :     | *       }      }
   :     |   *     } hT4  }
   v     |     *   }      }
   ======+======*...      } hT2
   :     |     *:  }      }
   :     |   *  :  } hT4  }
   :     | *    :  }      }
   :     *.................
   :     :      :
   :     :      :..........
   :     :         } hT2  }
   :     :..........      } hT
   :               } hT2  }
   :.......................

Where `hT', `hT2' and `hT4' are predefined PostScript variable names that can
be used to generate your own arrow.  As these variables are used along
PostScript execution, *DON'T* modify the values of them.  Instead, copy the
values, if you need to modify them.

The relation between these variables is: hT = 2 * hT2 = 4 * hT4.

The variable `ebnf-user-arrow' is only used when `ebnf-arrow-shape' is set to
symbol `user'."
  :type '(sexp :tag "User Arrow Shape")
  :version "20"
  :group 'ebnf-shape)