   yield [ 'tex', "\\begin{tikzpicture}[ overlay, yshift = 0mm, yscale = -1, line cap = round ]%\n", ]
   yield [ 'tex', "\\tikzset{ x = #{me.unitheight} };%\n", ]
   yield [ 'tex', "\\tikzset{ y = #{me.unitheight} };%\n", ]
-  return null
+  yield return
 
 #-----------------------------------------------------------------------------------------------------------
 @_walk_closing_events = ( me ) ->
   yield [ 'tex', "\\end{tikzpicture}%\n", ]
   yield [ 'tex', "\\end{minipage}}}%\n", ]
   yield [ 'tex', "\\par% End of MKTS Table ====================================================================================\n\n", ]
-  return null
+  yield return
+
+#-----------------------------------------------------------------------------------------------------------
+@_walk_style_events = ( me ) ->
+  for key, value of me.styles
+    yield [ 'tex', "\\tikzset{#{key}/.style={#{value}}}%\n", ]
+  yield return
 
 #-----------------------------------------------------------------------------------------------------------
 @_walk_cellspacing_events = ( me ) ->

    for row_nr_1 from @_walk_row_numbers me, 'short'
      row_nr_2  = row_nr_1 + 1
      quad = "#{col_letter_1}#{row_nr_1}"
      yield [ 'tex', "\\draw[ red, line width = 0.2mm ] (quad #{quad} top    left)  -- (quad #{quad} top    right); % Quad a1 top\n",    ]
      yield [ 'tex', "\\draw[ red, line width = 0.2mm ] (quad #{quad} top    left)  -- (quad #{quad} bottom left);  % Quad a1 left\n",   ]
      yield [ 'tex', "\\draw[ red, line width = 0.2mm ] (quad #{quad} bottom left)  -- (quad #{quad} bottom right); % Quad a1 bottom\n", ]
      yield [ 'tex', "\\draw[ red, line width = 0.2mm ] (quad #{quad} top    right) -- (quad #{quad} bottom right); % Quad a1 right\n",  ]
  #.........................................................................................................
  return null

#-----------------------------------------------------------------------------------------------------------
@_walk_debugging_events = ( me ) ->

  return null

#-----------------------------------------------------------------------------------------------------------
@cellquads = ( me, text ) ->
  unless ( type = CND.type_of text ) is 'text'
    throw new Error "(MKTS/TABLE 9791) need a text for mkts-table/cellquads, got a #{type}"
  #.........................................................................................................
  @_ensure_gridwidth  me
  @_ensure_gridheight me
  @_ensure_unitvector me
  d           = @_parse_range_quadref me, text
  designation = d.tl.toUpperCase()
  if d.right > me.gridwidth
    throw new Error "(MKTS/TABLE 1274) cell exceeds grid width: #{rpr text}"
  if d.bottom > me.gridheight
    throw new Error "(MKTS/TABLE 6069) cell exceeds grid height: #{rpr text}"
  if me.cellquads[ designation ]?
    throw new Error "(MKTS/TABLE 6069) unable to redefine cell #{designation}: #{rpr text}"
  #.........................................................................................................
  me.cellquads[ designation ] = d
  return null

#-----------------------------------------------------------------------------------------------------------
@cellborder = ( me, text ) ->
  unless ( type = CND.type_of text ) is 'text'
    throw new Error "(MKTS/TABLE 9791) need a text for mkts-table/cellborder, got a #{type}"
  #.........................................................................................................
  d                 = @_parse_cellborder me, text
  if d.side is '*'
    for side in [ 'left', 'right', 'top', 'bottom', ]
      target            = me.cellborders[ d.cellref ]?= {}
      target[ side ]    = d.style
  else
    target            = me.cellborders[ d.cellref ]?= {}
    target[ d.side ]  = d.style
  #.........................................................................................................
  return null

#-----------------------------------------------------------------------------------------------------------
@quadgrid = ( me, text ) ->
  unless ( type = CND.type_of text ) is 'text'
    throw new Error "(MKTS/TABLE 9791) need a text for mkts-table/cell, got a #{type}"
  #.........................................................................................................
  switch text
    when 'true'   then me.quadgrid = true
    when 'false'  then me.quadgrid = false
    else throw new Error "(MKTS/TABLE 9791) expected 'true' or 'false' for mkts-table/quadgrid, got a #{rpr text}"
  #.........................................................................................................
  return null

