#include <gtk/gtk.h>

int main (int argc, char **argv)
{
  GtkWidget *window, *label;

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  label = gtk_label_new (NULL);
  gtk_label_set_markup (GTK_LABEL (label),
			"<span underline=\"single\">Here is some text</span>\n"
			"<span underline=\"single\">Here is <big>some</big> text</span>\n"
			"<span underline=\"single\">Here is <span rise=\"4096\">some</span> text</span>\n"
			"<span underline=\"single\">Here is <span size=\"large\" foreground=\"red\">some</span> text</span>\n"
			"<span underline=\"low\">Here is ggg text</span>\n"
			"<span underline=\"low\">Here is <big>ggg</big> text</span>\n"
			"<span underline=\"low\">Here is <span rise=\"4096\">ggg</span> text</span>\n"
			"<span underline=\"low\">Here is <span size=\"large\" foreground=\"red\">ggg</span> text</span>");
  gtk_container_add (GTK_CONTAINER (window), label);
  
  gtk_widget_show_all (window);
  
  gtk_main ();
  
  return 0;
}
