diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-05-20 14:35:05 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-05-20 14:35:05 (GMT) |
commit | 5a7cb5383abbd105c22dca28171806bd2a5a9cda (patch) | |
tree | 36be5408c1204bd5806673cb3fef2b25ed031174 /src/latexgen.cpp | |
parent | 697375aff0beddb756025e867289213dc46ca45f (diff) | |
download | Doxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.zip Doxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.tar.gz Doxygen-5a7cb5383abbd105c22dca28171806bd2a5a9cda.tar.bz2 |
Release-1.2.16
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 6665d1f..58e6044 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -1757,7 +1757,10 @@ void LatexGenerator::startDotFile(const char *name,bool hasCaption) +baseName; writeDotGraphFromFile(name,outName,EPS); if (hasCaption) + { t << "\\begin{figure}[H]" << endl; + t << "\\begin{center}" << endl; + } else t << "\\mbox{"; t << "\\includegraphics"; @@ -1781,6 +1784,7 @@ void LatexGenerator::endDotFile(bool hasCaption) if (hasCaption) { t << "}" << endl; + t << "\\end{center}" << endl; t << "\\end{figure}" << endl; } } |