summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-07-23 12:34:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-07-23 12:34:14 (GMT)
commit98f0816fc000c39f770523b29c68eb68d6ef06d5 (patch)
tree2f9d2b657ef9464a86fd65323f9130b89d225728 /src/latexgen.cpp
parentff7d28bd0ea7538d4a9c65facd0b5ca057f867d8 (diff)
parenta2ae382198092537b6b5c85f9c7e5615046d3c78 (diff)
downloadDoxygen-98f0816fc000c39f770523b29c68eb68d6ef06d5.zip
Doxygen-98f0816fc000c39f770523b29c68eb68d6ef06d5.tar.gz
Doxygen-98f0816fc000c39f770523b29c68eb68d6ef06d5.tar.bz2
Merge branch 'short_member_title' of https://github.com/PkLab/doxygen into PkLab-short_member_title
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 53fc9db..20b4fb1 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1562,7 +1562,7 @@ void LatexGenerator::startMemberDoc(const char *clname,
if (compactLatex) level++;
t << "\\" << levelLab[level];
- t << "[{";
+ t << "{";
if (pdfHyperlinks)
{
t << "\\texorpdfstring{";
@@ -1572,9 +1572,9 @@ void LatexGenerator::startMemberDoc(const char *clname,
{
t << "}{" << latexEscapePDFString(title) << "}";
}
- t << "}]";
- t << "{\\setlength{\\rightskip}{0pt plus 5cm}";
- disableLinks=TRUE;
+ t << "}";
+ t << "\n{\\ttfamily ";
+ //disableLinks=TRUE;
}
void LatexGenerator::endMemberDoc(bool)
@@ -1588,10 +1588,6 @@ void LatexGenerator::startDoxyAnchor(const char *fName,const char *,
const char *anchor, const char *,
const char *)
{
-}
-
-void LatexGenerator::endDoxyAnchor(const char *fName,const char *anchor)
-{
static bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
static bool usePDFLatex = Config_getBool(USE_PDFLATEX);
if (usePDFLatex && pdfHyperlinks)
@@ -1604,7 +1600,11 @@ void LatexGenerator::endDoxyAnchor(const char *fName,const char *anchor)
t << "\\label{";
if (fName) t << stripPath(fName);
if (anchor) t << "_" << anchor;
- t << "}" << endl;
+ t << "} " << endl;
+}
+
+void LatexGenerator::endDoxyAnchor(const char *fName,const char *anchor)
+{
}
void LatexGenerator::writeAnchor(const char *fName,const char *name)