Read verbexample.pdf text version

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep).

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Four

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however...

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ;

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } }

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.)

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.) public long r e c u r ( int n ) {

}

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.) public long r e c u r ( int n ) { i f ( n<1) { return 0 ;

}

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.) public long r e c u r ( int n ) { i f ( n<1) { return 0 ; } e l s e i f ( n == 1 ) { return 1 ;

}

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.) public long r e c u r ( int n ) { i f ( n<1) { return 0 ; } e l s e i f ( n == 1 ) { return 1 ; } else { return }

1

Example showing the use of verbatim/fragile steps with the fragilesteps environment A simple example (with alltt) showing steps with verbatim text. Multiple lines in one step is only supported by alltt (and only for the standard step command, not bstep). One Two Three Four An easy example (with listings) for including small parts of code in each step. If you want to include code line by line look at the next example. Notice that in this example you really don't need to use the fragilesteps environment, because there are no verbatim code - the next example however... public int dummy( int n ) { i f ( n<1) { return 0 ; } else { return 1 ; } } A (fancy) example using the fancyvrb interface of the listings package. The re(b)step command is used to make some lines of code appear at the same time. (You can not include multiple lines in each (b)step command.) public long r e c u r ( int n ) { i f ( n<1) { return 0 ; } e l s e i f ( n == 1 ) { return 1 ; } else { return r e c u r ( n-1)+ r e c u r ( n -2); } }

1

Information

12 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

2490


You might also be interested in

BETA
Programming Python, 3rd Edition