diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-02-27 20:11:09 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-02-27 20:11:09 (GMT) |
commit | 0a773cb15d41e5806b799cd24c076c60b734615c (patch) | |
tree | 5e27018c48206637a831c02760f69c7df275f1c9 /src/latexgen.cpp | |
parent | a9a600c4692a1d0b0a6a09362db1d6da8bda9a30 (diff) | |
download | Doxygen-0a773cb15d41e5806b799cd24c076c60b734615c.zip Doxygen-0a773cb15d41e5806b799cd24c076c60b734615c.tar.gz Doxygen-0a773cb15d41e5806b799cd24c076c60b734615c.tar.bz2 |
Release-1.4.6-20060227
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 66aa16c..601c7f4 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -63,7 +63,7 @@ static QCString escapeLabelName(const char *s) switch (c) { case '%': result+="\\%"; break; - case '|': result+="\\texttt{\"|}"; break; + case '|': result+="\\tt{\"|}"; break; case '!': result+="\"!"; break; default: result+=c; } @@ -85,7 +85,7 @@ static QCString escapeMakeIndexChars(LatexGenerator *g,QTextStream &t,const char case '!': t << "\"!"; break; case '"': t << "\"\""; break; case '@': t << "\"@"; break; - case '|': t << "\\texttt{\"|}"; break; + case '|': t << "\\tt{\"|}"; break; case '[': t << "["; break; case ']': t << "]"; break; default: str[0]=c; g->docify(str); break; @@ -355,7 +355,7 @@ static void writeDefaultStyleSheetPart3(QTextStream &t) t << " \\setlength{\\itemsep}{0pt}\n"; t << " \\setlength{\\parsep}{0pt}\n"; t << " \\setlength{\\topsep}{0pt}\n"; - t << " \\renewcommand{\\makelabel}{}}}\n"; + t << " \\renewcommand{\\makelabel}{\\hfill}}}\n"; t << "{\\end{list}}\n"; t << "\\newenvironment{CompactItemize}\n"; t << "{\n"; @@ -377,7 +377,7 @@ static void writeDefaultStyleSheetPart3(QTextStream &t) t << "}\n"; t << "{\\end{tabular*}\\par}\n"; t << "\\newcommand{\\entrylabel}[1]{\n"; - t << " {\\parbox[b]{\\labelwidth-4pt}{\\makebox[0pt][l]{\\textbf{#1}}\\\\}}}\n"; + t << " {\\parbox[b]{\\labelwidth-4pt}{\\makebox[0pt][l]{\\textbf{#1}}\\vspace{1.5\\baselineskip}}}}\n"; t << "\\newenvironment{Desc}\n"; t << "{\\begin{list}{}\n"; t << " {\n"; @@ -924,7 +924,7 @@ void LatexGenerator::endHtmlLink() void LatexGenerator::writeStartAnnoItem(const char *,const char *, const char *path,const char *name) { - t << "\\item\\contentsline{section}{\\textbf{"; + t << "\\item\\contentsline{section}{\\bf "; if (path) docify(path); docify(name); t << "} "; @@ -959,7 +959,7 @@ void LatexGenerator::endIndexValue(const char *name,bool hasBrief) //void LatexGenerator::writeClassLink(const char *,const char *, // const char *,const char *name) //{ -// t << "\\textbf{"; +// t << "{\\bf"; // docify(name); // t << "}"; //} @@ -975,7 +975,7 @@ void LatexGenerator::startTextLink(const char *f,const char *anchor) } else { - t << "\\textbf{"; + t << "{\\bf "; } } @@ -999,7 +999,7 @@ void LatexGenerator::writeObjectLink(const char *ref, const char *f, } else { - t << "\\textbf{"; + t << "\\bf{"; docify(text); t << "}"; } @@ -1420,7 +1420,7 @@ void LatexGenerator::endMemberList() void LatexGenerator::startMemberGroupHeader(bool hasHeader) { if (hasHeader) t << "\\begin{Indent}"; - t << "\\textbf{"; + t << "{\\bf "; } void LatexGenerator::endMemberGroupHeader() |