Back to index

texmacs  1.0.7.15
Functions
concat_math.cpp File Reference
#include "concater.hpp"
#include "analyze.hpp"

Go to the source code of this file.

Functions

static string bracket_color (int nl)
static tree make_large (tree_label l, tree t)

Function Documentation

static string bracket_color ( int  nl) [static]

Definition at line 329 of file concat_math.cpp.

                       {
  switch (nl % 3) {
  case 0 : return "#662266";
  case 1 : return "#226666";
  default: return "#663322";
  }
}

Here is the caller graph for this function:

static tree make_large ( tree_label  l,
tree  t 
) [static]

Definition at line 338 of file concat_math.cpp.

                                  {
  if (!is_atomic (t)) return tree (l, ".");
  string s= t->label;
  if (N(s) <= 1) return tree (l, s);
  if (s[0] != '<' || s[N(s)-1] != '>' || s == "<nobracket>")
    return tree (l, ".");
  return tree (l, s (1, N(s)-1));
}

Here is the call graph for this function:

Here is the caller graph for this function: