diff --git a/Doc/Sd1/statements.xml b/Doc/Sd1/statements.xml index 8a50c45e7ab596f86aa173f7fd16a372db0b9772..07524b8767dde20d7b31ee161174f5a8f83ac0c2 100644 --- a/Doc/Sd1/statements.xml +++ b/Doc/Sd1/statements.xml @@ -3764,9 +3764,9 @@ System.out.println("<emphasis role="red">[___]</emphasis>"); // Printing the tree's top. We have to escape the backslash using \\. System.out.print(""" - \\ / - -->*<-- - /_\\""".indent(numberOfRowGroups)); + \\ / + -->*<-- + /_\\""".indent(numberOfRowGroups)); // Printing the tree's body @@ -3777,7 +3777,7 @@ for (int rowGroup = 0; rowGroup < numberOfRowGroups; rowGroup++) { System.out.print(('/' + "_\\".repeat(rowGroup + 2)).indent(indentation)); // Second body line of current group - System.out.print(("/_".repeat(rowGroup + 2) + '\\').indent(indentation)); + System.out.print(("/_".repeat(rowGroup + 3) + '\\').indent(indentation - 1)); } // Printing the tree's trunk System.out.print("[___]".indent(numberOfRowGroups + 1));</programlisting>