tex2lyx/preamble.cpp: cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-05-15 21:09:53 +00:00
parent 2546bde017
commit 34bdb2151b

View File

@ -83,7 +83,7 @@ const char * const known_typewriter_fonts[] = { "beramono", "cmtl", "cmtt",
"courier", "lmtt", "luximono", "fourier", "lmodern", "mathpazo", "mathptmx",
"newcent", 0};
// some ugly stuff
// default settings
ostringstream h_preamble;
string h_textclass = "article";
string h_options = string();
@ -669,13 +669,13 @@ void parse_preamble(Parser & p, ostream & os,
h_preamble << "\\setlength{" << name << "}{" << content << "}";
}
else if (t.cs() =="onehalfspacing")
else if (t.cs() == "onehalfspacing")
h_spacing = "onehalf";
else if (t.cs() =="doublespacing")
else if (t.cs() == "doublespacing")
h_spacing = "double";
else if (t.cs() =="setstretch")
else if (t.cs() == "setstretch")
h_spacing = "other " + p.verbatim_item();
else if (t.cs() == "begin") {