diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-05-20 14:35:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-05-20 14:35:05 (GMT) |
commit | 2999d2732d1471f144721808e52c04aa17dd63b6 (patch) | |
tree | 36be5408c1204bd5806673cb3fef2b25ed031174 /src/latexgen.cpp | |
parent | bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88 (diff) | |
download | Doxygen-2999d2732d1471f144721808e52c04aa17dd63b6.zip Doxygen-2999d2732d1471f144721808e52c04aa17dd63b6.tar.gz Doxygen-2999d2732d1471f144721808e52c04aa17dd63b6.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; } } |