     add_menu(latexbar, templates)
 
     # TODO merge this with the usual text formatting toolbar, such that its list of actions is inserted here
+    # IDEA: maybe, clicking on the "Format" dropdown shows the cloned formatting toolbar?
     text = ["Format", "Text formatting",
             [
              ["<b>Bold</b>", "#bold"]

initialize_sage_python_r_toolbar()

initialize_latex_buttonbar = () ->
    latexbar = make_bar("")
    add_icon(latexbar, "<i class='fa fa-comment'></i>", "#comment", "Comment selected text")

    templates = ["Templates", "These templates come exclusively on top",

#

make_bar = (cls) ->
    cls ?= ""
    return $("<span class='btn-group #{cls}'></span>")

# this adds the content of a dropdown menu (basically, single or triple entries)
