+ m = numbered_time_signature (me, n,d);
+
+ if (Staff_symbol_referencer::line_count (me) % 2 == 0)
+ m.translate_axis (Staff_symbol_referencer::staff_space (me)/2 , Y_AXIS);
+
+ return m.smobbed_copy ();
+}
+
+Molecule
+Time_signature::special_time_signature (Grob *me, SCM scm_style, int n, int d)
+{
+ String style = ly_scm2string (scm_symbol_to_string (scm_style));
+
+ if (style == "numbered")
+ return numbered_time_signature (me, n, d);
+
+ if ((style == "default") || (style == ""))
+ style = to_string ("C");
+
+ if (style == "C")
+ {
+ if /* neither C2/2 nor C4/4 */
+ (((n != 2) || (d != 2)) &&
+ ((n != 4) || (d != 4)))
+ {
+ return numbered_time_signature (me, n, d);
+ }
+ }
+
+ String char_name = style + to_string (n) + "/" + to_string (d);
+ me->set_grob_property ("font-family", ly_symbol2scm ("music"));
+ Molecule out = Font_interface::get_default_font (me)
+ ->find_by_name ("timesig-" + char_name);
+ if (!out.is_empty ())
+ return out;
+
+ /* If there is no such symbol, we default to the numbered style.
+ (Here really with a warning!) */
+ me->warning (_f ("time signature symbol `%s' not found; "
+ "reverting to numbered style", char_name));
+ return numbered_time_signature (me, n, d);