Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Sun, 20 Jan 2013 00:41:52 UTC Commit: 001f76e2793c2e4e6ec4416d47b6618b317df4da https://github.com/geany/geany-plugins/commit/001f76e2793c2e4e6ec4416d47b661...
Log Message: ----------- Tableconvert: Add table-environment when transforming into a LaTeX-table
Modified Paths: -------------- tableconvert/src/tableconvert.c
Modified: tableconvert/src/tableconvert.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -117,7 +117,7 @@ static GString* convert_to_table_latex(gchar** rows, gboolean header) g_return_val_if_fail(rows != NULL, NULL);
/* Adding header to replacement */ - replacement_str = g_string_new("\begin{tabular}{}\n"); + replacement_str = g_string_new("\begin{table}[h]\n\begin{tabular}{}\n");
/* Iteration onto rows and building up lines of table for * replacement */ @@ -141,7 +141,7 @@ static GString* convert_to_table_latex(gchar** rows, gboolean header) } /* Adding the footer of table */
- g_string_append(replacement_str, "\end{tabular}\n"); + g_string_append(replacement_str, "\end{tabular}\n\end{table}"); return replacement_str; }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org