diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-12 20:25:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-12 20:25:00 (GMT) |
commit | ac813134a85ba9bd999fb4cf8271c74e02cd4ebb (patch) | |
tree | 5214f98a620b1c117c9c6f70816d24ce4632f969 /src/util.cpp | |
parent | 09a5fc198a98d697d3e50c1c76392b8373f1af12 (diff) | |
download | Doxygen-ac813134a85ba9bd999fb4cf8271c74e02cd4ebb.zip Doxygen-ac813134a85ba9bd999fb4cf8271c74e02cd4ebb.tar.gz Doxygen-ac813134a85ba9bd999fb4cf8271c74e02cd4ebb.tar.bz2 |
Use hook arrow for hyphens in symbol names in the LaTeX output.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp index 54be42d..a4600d1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6527,9 +6527,9 @@ void filterLatexString(FTextStream &t,const char *str, case '^': t << "$^\\wedge$"; break; case '&': t << "\\&"; break; case '*': t << "$\\ast$"; break; - case '_': if (!insideTabbing) t << "\\-"; + case '_': if (!insideTabbing) t << "\\+"; t << "\\_"; - if (!insideTabbing) t << "\\-"; + if (!insideTabbing) t << "\\+"; break; case '{': t << "\\{"; break; case '}': t << "\\}"; break; @@ -6566,7 +6566,7 @@ void filterLatexString(FTextStream &t,const char *str, ((c>='A' && c<='Z' && pc!=' ' && pc!='\0') || (c==':' && pc!=':') || (pc=='.' && isId(c))) ) { - t << "\\-"; + t << "\\+"; } t << (char)c; } |