pub fn read_optional(default: Option<Tokens>) -> Result<Option<Tokens>>Expand description
Read and return a LaTeX optional argument
returns default if there is no ‘[’, otherwise the contents of the array.
Note that this returns an empty array if [] is present,
i.e. [contents] in TeX will lead to Tokens(contents), otherwise returns None