]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Nicer formatting.
authorcvs <cvs@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Oct 1999 13:01:30 +0000 (13:01 +0000)
committercvs <cvs@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Oct 1999 13:01:30 +0000 (13:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@1746 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index f116d2a47ad46563fcefc1e0a067ff98fd22288c..5c3bd103bcb67e1cc2b2de5f0e2e8cdab297e962 100644 (file)
@@ -590,8 +590,18 @@ void ParameterHandler::print_parameters_section (ostream           &out,
       switch (style) 
        {
          case Text:
+                                                // write end of subsection. one
+                                                // blank line after each subsection
                out << setw(indent_level*2) << ""
-                   << "end" << endl;
+                   << "end" << endl
+                   << endl;
+
+                                                // if this is a toplevel
+                                                // subsection, then have two
+                                                // newlines
+               if (indent_level == 0)
+                 out << endl;
+               
                break;
          case LaTeX:
                out << "\\end{itemize}"

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.