Logo Search packages:      
Sourcecode: latexila version File versions  Download package

latex_menu.c

/* latex_menu.c generated by valac 0.10.3, the Vala compiler
 * generated from latex_menu.vala, do not modify */

/*
 * This file is part of LaTeXila.
 *
 * Copyright © 2010 Sébastien Wilmet
 *
 * LaTeXila is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * LaTeXila is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with LaTeXila.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <gtksourceview/gtksourceview.h>


#define TYPE_LATEX_MENU (latex_menu_get_type ())
#define LATEX_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LATEX_MENU, LatexMenu))
#define LATEX_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LATEX_MENU, LatexMenuClass))
#define IS_LATEX_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LATEX_MENU))
#define IS_LATEX_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LATEX_MENU))
#define LATEX_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LATEX_MENU, LatexMenuClass))

typedef struct _LatexMenu LatexMenu;
typedef struct _LatexMenuClass LatexMenuClass;
typedef struct _LatexMenuPrivate LatexMenuPrivate;

#define TYPE_MAIN_WINDOW (main_window_get_type ())
#define MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN_WINDOW, MainWindow))
#define MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN_WINDOW, MainWindowClass))
#define IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN_WINDOW))
#define IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN_WINDOW))
#define MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN_WINDOW, MainWindowClass))

typedef struct _MainWindow MainWindow;
typedef struct _MainWindowClass MainWindowClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define TYPE_MENU_TOOL_ACTION (menu_tool_action_get_type ())
#define MENU_TOOL_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MENU_TOOL_ACTION, MenuToolAction))
#define MENU_TOOL_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MENU_TOOL_ACTION, MenuToolActionClass))
#define IS_MENU_TOOL_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MENU_TOOL_ACTION))
#define IS_MENU_TOOL_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MENU_TOOL_ACTION))
#define MENU_TOOL_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MENU_TOOL_ACTION, MenuToolActionClass))

typedef struct _MenuToolAction MenuToolAction;
typedef struct _MenuToolActionClass MenuToolActionClass;

#define TYPE_DOCUMENT_TAB (document_tab_get_type ())
#define DOCUMENT_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DOCUMENT_TAB, DocumentTab))
#define DOCUMENT_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DOCUMENT_TAB, DocumentTabClass))
#define IS_DOCUMENT_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DOCUMENT_TAB))
#define IS_DOCUMENT_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DOCUMENT_TAB))
#define DOCUMENT_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DOCUMENT_TAB, DocumentTabClass))

typedef struct _DocumentTab DocumentTab;
typedef struct _DocumentTabClass DocumentTabClass;

#define TYPE_DOCUMENT (document_get_type ())
#define DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DOCUMENT, Document))
#define DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DOCUMENT, DocumentClass))
#define IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DOCUMENT))
#define IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DOCUMENT))
#define DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DOCUMENT, DocumentClass))

typedef struct _Document Document;
typedef struct _DocumentClass DocumentClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define TYPE_DOCUMENT_VIEW (document_view_get_type ())
#define DOCUMENT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DOCUMENT_VIEW, DocumentView))
#define DOCUMENT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DOCUMENT_VIEW, DocumentViewClass))
#define IS_DOCUMENT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DOCUMENT_VIEW))
#define IS_DOCUMENT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DOCUMENT_VIEW))
#define DOCUMENT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DOCUMENT_VIEW, DocumentViewClass))

typedef struct _DocumentView DocumentView;
typedef struct _DocumentViewClass DocumentViewClass;

#define TYPE_SELECTION_TYPE (selection_type_get_type ())

00100 struct _LatexMenu {
      GtkActionGroup parent_instance;
      LatexMenuPrivate * priv;
};

00105 struct _LatexMenuClass {
      GtkActionGroupClass parent_class;
};

00109 struct _LatexMenuPrivate {
      MainWindow* main_window;
};

typedef enum  {
      SELECTION_TYPE_NO_SELECTION,
      SELECTION_TYPE_ONE_LINE,
      SELECTION_TYPE_MULTIPLE_LINES
} SelectionType;


static gpointer latex_menu_parent_class = NULL;

GType latex_menu_get_type (void) G_GNUC_CONST;
GType main_window_get_type (void) G_GNUC_CONST;
#define LATEX_MENU_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_LATEX_MENU, LatexMenuPrivate))
enum  {
      LATEX_MENU_DUMMY_PROPERTY
};
void latex_menu_on_sectioning_part (LatexMenu* self);
static void _latex_menu_on_sectioning_part_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_chapter (LatexMenu* self);
static void _latex_menu_on_sectioning_chapter_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_section (LatexMenu* self);
static void _latex_menu_on_sectioning_section_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_subsection (LatexMenu* self);
static void _latex_menu_on_sectioning_subsection_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_subsubsection (LatexMenu* self);
static void _latex_menu_on_sectioning_subsubsection_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_paragraph (LatexMenu* self);
static void _latex_menu_on_sectioning_paragraph_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_sectioning_subparagraph (LatexMenu* self);
static void _latex_menu_on_sectioning_subparagraph_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_label (LatexMenu* self);
static void _latex_menu_on_ref_label_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_ref (LatexMenu* self);
static void _latex_menu_on_ref_ref_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_pageref (LatexMenu* self);
static void _latex_menu_on_ref_pageref_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_index (LatexMenu* self);
static void _latex_menu_on_ref_index_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_footnote (LatexMenu* self);
static void _latex_menu_on_ref_footnote_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ref_cite (LatexMenu* self);
static void _latex_menu_on_ref_cite_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_center (LatexMenu* self);
static void _latex_menu_on_env_center_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_left (LatexMenu* self);
static void _latex_menu_on_env_left_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_right (LatexMenu* self);
static void _latex_menu_on_env_right_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_figure (LatexMenu* self);
static void _latex_menu_on_env_figure_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_table (LatexMenu* self);
static void _latex_menu_on_env_table_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_quote (LatexMenu* self);
static void _latex_menu_on_env_quote_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_quotation (LatexMenu* self);
static void _latex_menu_on_env_quotation_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_verse (LatexMenu* self);
static void _latex_menu_on_env_verse_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_verbatim (LatexMenu* self);
static void _latex_menu_on_env_verbatim_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_minipage (LatexMenu* self);
static void _latex_menu_on_env_minipage_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_env_titlepage (LatexMenu* self);
static void _latex_menu_on_env_titlepage_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_list_env_itemize (LatexMenu* self);
static void _latex_menu_on_list_env_itemize_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_list_env_enumerate (LatexMenu* self);
static void _latex_menu_on_list_env_enumerate_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_list_env_description (LatexMenu* self);
static void _latex_menu_on_list_env_description_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_list_env_list (LatexMenu* self);
static void _latex_menu_on_list_env_list_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_list_env_item (LatexMenu* self);
static void _latex_menu_on_list_env_item_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_tiny (LatexMenu* self);
static void _latex_menu_on_size_tiny_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_scriptsize (LatexMenu* self);
static void _latex_menu_on_size_scriptsize_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_footnotesize (LatexMenu* self);
static void _latex_menu_on_size_footnotesize_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_small (LatexMenu* self);
static void _latex_menu_on_size_small_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_normalsize (LatexMenu* self);
static void _latex_menu_on_size_normalsize_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_large (LatexMenu* self);
static void _latex_menu_on_size_large_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_Large (LatexMenu* self);
static void _latex_menu_on_size_Large_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_LARGE (LatexMenu* self);
static void _latex_menu_on_size_LARGE_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_huge (LatexMenu* self);
static void _latex_menu_on_size_huge_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_size_Huge (LatexMenu* self);
static void _latex_menu_on_size_Huge_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_bold (LatexMenu* self);
static void _latex_menu_on_text_bold_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_italic (LatexMenu* self);
static void _latex_menu_on_text_italic_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_typewriter (LatexMenu* self);
static void _latex_menu_on_text_typewriter_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_slanted (LatexMenu* self);
static void _latex_menu_on_text_slanted_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_small_caps (LatexMenu* self);
static void _latex_menu_on_text_small_caps_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_sans_serif (LatexMenu* self);
static void _latex_menu_on_text_sans_serif_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_emph (LatexMenu* self);
static void _latex_menu_on_text_emph_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_underline (LatexMenu* self);
static void _latex_menu_on_text_underline_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_family_roman (LatexMenu* self);
static void _latex_menu_on_text_font_family_roman_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_family_sans_serif (LatexMenu* self);
static void _latex_menu_on_text_font_family_sans_serif_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_family_monospace (LatexMenu* self);
static void _latex_menu_on_text_font_family_monospace_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_series_medium (LatexMenu* self);
static void _latex_menu_on_text_font_series_medium_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_series_bold (LatexMenu* self);
static void _latex_menu_on_text_font_series_bold_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_shape_upright (LatexMenu* self);
static void _latex_menu_on_text_font_shape_upright_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_shape_italic (LatexMenu* self);
static void _latex_menu_on_text_font_shape_italic_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_shape_slanted (LatexMenu* self);
static void _latex_menu_on_text_font_shape_slanted_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_text_font_shape_small_caps (LatexMenu* self);
static void _latex_menu_on_text_font_shape_small_caps_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_tabbing (LatexMenu* self);
static void _latex_menu_on_tabular_tabbing_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_tabular (LatexMenu* self);
static void _latex_menu_on_tabular_tabular_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_multicolumn (LatexMenu* self);
static void _latex_menu_on_tabular_multicolumn_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_hline (LatexMenu* self);
static void _latex_menu_on_tabular_hline_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_vline (LatexMenu* self);
static void _latex_menu_on_tabular_vline_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tabular_cline (LatexMenu* self);
static void _latex_menu_on_tabular_cline_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_new_line (LatexMenu* self);
static void _latex_menu_on_spacing_new_line_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_new_page (LatexMenu* self);
static void _latex_menu_on_spacing_new_page_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_line_break (LatexMenu* self);
static void _latex_menu_on_spacing_line_break_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_page_break (LatexMenu* self);
static void _latex_menu_on_spacing_page_break_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_bigskip (LatexMenu* self);
static void _latex_menu_on_spacing_bigskip_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_medskip (LatexMenu* self);
static void _latex_menu_on_spacing_medskip_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_hspace (LatexMenu* self);
static void _latex_menu_on_spacing_hspace_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_vspace (LatexMenu* self);
static void _latex_menu_on_spacing_vspace_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_spacing_noindent (LatexMenu* self);
static void _latex_menu_on_spacing_noindent_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent0 (LatexMenu* self);
static void _latex_menu_on_accent0_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent1 (LatexMenu* self);
static void _latex_menu_on_accent1_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent2 (LatexMenu* self);
static void _latex_menu_on_accent2_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent3 (LatexMenu* self);
static void _latex_menu_on_accent3_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent4 (LatexMenu* self);
static void _latex_menu_on_accent4_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent5 (LatexMenu* self);
static void _latex_menu_on_accent5_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent6 (LatexMenu* self);
static void _latex_menu_on_accent6_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent7 (LatexMenu* self);
static void _latex_menu_on_accent7_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent8 (LatexMenu* self);
static void _latex_menu_on_accent8_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent9 (LatexMenu* self);
static void _latex_menu_on_accent9_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent10 (LatexMenu* self);
static void _latex_menu_on_accent10_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent11 (LatexMenu* self);
static void _latex_menu_on_accent11_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent12 (LatexMenu* self);
static void _latex_menu_on_accent12_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent13 (LatexMenu* self);
static void _latex_menu_on_accent13_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent14 (LatexMenu* self);
static void _latex_menu_on_accent14_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_accent15 (LatexMenu* self);
static void _latex_menu_on_accent15_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_documentclass (LatexMenu* self);
static void _latex_menu_on_documentclass_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_usepackage (LatexMenu* self);
static void _latex_menu_on_usepackage_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_ams_packages (LatexMenu* self);
static void _latex_menu_on_ams_packages_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_author (LatexMenu* self);
static void _latex_menu_on_author_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_title (LatexMenu* self);
static void _latex_menu_on_title_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_begin_document (LatexMenu* self);
static void _latex_menu_on_begin_document_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_maketitle (LatexMenu* self);
static void _latex_menu_on_maketitle_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_tableofcontents (LatexMenu* self);
static void _latex_menu_on_tableofcontents_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_abstract (LatexMenu* self);
static void _latex_menu_on_abstract_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_include_graphics (LatexMenu* self);
static void _latex_menu_on_include_graphics_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_input (LatexMenu* self);
static void _latex_menu_on_input_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_env_normal (LatexMenu* self);
static void _latex_menu_on_math_env_normal_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_env_centered (LatexMenu* self);
static void _latex_menu_on_math_env_centered_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_env_numbered (LatexMenu* self);
static void _latex_menu_on_math_env_numbered_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_env_array (LatexMenu* self);
static void _latex_menu_on_math_env_array_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_env_numbered_array (LatexMenu* self);
static void _latex_menu_on_math_env_numbered_array_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_superscript (LatexMenu* self);
static void _latex_menu_on_math_superscript_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_subscript (LatexMenu* self);
static void _latex_menu_on_math_subscript_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_frac (LatexMenu* self);
static void _latex_menu_on_math_frac_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_square_root (LatexMenu* self);
static void _latex_menu_on_math_square_root_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_nth_root (LatexMenu* self);
static void _latex_menu_on_math_nth_root_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_arccos (LatexMenu* self);
static void _latex_menu_on_math_func_arccos_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_arcsin (LatexMenu* self);
static void _latex_menu_on_math_func_arcsin_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_arctan (LatexMenu* self);
static void _latex_menu_on_math_func_arctan_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_cos (LatexMenu* self);
static void _latex_menu_on_math_func_cos_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_cosh (LatexMenu* self);
static void _latex_menu_on_math_func_cosh_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_cot (LatexMenu* self);
static void _latex_menu_on_math_func_cot_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_coth (LatexMenu* self);
static void _latex_menu_on_math_func_coth_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_csc (LatexMenu* self);
static void _latex_menu_on_math_func_csc_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_deg (LatexMenu* self);
static void _latex_menu_on_math_func_deg_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_det (LatexMenu* self);
static void _latex_menu_on_math_func_det_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_dim (LatexMenu* self);
static void _latex_menu_on_math_func_dim_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_exp (LatexMenu* self);
static void _latex_menu_on_math_func_exp_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_gcd (LatexMenu* self);
static void _latex_menu_on_math_func_gcd_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_hom (LatexMenu* self);
static void _latex_menu_on_math_func_hom_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_inf (LatexMenu* self);
static void _latex_menu_on_math_func_inf_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_ker (LatexMenu* self);
static void _latex_menu_on_math_func_ker_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_lg (LatexMenu* self);
static void _latex_menu_on_math_func_lg_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_lim (LatexMenu* self);
static void _latex_menu_on_math_func_lim_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_liminf (LatexMenu* self);
static void _latex_menu_on_math_func_liminf_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_limsup (LatexMenu* self);
static void _latex_menu_on_math_func_limsup_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_ln (LatexMenu* self);
static void _latex_menu_on_math_func_ln_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_log (LatexMenu* self);
static void _latex_menu_on_math_func_log_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_max (LatexMenu* self);
static void _latex_menu_on_math_func_max_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_min (LatexMenu* self);
static void _latex_menu_on_math_func_min_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_sec (LatexMenu* self);
static void _latex_menu_on_math_func_sec_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_sin (LatexMenu* self);
static void _latex_menu_on_math_func_sin_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_sinh (LatexMenu* self);
static void _latex_menu_on_math_func_sinh_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_sup (LatexMenu* self);
static void _latex_menu_on_math_func_sup_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_tan (LatexMenu* self);
static void _latex_menu_on_math_func_tan_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_func_tanh (LatexMenu* self);
static void _latex_menu_on_math_func_tanh_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_rm (LatexMenu* self);
static void _latex_menu_on_math_font_style_rm_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_it (LatexMenu* self);
static void _latex_menu_on_math_font_style_it_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_bf (LatexMenu* self);
static void _latex_menu_on_math_font_style_bf_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_sf (LatexMenu* self);
static void _latex_menu_on_math_font_style_sf_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_tt (LatexMenu* self);
static void _latex_menu_on_math_font_style_tt_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_cal (LatexMenu* self);
static void _latex_menu_on_math_font_style_cal_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_bb (LatexMenu* self);
static void _latex_menu_on_math_font_style_bb_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_font_style_frak (LatexMenu* self);
static void _latex_menu_on_math_font_style_frak_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_acute (LatexMenu* self);
static void _latex_menu_on_math_accent_acute_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_grave (LatexMenu* self);
static void _latex_menu_on_math_accent_grave_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_tilde (LatexMenu* self);
static void _latex_menu_on_math_accent_tilde_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_bar (LatexMenu* self);
static void _latex_menu_on_math_accent_bar_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_vec (LatexMenu* self);
static void _latex_menu_on_math_accent_vec_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_hat (LatexMenu* self);
static void _latex_menu_on_math_accent_hat_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_check (LatexMenu* self);
static void _latex_menu_on_math_accent_check_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_breve (LatexMenu* self);
static void _latex_menu_on_math_accent_breve_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_dot (LatexMenu* self);
static void _latex_menu_on_math_accent_dot_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_ddot (LatexMenu* self);
static void _latex_menu_on_math_accent_ddot_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_accent_ring (LatexMenu* self);
static void _latex_menu_on_math_accent_ring_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_space_small (LatexMenu* self);
static void _latex_menu_on_math_space_small_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_space_medium (LatexMenu* self);
static void _latex_menu_on_math_space_medium_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_space_large (LatexMenu* self);
static void _latex_menu_on_math_space_large_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_space_quad (LatexMenu* self);
static void _latex_menu_on_math_space_quad_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_space_qquad (LatexMenu* self);
static void _latex_menu_on_math_space_qquad_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_1 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_1_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_2 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_2_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_3 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_3_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_4 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_4_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_5 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_5_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_6 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_6_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_7 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_7_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_8 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_8_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_left_delimiter_9 (LatexMenu* self);
static void _latex_menu_on_math_left_delimiter_9_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_1 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_1_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_2 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_2_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_3 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_3_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_4 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_4_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_5 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_5_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_6 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_6_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_7 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_7_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_8 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_8_gtk_action_callback (GtkAction* action, gpointer self);
void latex_menu_on_math_right_delimiter_9 (LatexMenu* self);
static void _latex_menu_on_math_right_delimiter_9_gtk_action_callback (GtkAction* action, gpointer self);
LatexMenu* latex_menu_new (MainWindow* main_window);
LatexMenu* latex_menu_construct (GType object_type, MainWindow* main_window);
static GtkAction* latex_menu_get_menu_tool_action (LatexMenu* self, const char* name, const char* label, const char* stock_id);
MenuToolAction* menu_tool_action_new (const char* name, const char* label, const char* tooltip, const char* stock_id);
MenuToolAction* menu_tool_action_construct (GType object_type, const char* name, const char* label, const char* tooltip, const char* stock_id);
GType menu_tool_action_get_type (void) G_GNUC_CONST;
static void latex_menu_text_buffer_insert (LatexMenu* self, const char* text_before, const char* text_after, const char* text_if_no_selection);
GType document_tab_get_type (void) G_GNUC_CONST;
DocumentTab* main_window_get_active_tab (MainWindow* self);
GType document_get_type (void) G_GNUC_CONST;
Document* main_window_get_active_document (MainWindow* self);
char* document_get_current_indentation (Document* self, gint line);
void document_insert (Document* self, GtkTextIter* iter, const char* text, gint len);
static char* latex_menu_get_indentation (LatexMenu* self);
GType document_view_get_type (void) G_GNUC_CONST;
DocumentView* main_window_get_active_view (MainWindow* self);
char* document_view_get_indentation_style (DocumentView* self);
static void latex_menu_insert_character_style (LatexMenu* self, const char* style);
GType selection_type_get_type (void) G_GNUC_CONST;
SelectionType document_get_selection_type (Document* self);
static void latex_menu_finalize (GObject* obj);
static int _vala_strcmp0 (const char * str1, const char * str2);

static const GtkActionEntry LATEX_MENU_latex_action_entries[202] = {{"Latex", NULL, "_LaTeX"}, {"Sectioning", "sectioning-section", N_ ("_Sectioning")}, {"SectioningPart", "sectioning-part", "\\_part", NULL, N_ ("Part"), (GCallback) _latex_menu_on_sectioning_part_gtk_action_callback}, {"SectioningChapter", "sectioning-chapter", "\\_chapter", NULL, N_ ("Chapter"), (GCallback) _latex_menu_on_sectioning_chapter_gtk_action_callback}, {"SectioningSection", "sectioning-section", "\\_section", NULL, N_ ("Section"), (GCallback) _latex_menu_on_sectioning_section_gtk_action_callback}, {"SectioningSubsection", "sectioning-subsection", "\\s_ubsection", NULL, N_ ("Sub-section"), (GCallback) _latex_menu_on_sectioning_subsection_gtk_action_callback}, {"SectioningSubsubsection", "sectioning-subsubsection", "\\su_bsubsection", NULL, N_ ("Sub-sub-section"), (GCallback) _latex_menu_on_sectioning_subsubsection_gtk_action_callback}, {"SectioningParagraph", "sectioning-paragraph", "\\p_aragraph", NULL, N_ ("Paragraph"), (GCallback) _latex_menu_on_sectioning_paragraph_gtk_action_callback}, {"SectioningSubparagraph", "sectioning-paragraph", "\\subpa_ragraph", NULL, N_ ("Sub-paragraph"), (GCallback) _latex_menu_on_sectioning_subparagraph_gtk_action_callback}, {"References", "references", N_ ("_References")}, {"ReferencesLabel", NULL, "\\_label", NULL, N_ ("Label"), (GCallback) _latex_menu_on_ref_label_gtk_action_callback}, {"ReferencesRef", NULL, "\\_ref", NULL, N_ ("Reference to a label"), (GCallback) _latex_menu_on_ref_ref_gtk_action_callback}, {"ReferencesPageref", NULL, "\\_pageref", NULL, N_ ("Page reference to a label"), (GCallback) _latex_menu_on_ref_pageref_gtk_action_callback}, {"ReferencesIndex", NULL, "\\_index", NULL, N_ ("Add a word to the index"), (GCallback) _latex_menu_on_ref_index_gtk_action_callback}, {"ReferencesFootnote", NULL, "\\_footnote", NULL, N_ ("Footnote"), (GCallback) _latex_menu_on_ref_footnote_gtk_action_callback}, {"ReferencesCite", NULL, "\\_cite", NULL, N_ ("Reference to a bibliography item"), (GCallback) _latex_menu_on_ref_cite_gtk_action_callback}, {"Environments", GTK_STOCK_JUSTIFY_CENTER, "_Environments"}, {"EnvCenter", GTK_STOCK_JUSTIFY_CENTER, "\\begin{_center}", NULL, N_ ("Center - \\begin{center}"), (GCallback) _latex_menu_on_env_center_gtk_action_callback}, {"EnvLeft", GTK_STOCK_JUSTIFY_LEFT, "\\begin{flush_left}", NULL, N_ ("Align Left - \\begin{flushleft}"), (GCallback) _latex_menu_on_env_left_gtk_action_callback}, {"EnvRight", GTK_STOCK_JUSTIFY_RIGHT, "\\begin{flush_right}", NULL, N_ ("Align Right - \\begin{flushright}"), (GCallback) _latex_menu_on_env_right_gtk_action_callback}, {"EnvFigure", NULL, "\\begin{_figure}", NULL, N_ ("Figure - \\begin{figure}"), (GCallback) _latex_menu_on_env_figure_gtk_action_callback}, {"EnvTable", NULL, "\\begin{_table}", NULL, N_ ("Table - \\begin{table}"), (GCallback) _latex_menu_on_env_table_gtk_action_callback}, {"EnvQuote", NULL, "\\begin{_quote}", NULL, N_ ("Quote - \\begin{quote}"), (GCallback) _latex_menu_on_env_quote_gtk_action_callback}, {"EnvQuotation", NULL, "\\begin{qu_otation}", NULL, N_ ("Quotation - \\begin{quotation}"), (GCallback) _latex_menu_on_env_quotation_gtk_action_callback}, {"EnvVerse", NULL, "\\begin{_verse}", NULL, N_ ("Verse - \\begin{verse}"), (GCallback) _latex_menu_on_env_verse_gtk_action_callback}, {"EnvVerbatim", NULL, "\\begin{ver_batim}", NULL, N_ ("Verbatim - \\begin{verbatim}"), (GCallback) _latex_menu_on_env_verbatim_gtk_action_callback}, {"EnvMinipage", NULL, "\\begin{_minipage}", NULL, N_ ("Minipage - \\begin{minipage}"), (GCallback) _latex_menu_on_env_minipage_gtk_action_callback}, {"EnvTitlepage", NULL, "\\begin{titlepage}", NULL, N_ ("Title page - \\begin{titlepage}"), (GCallback) _latex_menu_on_env_titlepage_gtk_action_callback}, {"ListEnvironments", "list-enumerate", N_ ("_List Environments")}, {"ListEnvItemize", "list-itemize", "\\begin{_itemize}", NULL, N_ ("Bulleted List - \\begin{itemize}"), (GCallback) _latex_menu_on_list_env_itemize_gtk_action_callback}, {"ListEnvEnumerate", "list-enumerate", "\\begin{_enumerate}", NULL, N_ ("Enumeration - \\begin{enumerate}"), (GCallback) _latex_menu_on_list_env_enumerate_gtk_action_callback}, {"ListEnvDescription", "list-description", "\\begin{_description}", NULL, N_ ("Description - \\begin{description}"), (GCallback) _latex_menu_on_list_env_description_gtk_action_callback}, {"ListEnvList", NULL, "\\begin{_list}", NULL, N_ ("Custom list - \\begin{list}"), (GCallback) _latex_menu_on_list_env_list_gtk_action_callback}, {"ListEnvItem", "list-item", "\\i_tem", "<Alt><Shift>H", N_ ("List item - \\item"), (GCallback) _latex_menu_on_list_env_item_gtk_action_callback}, {"CharacterSize", "character-size", N_ ("_Characters Sizes")}, {"CharacterSizeTiny", NULL, "_tiny", NULL, "tiny", (GCallback) _latex_menu_on_size_tiny_gtk_action_callback}, {"CharacterSizeScriptsize", NULL, "_scriptsize", NULL, "scriptsize", (GCallback) _latex_menu_on_size_scriptsize_gtk_action_callback}, {"CharacterSizeFootnotesize", NULL, "_footnotesize", NULL, "footnotesize", (GCallback) _latex_menu_on_size_footnotesize_gtk_action_callback}, {"CharacterSizeSmall", NULL, "s_mall", NULL, "small", (GCallback) _latex_menu_on_size_small_gtk_action_callback}, {"CharacterSizeNormalsize", NULL, "_normalsize", NULL, "normalsize", (GCallback) _latex_menu_on_size_normalsize_gtk_action_callback}, {"CharacterSizelarge", NULL, "_large", NULL, "large", (GCallback) _latex_menu_on_size_large_gtk_action_callback}, {"CharacterSizeLarge", NULL, "L_arge", NULL, "Large", (GCallback) _latex_menu_on_size_Large_gtk_action_callback}, {"CharacterSizeLARGE", NULL, "LA_RGE", NULL, "LARGE", (GCallback) _latex_menu_on_size_LARGE_gtk_action_callback}, {"CharacterSizehuge", NULL, "_huge", NULL, "huge", (GCallback) _latex_menu_on_size_huge_gtk_action_callback}, {"CharacterSizeHuge", NULL, "H_uge", NULL, "Huge", (GCallback) _latex_menu_on_size_Huge_gtk_action_callback}, {"FontStyles", "bold", N_ ("_Font Styles")}, {"Bold", "bold", "\\text_bf", "<Alt><Shift>B", N_ ("Bold - \\textbf"), (GCallback) _latex_menu_on_text_bold_gtk_action_callback}, {"Italic", "italic", "\\text_it", "<Alt><Shift>I", N_ ("Italic - \\textit"), (GCallback) _latex_menu_on_text_italic_gtk_action_callback}, {"Typewriter", "typewriter", "\\text_tt", "<Alt><Shift>T", N_ ("Typewriter - \\texttt"), (GCallback) _latex_menu_on_text_typewriter_gtk_action_callback}, {"Slanted", "slanted", "\\text_sl", "<Alt><Shift>S", N_ ("Slanted - \\textsl"), (GCallback) _latex_menu_on_text_slanted_gtk_action_callback}, {"SmallCaps", "small_caps", "\\texts_c", "<Alt><Shift>C", N_ ("Small Capitals - \\textsc"), (GCallback) _latex_menu_on_text_small_caps_gtk_action_callback}, {"SansSerif", "sans_serif", "\\texts_f", NULL, N_ ("Sans Serif - \\textsf"), (GCallback) _latex_menu_on_text_sans_serif_gtk_action_callback}, {"Emph", NULL, "\\_emph", NULL, N_ ("Emphasized - \\emph"), (GCallback) _latex_menu_on_text_emph_gtk_action_callback}, {"Underline", "underline", "\\_underline", NULL, N_ ("Underline - \\underline"), (GCallback) _latex_menu_on_text_underline_gtk_action_callback}, {"FontFamily", NULL, N_ ("_Font Family")}, {"FontFamilyRoman", "roman", "\\_rmfamily", NULL, N_ ("Roman - \\rmfamily"), (GCallback) _latex_menu_on_text_font_family_roman_gtk_action_callback}, {"FontFamilySansSerif", "sans_serif", "\\_sffamily", NULL, N_ ("Sans Serif - \\sffamily"), (GCallback) _latex_menu_on_text_font_family_sans_serif_gtk_action_callback}, {"FontFamilyMonospace", "typewriter", "\\_ttfamily", NULL, N_ ("Monospace - \\ttfamily"), (GCallback) _latex_menu_on_text_font_family_monospace_gtk_action_callback}, {"FontSeries", NULL, N_ ("F_ont Series")}, {"FontSeriesMedium", "roman", "\\_mdseries", NULL, N_ ("Medium - \\mdseries"), (GCallback) _latex_menu_on_text_font_series_medium_gtk_action_callback}, {"FontSeriesBold", "bold", "\\_bfseries", NULL, N_ ("Bold - \\bfseries"), (GCallback) _latex_menu_on_text_font_series_bold_gtk_action_callback}, {"FontShape", NULL, N_ ("Fo_nt Shape")}, {"FontShapeUpright", "roman", "\\_upshape", NULL, N_ ("Upright - \\upshape"), (GCallback) _latex_menu_on_text_font_shape_upright_gtk_action_callback}, {"FontShapeItalic", "italic", "\\_itshape", NULL, N_ ("Italic - \\itshape"), (GCallback) _latex_menu_on_text_font_shape_italic_gtk_action_callback}, {"FontShapeSlanted", "slanted", "\\_slshape", NULL, N_ ("Slanted - \\slshape"), (GCallback) _latex_menu_on_text_font_shape_slanted_gtk_action_callback}, {"FontShapeSmallCaps", "small_caps", "\\s_cshape", NULL, N_ ("Small Capitals - \\scshape"), (GCallback) _latex_menu_on_text_font_shape_small_caps_gtk_action_callback}, {"Tabular", NULL, N_ ("_Tabular")}, {"TabularTabbing", NULL, "\\begin{ta_bbing}", NULL, N_ ("Tabbing - \\begin{tabbing}"), (GCallback) _latex_menu_on_tabular_tabbing_gtk_action_callback}, {"TabularTabular", NULL, "\\begin{_tabular}", NULL, N_ ("Tabular - \\begin{tabular}"), (GCallback) _latex_menu_on_tabular_tabular_gtk_action_callback}, {"TabularMulticolumn", NULL, "\\_multicolumn", NULL, N_ ("Multicolumn - \\multicolumn"), (GCallback) _latex_menu_on_tabular_multicolumn_gtk_action_callback}, {"TabularHline", NULL, "\\_hline", NULL, N_ ("Horizontal line - \\hline"), (GCallback) _latex_menu_on_tabular_hline_gtk_action_callback}, {"TabularVline", NULL, "\\_vline", NULL, N_ ("Vertical line - \\vline"), (GCallback) _latex_menu_on_tabular_vline_gtk_action_callback}, {"TabularCline", NULL, "\\_cline", NULL, N_ ("Horizontal line (columns specified) - \\cline"), (GCallback) _latex_menu_on_tabular_cline_gtk_action_callback}, {"Spacing", NULL, N_ ("_Spacing")}, {"SpacingNewLine", NULL, N_ ("New _Line"), NULL, N_ ("New Line - \\\\"), (GCallback) _latex_menu_on_spacing_new_line_gtk_action_callback}, {"SpacingNewPage", NULL, "\\new_page", NULL, N_ ("New page - \\newpage"), (GCallback) _latex_menu_on_spacing_new_page_gtk_action_callback}, {"SpacingLineBreak", NULL, "\\l_inebreak", NULL, N_ ("Line break - \\linebreak"), (GCallback) _latex_menu_on_spacing_line_break_gtk_action_callback}, {"SpacingPageBreak", NULL, "\\p_agebreak", NULL, N_ ("Page break - \\pagebreak"), (GCallback) _latex_menu_on_spacing_page_break_gtk_action_callback}, {"SpacingBigSkip", NULL, "\\_bigskip", NULL, N_ ("Big skip - \\bigskip"), (GCallback) _latex_menu_on_spacing_bigskip_gtk_action_callback}, {"SpacingMedSkip", NULL, "\\_medskip", NULL, N_ ("Medium skip - \\medskip"), (GCallback) _latex_menu_on_spacing_medskip_gtk_action_callback}, {"SpacingHSpace", NULL, "\\_hspace", NULL, N_ ("Horizontal space - \\hspace"), (GCallback) _latex_menu_on_spacing_hspace_gtk_action_callback}, {"SpacingVSpace", NULL, "\\_vspace", NULL, N_ ("Vertical space - \\vspace"), (GCallback) _latex_menu_on_spacing_vspace_gtk_action_callback}, {"SpacingNoIndent", NULL, "\\_noindent", NULL, N_ ("No paragraph indentation - \\noindent"), (GCallback) _latex_menu_on_spacing_noindent_gtk_action_callback}, {"Accents", NULL, N_ ("International _Accents")}, {"Accent0", "accent0", "\\'", NULL, N_ ("Acute accent - \\'"), (GCallback) _latex_menu_on_accent0_gtk_action_callback}, {"Accent1", "accent1", "\\`", NULL, N_ ("Grave accent - \\`"), (GCallback) _latex_menu_on_accent1_gtk_action_callback}, {"Accent2", "accent2", "\\^", NULL, N_ ("Circumflex accent - \\^"), (GCallback) _latex_menu_on_accent2_gtk_action_callback}, {"Accent3", "accent3", "\\\"", NULL, N_ ("Trema - \\\""), (GCallback) _latex_menu_on_accent3_gtk_action_callback}, {"Accent4", "accent4", "\\~", NULL, N_ ("Tilde - \\~"), (GCallback) _latex_menu_on_accent4_gtk_action_callback}, {"Accent5", "accent5", "\\=", NULL, N_ ("Macron - \\="), (GCallback) _latex_menu_on_accent5_gtk_action_callback}, {"Accent6", "accent6", "\\.", NULL, N_ ("Dot - \\."), (GCallback) _latex_menu_on_accent6_gtk_action_callback}, {"Accent7", "accent7", "\\v", NULL, N_ ("Caron - \\v"), (GCallback) _latex_menu_on_accent7_gtk_action_callback}, {"Accent8", "accent8", "\\u", NULL, N_ ("Breve - \\u"), (GCallback) _latex_menu_on_accent8_gtk_action_callback}, {"Accent9", "accent9", "\\H", NULL, N_ ("Double acute accent - \\H"), (GCallback) _latex_menu_on_accent9_gtk_action_callback}, {"Accent10", "accent10", "\\c", NULL, NULL, (GCallback) _latex_menu_on_accent10_gtk_action_callback}, {"Accent11", "accent11", "\\k", NULL, NULL, (GCallback) _latex_menu_on_accent11_gtk_action_callback}, {"Accent12", "accent12", "\\d", NULL, NULL, (GCallback) _latex_menu_on_accent12_gtk_action_callback}, {"Accent13", "accent13", "\\b", NULL, NULL, (GCallback) _latex_menu_on_accent13_gtk_action_callback}, {"Accent14", "accent14", "\\r", NULL, NULL, (GCallback) _latex_menu_on_accent14_gtk_action_callback}, {"Accent15", "accent15", "\\t", NULL, NULL, (GCallback) _latex_menu_on_accent15_gtk_action_callback}, {"LatexMisc", NULL, N_ ("_Misc")}, {"LatexDocumentClass", NULL, "\\_documentclass", NULL, N_ ("Document class - \\documentclass"), (GCallback) _latex_menu_on_documentclass_gtk_action_callback}, {"LatexUsepackage", NULL, "\\_usepackage", NULL, N_ ("Use package - \\usepackage"), (GCallback) _latex_menu_on_usepackage_gtk_action_callback}, {"LatexAMS", NULL, N_ ("_AMS packages"), NULL, N_ ("AMS packages"), (GCallback) _latex_menu_on_ams_packages_gtk_action_callback}, {"LatexAuthor", NULL, "\\au_thor", NULL, N_ ("Author - \\author"), (GCallback) _latex_menu_on_author_gtk_action_callback}, {"LatexTitle", NULL, "\\t_itle", NULL, N_ ("Title - \\title"), (GCallback) _latex_menu_on_title_gtk_action_callback}, {"LatexBeginDocument", NULL, "\\begin{d_ocument}", NULL, N_ ("Content of the document - \\begin{document}"), (GCallback) _latex_menu_on_begin_document_gtk_action_callback}, {"LatexMakeTitle", NULL, "\\_maketitle", NULL, N_ ("Make title - \\maketitle"), (GCallback) _latex_menu_on_maketitle_gtk_action_callback}, {"LatexTableOfContents", NULL, "\\tableof_contents", NULL, N_ ("Table of contents - \\tableofcontents"), (GCallback) _latex_menu_on_tableofcontents_gtk_action_callback}, {"LatexAbstract", NULL, "\\begin{abst_ract}", NULL, N_ ("Abstract - \\begin{abstract}"), (GCallback) _latex_menu_on_abstract_gtk_action_callback}, {"LatexIncludeGraphics", NULL, "\\include_graphics", NULL, N_ ("Include an image (graphicx package) - \\includegraphics"), (GCallback) _latex_menu_on_include_graphics_gtk_action_callback}, {"LatexInput", NULL, "\\_input", NULL, N_ ("Include a file - \\input"), (GCallback) _latex_menu_on_input_gtk_action_callback}, {"Math", NULL, N_ ("_Math")}, {"MathEnvironments", NULL, N_ ("_Math Environments")}, {"MathEnvNormal", "math", N_ ("_Mathematical Environment - $...$"), "<Alt><Shift>M", N_ ("Mathematical Environment - $...$"), (GCallback) _latex_menu_on_math_env_normal_gtk_action_callback}, {"MathEnvCentered", "math-centered", N_ ("_Centered Formula - \\[...\\]"), "<Alt><Shift>E", N_ ("Centered Formula - \\[...\\]"), (GCallback) _latex_menu_on_math_env_centered_gtk_action_callback}, {"MathEnvNumbered", "math-numbered", N_ ("_Numbered Equation - \\begin{equation}"), NULL, N_ ("Numbered Equation - \\begin{equation}"), (GCallback) _latex_menu_on_math_env_numbered_gtk_action_callback}, {"MathEnvArray", "math-array", N_ ("_Array of Equations - \\begin{align*}"), NULL, N_ ("Array of Equations - \\begin{align*}"), (GCallback) _latex_menu_on_math_env_array_gtk_action_callback}, {"MathEnvNumberedArray", "math-numbered-array", N_ ("Numbered Array of _Equations - \\begin{align}"), NULL, N_ ("Numbered Array of Equations - \\begin{align}"), (GCallback) _latex_menu_on_math_env_numbered_array_gtk_action_callback}, {"MathSuperscript", "math-superscript", N_ ("_Superscript - ^{}"), NULL, N_ ("Superscript - ^{}"), (GCallback) _latex_menu_on_math_superscript_gtk_action_callback}, {"MathSubscript", "math-subscript", N_ ("Su_bscript - __{}"), NULL, N_ ("Subscript - _{}"), (GCallback) _latex_menu_on_math_subscript_gtk_action_callback}, {"MathFrac", "math-frac", N_ ("_Fraction - \\frac{}{}"), "<Alt><Shift>F", N_ ("Fraction - \\frac{}{}"), (GCallback) _latex_menu_on_math_frac_gtk_action_callback}, {"MathSquareRoot", "math-square-root", N_ ("Square _Root - \\sqrt{}"), NULL, N_ ("Square Root - \\sqrt{}"), (GCallback) _latex_menu_on_math_square_root_gtk_action_callback}, {"MathNthRoot", "math-nth-root", N_ ("_N-th Root - \\sqrt[]{}"), NULL, N_ ("N-th Root - \\sqrt[]{}"), (GCallback) _latex_menu_on_math_nth_root_gtk_action_callback}, {"MathFunctions", NULL, N_ ("Math _Functions")}, {"MathFuncArccos", NULL, "\\arccos", NULL, NULL, (GCallback) _latex_menu_on_math_func_arccos_gtk_action_callback}, {"MathFuncArcsin", NULL, "\\arcsin", NULL, NULL, (GCallback) _latex_menu_on_math_func_arcsin_gtk_action_callback}, {"MathFuncArctan", NULL, "\\arctan", NULL, NULL, (GCallback) _latex_menu_on_math_func_arctan_gtk_action_callback}, {"MathFuncCos", NULL, "\\cos", NULL, NULL, (GCallback) _latex_menu_on_math_func_cos_gtk_action_callback}, {"MathFuncCosh", NULL, "\\cosh", NULL, NULL, (GCallback) _latex_menu_on_math_func_cosh_gtk_action_callback}, {"MathFuncCot", NULL, "\\cot", NULL, NULL, (GCallback) _latex_menu_on_math_func_cot_gtk_action_callback}, {"MathFuncCoth", NULL, "\\coth", NULL, NULL, (GCallback) _latex_menu_on_math_func_coth_gtk_action_callback}, {"MathFuncCsc", NULL, "\\csc", NULL, NULL, (GCallback) _latex_menu_on_math_func_csc_gtk_action_callback}, {"MathFuncDeg", NULL, "\\deg", NULL, NULL, (GCallback) _latex_menu_on_math_func_deg_gtk_action_callback}, {"MathFuncDet", NULL, "\\det", NULL, NULL, (GCallback) _latex_menu_on_math_func_det_gtk_action_callback}, {"MathFuncDim", NULL, "\\dim", NULL, NULL, (GCallback) _latex_menu_on_math_func_dim_gtk_action_callback}, {"MathFuncExp", NULL, "\\exp", NULL, NULL, (GCallback) _latex_menu_on_math_func_exp_gtk_action_callback}, {"MathFuncGcd", NULL, "\\gcd", NULL, NULL, (GCallback) _latex_menu_on_math_func_gcd_gtk_action_callback}, {"MathFuncHom", NULL, "\\hom", NULL, NULL, (GCallback) _latex_menu_on_math_func_hom_gtk_action_callback}, {"MathFuncInf", NULL, "\\inf", NULL, NULL, (GCallback) _latex_menu_on_math_func_inf_gtk_action_callback}, {"MathFuncKer", NULL, "\\ker", NULL, NULL, (GCallback) _latex_menu_on_math_func_ker_gtk_action_callback}, {"MathFuncLg", NULL, "\\lg", NULL, NULL, (GCallback) _latex_menu_on_math_func_lg_gtk_action_callback}, {"MathFuncLim", NULL, "\\lim", NULL, NULL, (GCallback) _latex_menu_on_math_func_lim_gtk_action_callback}, {"MathFuncLiminf", NULL, "\\liminf", NULL, NULL, (GCallback) _latex_menu_on_math_func_liminf_gtk_action_callback}, {"MathFuncLimsup", NULL, "\\limsup", NULL, NULL, (GCallback) _latex_menu_on_math_func_limsup_gtk_action_callback}, {"MathFuncLn", NULL, "\\ln", NULL, NULL, (GCallback) _latex_menu_on_math_func_ln_gtk_action_callback}, {"MathFuncLog", NULL, "\\log", NULL, NULL, (GCallback) _latex_menu_on_math_func_log_gtk_action_callback}, {"MathFuncMax", NULL, "\\max", NULL, NULL, (GCallback) _latex_menu_on_math_func_max_gtk_action_callback}, {"MathFuncMin", NULL, "\\min", NULL, NULL, (GCallback) _latex_menu_on_math_func_min_gtk_action_callback}, {"MathFuncSec", NULL, "\\sec", NULL, NULL, (GCallback) _latex_menu_on_math_func_sec_gtk_action_callback}, {"MathFuncSin", NULL, "\\sin", NULL, NULL, (GCallback) _latex_menu_on_math_func_sin_gtk_action_callback}, {"MathFuncSinh", NULL, "\\sinh", NULL, NULL, (GCallback) _latex_menu_on_math_func_sinh_gtk_action_callback}, {"MathFuncSup", NULL, "\\sup", NULL, NULL, (GCallback) _latex_menu_on_math_func_sup_gtk_action_callback}, {"MathFuncTan", NULL, "\\tan", NULL, NULL, (GCallback) _latex_menu_on_math_func_tan_gtk_action_callback}, {"MathFuncTanh", NULL, "\\tanh", NULL, NULL, (GCallback) _latex_menu_on_math_func_tanh_gtk_action_callback}, {"MathFontStyles", NULL, N_ ("Math Font _Styles")}, {"MathFSrm", "roman", "\\math_rm", NULL, N_ ("Roman - \\mathrm"), (GCallback) _latex_menu_on_math_font_style_rm_gtk_action_callback}, {"MathFSit", "italic", "\\math_it", NULL, N_ ("Italic - \\mathit"), (GCallback) _latex_menu_on_math_font_style_it_gtk_action_callback}, {"MathFSbf", "bold", "\\math_bf", NULL, N_ ("Bold - \\mathbf"), (GCallback) _latex_menu_on_math_font_style_bf_gtk_action_callback}, {"MathFSsf", "sans_serif", "\\math_sf", NULL, N_ ("Sans Serif - \\mathsf"), (GCallback) _latex_menu_on_math_font_style_sf_gtk_action_callback}, {"MathFStt", "typewriter", "\\math_tt", NULL, N_ ("Typewriter - \\mathtt"), (GCallback) _latex_menu_on_math_font_style_tt_gtk_action_callback}, {"MathFScal", "mathcal", "\\math_cal", NULL, N_ ("Calligraphic - \\mathcal"), (GCallback) _latex_menu_on_math_font_style_cal_gtk_action_callback}, {"MathFSbb", "blackboard", "\\_mathbb", NULL, N_ ("Blackboard (uppercase only)  - \\mathbb (amsfonts package)"), (GCallback) _latex_menu_on_math_font_style_bb_gtk_action_callback}, {"MathFSfrak", "mathfrak", "\\math_frak", NULL, N_ ("Euler Fraktur - \\mathfrak (amsfonts package)"), (GCallback) _latex_menu_on_math_font_style_frak_gtk_action_callback}, {"MathAccents", NULL, N_ ("Math _Accents")}, {"MathAccentAcute", "mathaccent0", "\\_acute", NULL, NULL, (GCallback) _latex_menu_on_math_accent_acute_gtk_action_callback}, {"MathAccentGrave", "mathaccent1", "\\_grave", NULL, NULL, (GCallback) _latex_menu_on_math_accent_grave_gtk_action_callback}, {"MathAccentTilde", "mathaccent2", "\\_tilde", NULL, NULL, (GCallback) _latex_menu_on_math_accent_tilde_gtk_action_callback}, {"MathAccentBar", "mathaccent3", "\\_bar", NULL, NULL, (GCallback) _latex_menu_on_math_accent_bar_gtk_action_callback}, {"MathAccentVec", "mathaccent4", "\\_vec", NULL, NULL, (GCallback) _latex_menu_on_math_accent_vec_gtk_action_callback}, {"MathAccentHat", "mathaccent5", "\\_hat", NULL, NULL, (GCallback) _latex_menu_on_math_accent_hat_gtk_action_callback}, {"MathAccentCheck", "mathaccent6", "\\_check", NULL, NULL, (GCallback) _latex_menu_on_math_accent_check_gtk_action_callback}, {"MathAccentBreve", "mathaccent7", "\\b_reve", NULL, NULL, (GCallback) _latex_menu_on_math_accent_breve_gtk_action_callback}, {"MathAccentDot", "mathaccent8", "\\_dot", NULL, NULL, (GCallback) _latex_menu_on_math_accent_dot_gtk_action_callback}, {"MathAccentDdot", "mathaccent9", "\\dd_ot", NULL, NULL, (GCallback) _latex_menu_on_math_accent_ddot_gtk_action_callback}, {"MathAccentRing", "mathaccent10", "\\_mathring", NULL, NULL, (GCallback) _latex_menu_on_math_accent_ring_gtk_action_callback}, {"MathSpaces", NULL, N_ ("Math _Spaces")}, {"MathSpaceSmall", NULL, N_ ("_Small"), NULL, N_ ("Small - \\,"), (GCallback) _latex_menu_on_math_space_small_gtk_action_callback}, {"MathSpaceMedium", NULL, N_ ("_Medium"), NULL, N_ ("Medium - \\:"), (GCallback) _latex_menu_on_math_space_medium_gtk_action_callback}, {"MathSpaceLarge", NULL, N_ ("_Large"), NULL, N_ ("Large - \\;"), (GCallback) _latex_menu_on_math_space_large_gtk_action_callback}, {"MathSpaceQuad", NULL, "\\_quad", NULL, NULL, (GCallback) _latex_menu_on_math_space_quad_gtk_action_callback}, {"MathSpaceQquad", NULL, "\\qqu_ad", NULL, NULL, (GCallback) _latex_menu_on_math_space_qquad_gtk_action_callback}, {"MathLeftDelimiters", "delimiters-left", N_ ("_Left Delimiters")}, {"MathLeftDelimiter1", NULL, N_ ("left ("), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_1_gtk_action_callback}, {"MathLeftDelimiter2", NULL, N_ ("left ["), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_2_gtk_action_callback}, {"MathLeftDelimiter3", NULL, N_ ("left { "), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_3_gtk_action_callback}, {"MathLeftDelimiter4", NULL, N_ ("left <"), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_4_gtk_action_callback}, {"MathLeftDelimiter5", NULL, N_ ("left )"), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_5_gtk_action_callback}, {"MathLeftDelimiter6", NULL, N_ ("left ]"), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_6_gtk_action_callback}, {"MathLeftDelimiter7", NULL, N_ ("left  }"), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_7_gtk_action_callback}, {"MathLeftDelimiter8", NULL, N_ ("left >"), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_8_gtk_action_callback}, {"MathLeftDelimiter9", NULL, N_ ("left ."), NULL, NULL, (GCallback) _latex_menu_on_math_left_delimiter_9_gtk_action_callback}, {"MathRightDelimiters", "delimiters-right", N_ ("Right _Delimiters")}, {"MathRightDelimiter1", NULL, N_ ("right )"), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_1_gtk_action_callback}, {"MathRightDelimiter2", NULL, N_ ("right ]"), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_2_gtk_action_callback}, {"MathRightDelimiter3", NULL, N_ ("right  }"), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_3_gtk_action_callback}, {"MathRightDelimiter4", NULL, N_ ("right >"), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_4_gtk_action_callback}, {"MathRightDelimiter5", NULL, N_ ("right ("), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_5_gtk_action_callback}, {"MathRightDelimiter6", NULL, N_ ("right ["), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_6_gtk_action_callback}, {"MathRightDelimiter7", NULL, N_ ("right { "), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_7_gtk_action_callback}, {"MathRightDelimiter8", NULL, N_ ("right <"), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_8_gtk_action_callback}, {"MathRightDelimiter9", NULL, N_ ("right ."), NULL, NULL, (GCallback) _latex_menu_on_math_right_delimiter_9_gtk_action_callback}};


static void _latex_menu_on_sectioning_part_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_part (self);
}


static void _latex_menu_on_sectioning_chapter_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_chapter (self);
}


static void _latex_menu_on_sectioning_section_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_section (self);
}


static void _latex_menu_on_sectioning_subsection_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_subsection (self);
}


static void _latex_menu_on_sectioning_subsubsection_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_subsubsection (self);
}


static void _latex_menu_on_sectioning_paragraph_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_paragraph (self);
}


static void _latex_menu_on_sectioning_subparagraph_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_sectioning_subparagraph (self);
}


static void _latex_menu_on_ref_label_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_label (self);
}


static void _latex_menu_on_ref_ref_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_ref (self);
}


static void _latex_menu_on_ref_pageref_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_pageref (self);
}


static void _latex_menu_on_ref_index_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_index (self);
}


static void _latex_menu_on_ref_footnote_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_footnote (self);
}


static void _latex_menu_on_ref_cite_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ref_cite (self);
}


static void _latex_menu_on_env_center_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_center (self);
}


static void _latex_menu_on_env_left_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_left (self);
}


static void _latex_menu_on_env_right_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_right (self);
}


static void _latex_menu_on_env_figure_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_figure (self);
}


static void _latex_menu_on_env_table_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_table (self);
}


static void _latex_menu_on_env_quote_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_quote (self);
}


static void _latex_menu_on_env_quotation_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_quotation (self);
}


static void _latex_menu_on_env_verse_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_verse (self);
}


static void _latex_menu_on_env_verbatim_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_verbatim (self);
}


static void _latex_menu_on_env_minipage_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_minipage (self);
}


static void _latex_menu_on_env_titlepage_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_env_titlepage (self);
}


static void _latex_menu_on_list_env_itemize_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_list_env_itemize (self);
}


static void _latex_menu_on_list_env_enumerate_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_list_env_enumerate (self);
}


static void _latex_menu_on_list_env_description_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_list_env_description (self);
}


static void _latex_menu_on_list_env_list_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_list_env_list (self);
}


static void _latex_menu_on_list_env_item_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_list_env_item (self);
}


static void _latex_menu_on_size_tiny_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_tiny (self);
}


static void _latex_menu_on_size_scriptsize_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_scriptsize (self);
}


static void _latex_menu_on_size_footnotesize_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_footnotesize (self);
}


static void _latex_menu_on_size_small_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_small (self);
}


static void _latex_menu_on_size_normalsize_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_normalsize (self);
}


static void _latex_menu_on_size_large_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_large (self);
}


static void _latex_menu_on_size_Large_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_Large (self);
}


static void _latex_menu_on_size_LARGE_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_LARGE (self);
}


static void _latex_menu_on_size_huge_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_huge (self);
}


static void _latex_menu_on_size_Huge_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_size_Huge (self);
}


static void _latex_menu_on_text_bold_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_bold (self);
}


static void _latex_menu_on_text_italic_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_italic (self);
}


static void _latex_menu_on_text_typewriter_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_typewriter (self);
}


static void _latex_menu_on_text_slanted_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_slanted (self);
}


static void _latex_menu_on_text_small_caps_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_small_caps (self);
}


static void _latex_menu_on_text_sans_serif_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_sans_serif (self);
}


static void _latex_menu_on_text_emph_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_emph (self);
}


static void _latex_menu_on_text_underline_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_underline (self);
}


static void _latex_menu_on_text_font_family_roman_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_family_roman (self);
}


static void _latex_menu_on_text_font_family_sans_serif_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_family_sans_serif (self);
}


static void _latex_menu_on_text_font_family_monospace_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_family_monospace (self);
}


static void _latex_menu_on_text_font_series_medium_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_series_medium (self);
}


static void _latex_menu_on_text_font_series_bold_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_series_bold (self);
}


static void _latex_menu_on_text_font_shape_upright_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_shape_upright (self);
}


static void _latex_menu_on_text_font_shape_italic_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_shape_italic (self);
}


static void _latex_menu_on_text_font_shape_slanted_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_shape_slanted (self);
}


static void _latex_menu_on_text_font_shape_small_caps_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_text_font_shape_small_caps (self);
}


static void _latex_menu_on_tabular_tabbing_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_tabbing (self);
}


static void _latex_menu_on_tabular_tabular_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_tabular (self);
}


static void _latex_menu_on_tabular_multicolumn_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_multicolumn (self);
}


static void _latex_menu_on_tabular_hline_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_hline (self);
}


static void _latex_menu_on_tabular_vline_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_vline (self);
}


static void _latex_menu_on_tabular_cline_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tabular_cline (self);
}


static void _latex_menu_on_spacing_new_line_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_new_line (self);
}


static void _latex_menu_on_spacing_new_page_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_new_page (self);
}


static void _latex_menu_on_spacing_line_break_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_line_break (self);
}


static void _latex_menu_on_spacing_page_break_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_page_break (self);
}


static void _latex_menu_on_spacing_bigskip_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_bigskip (self);
}


static void _latex_menu_on_spacing_medskip_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_medskip (self);
}


static void _latex_menu_on_spacing_hspace_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_hspace (self);
}


static void _latex_menu_on_spacing_vspace_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_vspace (self);
}


static void _latex_menu_on_spacing_noindent_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_spacing_noindent (self);
}


static void _latex_menu_on_accent0_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent0 (self);
}


static void _latex_menu_on_accent1_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent1 (self);
}


static void _latex_menu_on_accent2_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent2 (self);
}


static void _latex_menu_on_accent3_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent3 (self);
}


static void _latex_menu_on_accent4_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent4 (self);
}


static void _latex_menu_on_accent5_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent5 (self);
}


static void _latex_menu_on_accent6_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent6 (self);
}


static void _latex_menu_on_accent7_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent7 (self);
}


static void _latex_menu_on_accent8_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent8 (self);
}


static void _latex_menu_on_accent9_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent9 (self);
}


static void _latex_menu_on_accent10_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent10 (self);
}


static void _latex_menu_on_accent11_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent11 (self);
}


static void _latex_menu_on_accent12_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent12 (self);
}


static void _latex_menu_on_accent13_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent13 (self);
}


static void _latex_menu_on_accent14_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent14 (self);
}


static void _latex_menu_on_accent15_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_accent15 (self);
}


static void _latex_menu_on_documentclass_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_documentclass (self);
}


static void _latex_menu_on_usepackage_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_usepackage (self);
}


static void _latex_menu_on_ams_packages_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_ams_packages (self);
}


static void _latex_menu_on_author_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_author (self);
}


static void _latex_menu_on_title_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_title (self);
}


static void _latex_menu_on_begin_document_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_begin_document (self);
}


static void _latex_menu_on_maketitle_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_maketitle (self);
}


static void _latex_menu_on_tableofcontents_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_tableofcontents (self);
}


static void _latex_menu_on_abstract_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_abstract (self);
}


static void _latex_menu_on_include_graphics_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_include_graphics (self);
}


static void _latex_menu_on_input_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_input (self);
}


static void _latex_menu_on_math_env_normal_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_env_normal (self);
}


static void _latex_menu_on_math_env_centered_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_env_centered (self);
}


static void _latex_menu_on_math_env_numbered_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_env_numbered (self);
}


static void _latex_menu_on_math_env_array_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_env_array (self);
}


static void _latex_menu_on_math_env_numbered_array_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_env_numbered_array (self);
}


static void _latex_menu_on_math_superscript_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_superscript (self);
}


static void _latex_menu_on_math_subscript_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_subscript (self);
}


static void _latex_menu_on_math_frac_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_frac (self);
}


static void _latex_menu_on_math_square_root_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_square_root (self);
}


static void _latex_menu_on_math_nth_root_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_nth_root (self);
}


static void _latex_menu_on_math_func_arccos_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_arccos (self);
}


static void _latex_menu_on_math_func_arcsin_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_arcsin (self);
}


static void _latex_menu_on_math_func_arctan_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_arctan (self);
}


static void _latex_menu_on_math_func_cos_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_cos (self);
}


static void _latex_menu_on_math_func_cosh_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_cosh (self);
}


static void _latex_menu_on_math_func_cot_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_cot (self);
}


static void _latex_menu_on_math_func_coth_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_coth (self);
}


static void _latex_menu_on_math_func_csc_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_csc (self);
}


static void _latex_menu_on_math_func_deg_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_deg (self);
}


static void _latex_menu_on_math_func_det_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_det (self);
}


static void _latex_menu_on_math_func_dim_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_dim (self);
}


static void _latex_menu_on_math_func_exp_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_exp (self);
}


static void _latex_menu_on_math_func_gcd_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_gcd (self);
}


static void _latex_menu_on_math_func_hom_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_hom (self);
}


static void _latex_menu_on_math_func_inf_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_inf (self);
}


static void _latex_menu_on_math_func_ker_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_ker (self);
}


static void _latex_menu_on_math_func_lg_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_lg (self);
}


static void _latex_menu_on_math_func_lim_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_lim (self);
}


static void _latex_menu_on_math_func_liminf_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_liminf (self);
}


static void _latex_menu_on_math_func_limsup_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_limsup (self);
}


static void _latex_menu_on_math_func_ln_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_ln (self);
}


static void _latex_menu_on_math_func_log_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_log (self);
}


static void _latex_menu_on_math_func_max_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_max (self);
}


static void _latex_menu_on_math_func_min_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_min (self);
}


static void _latex_menu_on_math_func_sec_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_sec (self);
}


static void _latex_menu_on_math_func_sin_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_sin (self);
}


static void _latex_menu_on_math_func_sinh_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_sinh (self);
}


static void _latex_menu_on_math_func_sup_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_sup (self);
}


static void _latex_menu_on_math_func_tan_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_tan (self);
}


static void _latex_menu_on_math_func_tanh_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_func_tanh (self);
}


static void _latex_menu_on_math_font_style_rm_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_rm (self);
}


static void _latex_menu_on_math_font_style_it_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_it (self);
}


static void _latex_menu_on_math_font_style_bf_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_bf (self);
}


static void _latex_menu_on_math_font_style_sf_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_sf (self);
}


static void _latex_menu_on_math_font_style_tt_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_tt (self);
}


static void _latex_menu_on_math_font_style_cal_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_cal (self);
}


static void _latex_menu_on_math_font_style_bb_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_bb (self);
}


static void _latex_menu_on_math_font_style_frak_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_font_style_frak (self);
}


static void _latex_menu_on_math_accent_acute_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_acute (self);
}


static void _latex_menu_on_math_accent_grave_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_grave (self);
}


static void _latex_menu_on_math_accent_tilde_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_tilde (self);
}


static void _latex_menu_on_math_accent_bar_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_bar (self);
}


static void _latex_menu_on_math_accent_vec_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_vec (self);
}


static void _latex_menu_on_math_accent_hat_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_hat (self);
}


static void _latex_menu_on_math_accent_check_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_check (self);
}


static void _latex_menu_on_math_accent_breve_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_breve (self);
}


static void _latex_menu_on_math_accent_dot_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_dot (self);
}


static void _latex_menu_on_math_accent_ddot_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_ddot (self);
}


static void _latex_menu_on_math_accent_ring_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_accent_ring (self);
}


static void _latex_menu_on_math_space_small_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_space_small (self);
}


static void _latex_menu_on_math_space_medium_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_space_medium (self);
}


static void _latex_menu_on_math_space_large_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_space_large (self);
}


static void _latex_menu_on_math_space_quad_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_space_quad (self);
}


static void _latex_menu_on_math_space_qquad_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_space_qquad (self);
}


static void _latex_menu_on_math_left_delimiter_1_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_1 (self);
}


static void _latex_menu_on_math_left_delimiter_2_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_2 (self);
}


static void _latex_menu_on_math_left_delimiter_3_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_3 (self);
}


static void _latex_menu_on_math_left_delimiter_4_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_4 (self);
}


static void _latex_menu_on_math_left_delimiter_5_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_5 (self);
}


static void _latex_menu_on_math_left_delimiter_6_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_6 (self);
}


static void _latex_menu_on_math_left_delimiter_7_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_7 (self);
}


static void _latex_menu_on_math_left_delimiter_8_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_8 (self);
}


static void _latex_menu_on_math_left_delimiter_9_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_left_delimiter_9 (self);
}


static void _latex_menu_on_math_right_delimiter_1_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_1 (self);
}


static void _latex_menu_on_math_right_delimiter_2_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_2 (self);
}


static void _latex_menu_on_math_right_delimiter_3_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_3 (self);
}


static void _latex_menu_on_math_right_delimiter_4_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_4 (self);
}


static void _latex_menu_on_math_right_delimiter_5_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_5 (self);
}


static void _latex_menu_on_math_right_delimiter_6_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_6 (self);
}


static void _latex_menu_on_math_right_delimiter_7_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_7 (self);
}


static void _latex_menu_on_math_right_delimiter_8_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_8 (self);
}


static void _latex_menu_on_math_right_delimiter_9_gtk_action_callback (GtkAction* action, gpointer self) {
      latex_menu_on_math_right_delimiter_9 (self);
}


LatexMenu* latex_menu_construct (GType object_type, MainWindow* main_window) {
      LatexMenu * self = NULL;
      GtkAction* sectioning;
      GtkAction* sizes;
      GtkAction* references;
      GtkAction* math_env;
      GtkAction* math_left_del;
      GtkAction* math_right_del;
      g_return_val_if_fail (main_window != NULL, NULL);
      self = (LatexMenu*) g_object_new (object_type, "name", "LatexActionGroup", NULL);
      gtk_action_group_set_translation_domain ((GtkActionGroup*) self, GETTEXT_PACKAGE);
      self->priv->main_window = main_window;
      sectioning = latex_menu_get_menu_tool_action (self, "SectioningToolItem", _ ("Sectioning"), "sectioning-section");
      sizes = latex_menu_get_menu_tool_action (self, "CharacterSizeToolItem", _ ("Characters Sizes"), "character-size");
      references = latex_menu_get_menu_tool_action (self, "ReferencesToolItem", _ ("References"), "references");
      math_env = latex_menu_get_menu_tool_action (self, "MathEnvironmentsToolItem", _ ("Math Environments"), "math");
      math_left_del = latex_menu_get_menu_tool_action (self, "MathLeftDelimitersToolItem", _ ("Left Delimiters"), "delimiters-left");
      math_right_del = latex_menu_get_menu_tool_action (self, "MathRightDelimitersToolItem", _ ("Right Delimiters"), "delimiters-right");
      gtk_action_group_add_actions ((GtkActionGroup*) self, LATEX_MENU_latex_action_entries, G_N_ELEMENTS (LATEX_MENU_latex_action_entries), self);
      gtk_action_group_add_action ((GtkActionGroup*) self, sectioning);
      gtk_action_group_add_action ((GtkActionGroup*) self, sizes);
      gtk_action_group_add_action ((GtkActionGroup*) self, references);
      gtk_action_group_add_action ((GtkActionGroup*) self, math_env);
      gtk_action_group_add_action ((GtkActionGroup*) self, math_left_del);
      gtk_action_group_add_action ((GtkActionGroup*) self, math_right_del);
      _g_object_unref0 (math_right_del);
      _g_object_unref0 (math_left_del);
      _g_object_unref0 (math_env);
      _g_object_unref0 (references);
      _g_object_unref0 (sizes);
      _g_object_unref0 (sectioning);
      return self;
}


LatexMenu* latex_menu_new (MainWindow* main_window) {
      return latex_menu_construct (TYPE_LATEX_MENU, main_window);
}


static GtkAction* latex_menu_get_menu_tool_action (LatexMenu* self, const char* name, const char* label, const char* stock_id) {
      GtkAction* result = NULL;
      GtkAction* action;
      GtkActivatable* menu_tool_button;
      g_return_val_if_fail (self != NULL, NULL);
      g_return_val_if_fail (name != NULL, NULL);
      action = (GtkAction*) menu_tool_action_new (name, label, label, stock_id);
      menu_tool_button = GTK_ACTIVATABLE (g_object_ref_sink ((GtkMenuToolButton*) gtk_menu_tool_button_new (NULL, NULL)));
      gtk_activatable_set_related_action (menu_tool_button, action);
      result = action;
      _g_object_unref0 (menu_tool_button);
      return result;
}


static gpointer _g_object_ref0 (gpointer self) {
      return self ? g_object_ref (self) : NULL;
}


static gboolean string_contains (const char* self, const char* needle) {
      gboolean result = FALSE;
      g_return_val_if_fail (self != NULL, FALSE);
      g_return_val_if_fail (needle != NULL, FALSE);
      result = strstr (self, needle) != NULL;
      return result;
}


static char* string_replace (const char* self, const char* old, const char* replacement) {
      char* result = NULL;
      GError * _inner_error_ = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      g_return_val_if_fail (old != NULL, NULL);
      g_return_val_if_fail (replacement != NULL, NULL);
      {
            char* _tmp0_;
            GRegex* _tmp1_;
            GRegex* regex;
            char* _tmp2_;
            regex = (_tmp1_ = g_regex_new (_tmp0_ = g_regex_escape_string (old, -1), 0, 0, &_inner_error_), _g_free0 (_tmp0_), _tmp1_);
            if (_inner_error_ != NULL) {
                  if (_inner_error_->domain == G_REGEX_ERROR) {
                        goto __catch38_g_regex_error;
                  }
                  g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                  g_clear_error (&_inner_error_);
                  return NULL;
            }
            _tmp2_ = g_regex_replace_literal (regex, self, (gssize) (-1), 0, replacement, 0, &_inner_error_);
            if (_inner_error_ != NULL) {
                  _g_regex_unref0 (regex);
                  if (_inner_error_->domain == G_REGEX_ERROR) {
                        goto __catch38_g_regex_error;
                  }
                  _g_regex_unref0 (regex);
                  g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                  g_clear_error (&_inner_error_);
                  return NULL;
            }
            result = _tmp2_;
            _g_regex_unref0 (regex);
            return result;
      }
      goto __finally38;
      __catch38_g_regex_error:
      {
            GError * e;
            e = _inner_error_;
            _inner_error_ = NULL;
            {
                  g_assert_not_reached ();
                  _g_error_free0 (e);
            }
      }
      __finally38:
      if (_inner_error_ != NULL) {
            g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
            g_clear_error (&_inner_error_);
            return NULL;
      }
}


static const char* string_to_string (const char* self) {
      const char* result = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      result = self;
      return result;
}


static void latex_menu_text_buffer_insert (LatexMenu* self, const char* text_before, const char* text_after, const char* text_if_no_selection) {
      Document* active_document;
      GtkTextIter start = {0};
      GtkTextIter end = {0};
      gboolean text_selected;
      char* text_before2;
      char* text_after2;
      gboolean _tmp0_ = FALSE;
      g_return_if_fail (self != NULL);
      g_return_if_fail (text_before != NULL);
      g_return_if_fail (text_after != NULL);
      g_return_if_fail (main_window_get_active_tab (self->priv->main_window) != NULL);
      active_document = _g_object_ref0 (main_window_get_active_document (self->priv->main_window));
      text_selected = gtk_text_buffer_get_selection_bounds ((GtkTextBuffer*) active_document, &start, &end);
      text_before2 = NULL;
      text_after2 = NULL;
      if (string_contains (text_before, "\n")) {
            _tmp0_ = TRUE;
      } else {
            _tmp0_ = string_contains (text_after, "\n");
      }
      if (_tmp0_) {
            char* current_indent;
            current_indent = document_get_current_indentation (active_document, gtk_text_iter_get_line (&start));
            if (_vala_strcmp0 (current_indent, "") != 0) {
                  char* _tmp1_;
                  char* _tmp2_;
                  char* _tmp3_;
                  char* _tmp4_;
                  text_before2 = (_tmp2_ = string_replace (text_before, "\n", _tmp1_ = g_strconcat ("\n", string_to_string (current_indent), NULL)), _g_free0 (text_before2), _tmp2_);
                  _g_free0 (_tmp1_);
                  text_after2 = (_tmp4_ = string_replace (text_after, "\n", _tmp3_ = g_strconcat ("\n", string_to_string (current_indent), NULL)), _g_free0 (text_after2), _tmp4_);
                  _g_free0 (_tmp3_);
            }
            _g_free0 (current_indent);
      }
      gtk_text_buffer_begin_user_action ((GtkTextBuffer*) active_document);
      if (text_selected) {
            GtkTextMark* mark_end;
            char* _tmp5_;
            char* _tmp7_;
            mark_end = _g_object_ref0 (gtk_text_buffer_create_mark ((GtkTextBuffer*) active_document, NULL, &end, FALSE));
            _tmp5_ = g_strdup (text_before2);
            if (_tmp5_ == NULL) {
                  char* _tmp6_;
                  _tmp5_ = (_tmp6_ = g_strdup (text_before), _g_free0 (_tmp5_), _tmp6_);
            }
            document_insert (active_document, &start, _tmp5_, -1);
            gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) active_document, &end, mark_end);
            _tmp7_ = g_strdup (text_after2);
            if (_tmp7_ == NULL) {
                  char* _tmp8_;
                  _tmp7_ = (_tmp8_ = g_strdup (text_after), _g_free0 (_tmp7_), _tmp8_);
            }
            document_insert (active_document, &end, _tmp7_, -1);
            gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) active_document, &end, mark_end);
            gtk_text_buffer_select_range ((GtkTextBuffer*) active_document, &end, &end);
            _g_free0 (_tmp7_);
            _g_free0 (_tmp5_);
            _g_object_unref0 (mark_end);
      } else {
            if (text_if_no_selection != NULL) {
                  gtk_text_buffer_insert_at_cursor ((GtkTextBuffer*) active_document, text_if_no_selection, -1);
            } else {
                  char* _tmp9_;
                  GtkTextIter between = {0};
                  GtkTextMark* mark;
                  char* _tmp11_;
                  _tmp9_ = g_strdup (text_before2);
                  if (_tmp9_ == NULL) {
                        char* _tmp10_;
                        _tmp9_ = (_tmp10_ = g_strdup (text_before), _g_free0 (_tmp9_), _tmp10_);
                  }
                  gtk_text_buffer_insert_at_cursor ((GtkTextBuffer*) active_document, _tmp9_, -1);
                  gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) active_document, &between, gtk_text_buffer_get_insert ((GtkTextBuffer*) active_document));
                  mark = _g_object_ref0 (gtk_text_buffer_create_mark ((GtkTextBuffer*) active_document, NULL, &between, TRUE));
                  _tmp11_ = g_strdup (text_after2);
                  if (_tmp11_ == NULL) {
                        char* _tmp12_;
                        _tmp11_ = (_tmp12_ = g_strdup (text_after), _g_free0 (_tmp11_), _tmp12_);
                  }
                  gtk_text_buffer_insert_at_cursor ((GtkTextBuffer*) active_document, _tmp11_, -1);
                  gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) active_document, &between, mark);
                  gtk_text_buffer_select_range ((GtkTextBuffer*) active_document, &between, &between);
                  _g_free0 (_tmp11_);
                  _g_object_unref0 (mark);
                  _g_free0 (_tmp9_);
            }
      }
      gtk_text_buffer_end_user_action ((GtkTextBuffer*) active_document);
      _g_free0 (text_after2);
      _g_free0 (text_before2);
      _g_object_unref0 (active_document);
}


static char* latex_menu_get_indentation (LatexMenu* self) {
      char* result = NULL;
      g_return_val_if_fail (self != NULL, NULL);
      result = document_view_get_indentation_style (main_window_get_active_view (self->priv->main_window));
      return result;
}


static void latex_menu_insert_character_style (LatexMenu* self, const char* style) {
      g_return_if_fail (self != NULL);
      g_return_if_fail (style != NULL);
      g_return_if_fail (main_window_get_active_tab (self->priv->main_window) != NULL);
      if (document_get_selection_type (main_window_get_active_document (self->priv->main_window)) == SELECTION_TYPE_MULTIPLE_LINES) {
            char* _tmp0_;
            char* _tmp1_;
            latex_menu_text_buffer_insert (self, _tmp0_ = g_strconcat ("\\begin{", string_to_string (style), "}\n", NULL), _tmp1_ = g_strconcat ("\n\\end{", string_to_string (style), "}", NULL), NULL);
            _g_free0 (_tmp1_);
            _g_free0 (_tmp0_);
      } else {
            char* _tmp2_;
            char* _tmp3_;
            latex_menu_text_buffer_insert (self, _tmp2_ = g_strconcat ("{\\", string_to_string (style), " ", NULL), "}", _tmp3_ = g_strconcat ("\\", string_to_string (style), " ", NULL));
            _g_free0 (_tmp3_);
            _g_free0 (_tmp2_);
      }
}


void latex_menu_on_sectioning_part (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\part{", "}", NULL);
}


void latex_menu_on_sectioning_chapter (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\chapter{", "}", NULL);
}


void latex_menu_on_sectioning_section (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\section{", "}", NULL);
}


void latex_menu_on_sectioning_subsection (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\subsection{", "}", NULL);
}


void latex_menu_on_sectioning_subsubsection (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\subsubsection{", "}", NULL);
}


void latex_menu_on_sectioning_paragraph (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\paragraph{", "}", NULL);
}


void latex_menu_on_sectioning_subparagraph (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\subparagraph{", "}", NULL);
}


void latex_menu_on_ref_label (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\label{", "} ", NULL);
}


void latex_menu_on_ref_ref (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\ref{", "} ", NULL);
}


void latex_menu_on_ref_pageref (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\pageref{", "} ", NULL);
}


void latex_menu_on_ref_index (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\index{", "} ", NULL);
}


void latex_menu_on_ref_footnote (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\footnote{", "} ", NULL);
}


void latex_menu_on_ref_cite (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\cite{", "} ", NULL);
}


void latex_menu_on_env_center (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{center}\n", "\n\\end{center}", NULL);
}


void latex_menu_on_env_left (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{flushleft}\n", "\n\\end{flushleft}", NULL);
}


void latex_menu_on_env_right (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{flushright}\n", "\n\\end{flushright}", NULL);
}


void latex_menu_on_env_figure (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{figure}\n", "\n\\caption{}\n\\end{figure}", NULL);
}


void latex_menu_on_env_table (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{table}\n", "\n\\caption{}\n\\end{table}", NULL);
}


void latex_menu_on_env_quote (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{quote}\n", "\n\\end{quote}", NULL);
}


void latex_menu_on_env_quotation (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{quotation}\n", "\n\\end{quotation}", NULL);
}


void latex_menu_on_env_verse (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{verse}\n", "\n\\end{verse}", NULL);
}


void latex_menu_on_env_verbatim (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{verbatim}\n", "\n\\end{verbatim}", NULL);
}


void latex_menu_on_env_minipage (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{minipage}\n", "\n\\end{minipage}", NULL);
}


void latex_menu_on_env_titlepage (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{titlepage}\n", "\n\\end{titlepage}", NULL);
}


void latex_menu_on_list_env_itemize (LatexMenu* self) {
      char* indent;
      char* _tmp0_;
      g_return_if_fail (self != NULL);
      indent = latex_menu_get_indentation (self);
      latex_menu_text_buffer_insert (self, _tmp0_ = g_strconcat ("\\begin{itemize}\n", string_to_string (indent), "\\item ", NULL), "\n\\end{itemize}", NULL);
      _g_free0 (_tmp0_);
      _g_free0 (indent);
}


void latex_menu_on_list_env_enumerate (LatexMenu* self) {
      char* indent;
      char* _tmp0_;
      g_return_if_fail (self != NULL);
      indent = latex_menu_get_indentation (self);
      latex_menu_text_buffer_insert (self, _tmp0_ = g_strconcat ("\\begin{enumerate}\n", string_to_string (indent), "\\item ", NULL), "\n\\end{enumerate}", NULL);
      _g_free0 (_tmp0_);
      _g_free0 (indent);
}


void latex_menu_on_list_env_description (LatexMenu* self) {
      char* indent;
      char* _tmp0_;
      g_return_if_fail (self != NULL);
      indent = latex_menu_get_indentation (self);
      latex_menu_text_buffer_insert (self, _tmp0_ = g_strconcat ("\\begin{description}\n", string_to_string (indent), "\\item[", NULL), "] \n\\end{description}", NULL);
      _g_free0 (_tmp0_);
      _g_free0 (indent);
}


void latex_menu_on_list_env_list (LatexMenu* self) {
      char* indent;
      char* _tmp0_;
      g_return_if_fail (self != NULL);
      indent = latex_menu_get_indentation (self);
      latex_menu_text_buffer_insert (self, "\\begin{list}{", _tmp0_ = g_strconcat ("}{}\n", string_to_string (indent), "\\item \n\\end{list}", NULL), NULL);
      _g_free0 (_tmp0_);
      _g_free0 (indent);
}


void latex_menu_on_list_env_item (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\item ", "", NULL);
}


void latex_menu_on_size_tiny (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "tiny");
}


void latex_menu_on_size_scriptsize (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "scriptsize");
}


void latex_menu_on_size_footnotesize (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "footnotesize");
}


void latex_menu_on_size_small (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "small");
}


void latex_menu_on_size_normalsize (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "normalsize");
}


void latex_menu_on_size_large (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "large");
}


void latex_menu_on_size_Large (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "Large");
}


void latex_menu_on_size_LARGE (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "LARGE");
}


void latex_menu_on_size_huge (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "huge");
}


void latex_menu_on_size_Huge (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "Huge");
}


void latex_menu_on_text_bold (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\textbf{", "}", NULL);
}


void latex_menu_on_text_italic (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\textit{", "}", NULL);
}


void latex_menu_on_text_typewriter (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\texttt{", "}", NULL);
}


void latex_menu_on_text_slanted (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\textsl{", "}", NULL);
}


void latex_menu_on_text_small_caps (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\textsc{", "}", NULL);
}


void latex_menu_on_text_sans_serif (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\textsf{", "}", NULL);
}


void latex_menu_on_text_emph (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\emph{", "}", NULL);
}


void latex_menu_on_text_underline (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\underline{", "}", NULL);
}


void latex_menu_on_text_font_family_roman (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "rmfamily");
}


void latex_menu_on_text_font_family_sans_serif (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "sffamily");
}


void latex_menu_on_text_font_family_monospace (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "ttfamily");
}


void latex_menu_on_text_font_series_medium (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "mdseries");
}


void latex_menu_on_text_font_series_bold (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "bfseries");
}


void latex_menu_on_text_font_shape_upright (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "upshape");
}


void latex_menu_on_text_font_shape_italic (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "itshape");
}


void latex_menu_on_text_font_shape_slanted (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "slshape");
}


void latex_menu_on_text_font_shape_small_caps (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_insert_character_style (self, "scshape");
}


void latex_menu_on_tabular_tabbing (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{tabbing}\n", "\n\\end{tabbing}", NULL);
}


void latex_menu_on_tabular_tabular (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{tabular}\n", "\n\\end{tabular}", NULL);
}


void latex_menu_on_tabular_multicolumn (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\multicolumn{}{}{", "}", NULL);
}


void latex_menu_on_tabular_hline (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\hline ", "", NULL);
}


void latex_menu_on_tabular_vline (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\vline ", "", NULL);
}


void latex_menu_on_tabular_cline (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\cline{", "-}", NULL);
}


void latex_menu_on_spacing_new_line (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\\\\n", "", NULL);
}


void latex_menu_on_spacing_new_page (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\newpage\n", "", NULL);
}


void latex_menu_on_spacing_line_break (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\linebreak\n", "", NULL);
}


void latex_menu_on_spacing_page_break (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\pagebreak\n", "", NULL);
}


void latex_menu_on_spacing_bigskip (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\bigskip ", "", NULL);
}


void latex_menu_on_spacing_medskip (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\medskip ", "", NULL);
}


void latex_menu_on_spacing_hspace (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\hspace{", "}", NULL);
}


void latex_menu_on_spacing_vspace (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\vspace{", "}", NULL);
}


void latex_menu_on_spacing_noindent (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\noindent ", "", NULL);
}


void latex_menu_on_accent0 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\'{", "}", NULL);
}


void latex_menu_on_accent1 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\`{", "}", NULL);
}


void latex_menu_on_accent2 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\^{", "}", NULL);
}


void latex_menu_on_accent3 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\\"{", "}", NULL);
}


void latex_menu_on_accent4 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\~{", "}", NULL);
}


void latex_menu_on_accent5 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\={", "}", NULL);
}


void latex_menu_on_accent6 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\.{", "}", NULL);
}


void latex_menu_on_accent7 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\v{", "}", NULL);
}


void latex_menu_on_accent8 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\u{", "}", NULL);
}


void latex_menu_on_accent9 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\H{", "}", NULL);
}


void latex_menu_on_accent10 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\c{", "}", NULL);
}


void latex_menu_on_accent11 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\k{", "}", NULL);
}


void latex_menu_on_accent12 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\d{", "}", NULL);
}


void latex_menu_on_accent13 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\b{", "}", NULL);
}


void latex_menu_on_accent14 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\r{", "}", NULL);
}


void latex_menu_on_accent15 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\t{", "}", NULL);
}


void latex_menu_on_documentclass (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\documentclass{", "}", NULL);
}


void latex_menu_on_usepackage (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\usepackage{", "}", NULL);
}


void latex_menu_on_ams_packages (LatexMenu* self) {
      char* packages;
      g_return_if_fail (self != NULL);
      packages = g_strdup ("\\usepackage{amsmath}\n" "\\usepackage{amsfonts}\n" "\\usepackage{amssymb}");
      latex_menu_text_buffer_insert (self, packages, "", NULL);
      _g_free0 (packages);
}


void latex_menu_on_author (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\author{", "}", NULL);
}


void latex_menu_on_title (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\title{", "}", NULL);
}


void latex_menu_on_begin_document (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{document}\n", "\n\\end{document}", NULL);
}


void latex_menu_on_maketitle (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\maketitle", "", NULL);
}


void latex_menu_on_tableofcontents (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\tableofcontents", "", NULL);
}


void latex_menu_on_abstract (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{abstract}\n", "\n\\end{abstract}", NULL);
}


void latex_menu_on_include_graphics (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\includegraphics{", "}", NULL);
}


void latex_menu_on_input (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\input{", "}", NULL);
}


void latex_menu_on_math_env_normal (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "$ ", " $", NULL);
}


void latex_menu_on_math_env_centered (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\[ ", " \\]", NULL);
}


void latex_menu_on_math_env_numbered (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{equation}\n", "\n\\end{equation}", NULL);
}


void latex_menu_on_math_env_array (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{align*}\n", "\n\\end{align*}", NULL);
}


void latex_menu_on_math_env_numbered_array (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\begin{align}\n", "\n\\end{align}", NULL);
}


void latex_menu_on_math_superscript (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "^{", "}", NULL);
}


void latex_menu_on_math_subscript (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "_{", "}", NULL);
}


void latex_menu_on_math_frac (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\frac{", "}{}", NULL);
}


void latex_menu_on_math_square_root (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sqrt{", "}", NULL);
}


void latex_menu_on_math_nth_root (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sqrt[]{", "}", NULL);
}


void latex_menu_on_math_func_arccos (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\arccos ", "", NULL);
}


void latex_menu_on_math_func_arcsin (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\arcsin ", "", NULL);
}


void latex_menu_on_math_func_arctan (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\arctan ", "", NULL);
}


void latex_menu_on_math_func_cos (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\cos ", "", NULL);
}


void latex_menu_on_math_func_cosh (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\cosh ", "", NULL);
}


void latex_menu_on_math_func_cot (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\cot ", "", NULL);
}


void latex_menu_on_math_func_coth (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\coth ", "", NULL);
}


void latex_menu_on_math_func_csc (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\csc ", "", NULL);
}


void latex_menu_on_math_func_deg (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\deg ", "", NULL);
}


void latex_menu_on_math_func_det (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\det ", "", NULL);
}


void latex_menu_on_math_func_dim (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\dim ", "", NULL);
}


void latex_menu_on_math_func_exp (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\exp ", "", NULL);
}


void latex_menu_on_math_func_gcd (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\gcd ", "", NULL);
}


void latex_menu_on_math_func_hom (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\hom ", "", NULL);
}


void latex_menu_on_math_func_inf (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\inf ", "", NULL);
}


void latex_menu_on_math_func_ker (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\ker ", "", NULL);
}


void latex_menu_on_math_func_lg (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\lg ", "", NULL);
}


void latex_menu_on_math_func_lim (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\lim ", "", NULL);
}


void latex_menu_on_math_func_liminf (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\liminf ", "", NULL);
}


void latex_menu_on_math_func_limsup (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\limsup ", "", NULL);
}


void latex_menu_on_math_func_ln (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\ln ", "", NULL);
}


void latex_menu_on_math_func_log (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\log ", "", NULL);
}


void latex_menu_on_math_func_max (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\max ", "", NULL);
}


void latex_menu_on_math_func_min (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\min ", "", NULL);
}


void latex_menu_on_math_func_sec (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sec ", "", NULL);
}


void latex_menu_on_math_func_sin (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sin ", "", NULL);
}


void latex_menu_on_math_func_sinh (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sinh ", "", NULL);
}


void latex_menu_on_math_func_sup (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\sup ", "", NULL);
}


void latex_menu_on_math_func_tan (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\tan ", "", NULL);
}


void latex_menu_on_math_func_tanh (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\tanh ", "", NULL);
}


void latex_menu_on_math_font_style_rm (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathrm{", "}", NULL);
}


void latex_menu_on_math_font_style_it (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathit{", "}", NULL);
}


void latex_menu_on_math_font_style_bf (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathbf{", "}", NULL);
}


void latex_menu_on_math_font_style_sf (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathsf{", "}", NULL);
}


void latex_menu_on_math_font_style_tt (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathtt{", "}", NULL);
}


void latex_menu_on_math_font_style_cal (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathcal{", "}", NULL);
}


void latex_menu_on_math_font_style_bb (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathbb{", "}", NULL);
}


void latex_menu_on_math_font_style_frak (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathfrak{", "}", NULL);
}


void latex_menu_on_math_accent_acute (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\acute{", "}", NULL);
}


void latex_menu_on_math_accent_grave (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\grave{", "}", NULL);
}


void latex_menu_on_math_accent_tilde (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\tilde{", "}", NULL);
}


void latex_menu_on_math_accent_bar (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\bar{", "}", NULL);
}


void latex_menu_on_math_accent_vec (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\vec{", "}", NULL);
}


void latex_menu_on_math_accent_hat (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\hat{", "}", NULL);
}


void latex_menu_on_math_accent_check (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\check{", "}", NULL);
}


void latex_menu_on_math_accent_breve (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\breve{", "}", NULL);
}


void latex_menu_on_math_accent_dot (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\dot{", "}", NULL);
}


void latex_menu_on_math_accent_ddot (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\ddot{", "}", NULL);
}


void latex_menu_on_math_accent_ring (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\mathring{", "}", NULL);
}


void latex_menu_on_math_space_small (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\, ", "", NULL);
}


void latex_menu_on_math_space_medium (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\: ", "", NULL);
}


void latex_menu_on_math_space_large (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\; ", "", NULL);
}


void latex_menu_on_math_space_quad (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\quad ", "", NULL);
}


void latex_menu_on_math_space_qquad (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\qquad ", "", NULL);
}


void latex_menu_on_math_left_delimiter_1 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left( ", "", NULL);
}


void latex_menu_on_math_left_delimiter_2 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left[ ", "", NULL);
}


void latex_menu_on_math_left_delimiter_3 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left\\lbrace ", "", NULL);
}


void latex_menu_on_math_left_delimiter_4 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left\\langle ", "", NULL);
}


void latex_menu_on_math_left_delimiter_5 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left) ", "", NULL);
}


void latex_menu_on_math_left_delimiter_6 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left] ", "", NULL);
}


void latex_menu_on_math_left_delimiter_7 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left\\rbrace ", "", NULL);
}


void latex_menu_on_math_left_delimiter_8 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left\\rangle ", "", NULL);
}


void latex_menu_on_math_left_delimiter_9 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\left. ", "", NULL);
}


void latex_menu_on_math_right_delimiter_1 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right( ", "", NULL);
}


void latex_menu_on_math_right_delimiter_2 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right[ ", "", NULL);
}


void latex_menu_on_math_right_delimiter_3 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right\\rbrace ", "", NULL);
}


void latex_menu_on_math_right_delimiter_4 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right\\rangle ", "", NULL);
}


void latex_menu_on_math_right_delimiter_5 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right) ", "", NULL);
}


void latex_menu_on_math_right_delimiter_6 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right] ", "", NULL);
}


void latex_menu_on_math_right_delimiter_7 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right\\lbrace ", "", NULL);
}


void latex_menu_on_math_right_delimiter_8 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right\\langle ", "", NULL);
}


void latex_menu_on_math_right_delimiter_9 (LatexMenu* self) {
      g_return_if_fail (self != NULL);
      latex_menu_text_buffer_insert (self, "\\right. ", "", NULL);
}


static void latex_menu_class_init (LatexMenuClass * klass) {
      latex_menu_parent_class = g_type_class_peek_parent (klass);
      g_type_class_add_private (klass, sizeof (LatexMenuPrivate));
      G_OBJECT_CLASS (klass)->finalize = latex_menu_finalize;
}


static void latex_menu_instance_init (LatexMenu * self) {
      self->priv = LATEX_MENU_GET_PRIVATE (self);
}


static void latex_menu_finalize (GObject* obj) {
      LatexMenu * self;
      self = LATEX_MENU (obj);
      G_OBJECT_CLASS (latex_menu_parent_class)->finalize (obj);
}


GType latex_menu_get_type (void) {
      static volatile gsize latex_menu_type_id__volatile = 0;
      if (g_once_init_enter (&latex_menu_type_id__volatile)) {
            static const GTypeInfo g_define_type_info = { sizeof (LatexMenuClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) latex_menu_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LatexMenu), 0, (GInstanceInitFunc) latex_menu_instance_init, NULL };
            GType latex_menu_type_id;
            latex_menu_type_id = g_type_register_static (GTK_TYPE_ACTION_GROUP, "LatexMenu", &g_define_type_info, 0);
            g_once_init_leave (&latex_menu_type_id__volatile, latex_menu_type_id);
      }
      return latex_menu_type_id__volatile;
}


static int _vala_strcmp0 (const char * str1, const char * str2) {
      if (str1 == NULL) {
            return -(str1 != str2);
      }
      if (str2 == NULL) {
            return str1 != str2;
      }
      return strcmp (str1, str2);
}





Generated by  Doxygen 1.6.0   Back to index