]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use newlines instead of \\\\ in latex output.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Nov 2011 21:28:49 +0000 (21:28 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Nov 2011 21:28:49 +0000 (21:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@24778 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/parameter_handler.cc

index cf0787923db97fcb71c308f8f76fecf280086637..98f7e9343b723caab42800ea466196b36a6dc544 100644 (file)
@@ -1748,12 +1748,12 @@ ParameterHandler::print_parameters_section (std::ostream      &out,
              const std::string value = p->second.get<std::string>("value");
 
                                               // print name and value
-             out << "\\item {\\it Parameter name:} {\\tt " << demangle(p->first) << "}\\\\"
+             out << "\\item {\\it Parameter name:} {\\tt " << demangle(p->first) << "}\n\n"
                  << std::endl
-                 << "{\\it Value:} " << value << "\\\\"
+                 << "{\\it Value:} " << value << "\n\n"
                  << std::endl
                  << "{\\it Default:} "
-                 << p->second.get<std::string>("default_value") << "\\\\"
+                 << p->second.get<std::string>("default_value") << "\n\n"
                  << std::endl;
 
                                               // if there is a
@@ -1761,7 +1761,7 @@ ParameterHandler::print_parameters_section (std::ostream      &out,
                                               // print it as well
              if (!p->second.get<std::string>("documentation").empty())
                out << "{\\it Description:} "
-                   << p->second.get<std::string>("documentation") << "\\\\"
+                   << p->second.get<std::string>("documentation") << "\n\n"
                    << std::endl;
 
                                               // also output possible values

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.