From: wolf Date: Tue, 28 Mar 2006 14:53:49 +0000 (+0000) Subject: Don't escape characters in @code...@endcode X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bffc503a81a99ee585e876d30b29669b74306281;p=dealii-svn.git Don't escape characters in @code...@endcode git-svn-id: https://svn.dealii.org/trunk@12718 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-4.data/intro.dox b/deal.II/doc/tutorial/chapter-2.step-by-step/step-4.data/intro.dox index e282d9e2b6..a21e0340c3 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/step-4.data/intro.dox +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/step-4.data/intro.dox @@ -39,7 +39,7 @@ resolved at the time of compilation for a specific template parameter. For example, consider the following piece of code: @code template - void make_grid (Triangulation &triangulation) + void make_grid (Triangulation &triangulation) { GridGenerator::hyper_cube (triangulation, -1, 1); }; @@ -68,7 +68,7 @@ requested and will compile the template above into a function with dim replaced by 2 everywhere, i.e. it will compile the function as if it were defined as @code - void make_grid (Triangulation<2> &triangulation) + void make_grid (Triangulation<2> &triangulation) { GridGenerator::hyper_cube (triangulation, -1, 1); }; @@ -89,7 +89,7 @@ The same can be done with member variables. Consider the following function, which might in turn call the above one: @code template - void make_grid_and_dofs (Triangulation &triangulation) + void make_grid_and_dofs (Triangulation &triangulation) { make_grid (triangulation);