File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -818,20 +818,26 @@ suggestions.
818
818
% provides Python syntax highlighting and line numbers. For example,
819
819
% \begin{quote}
820
820
% |\begin{sagecommandline}|\\
821
- % | sage: 1+1|\\
822
- % | 2|\\
821
+ % | sage: t = 1+1|\\
822
+ % | sage: for i in range(101): # multiline input example|\\
823
+ % | ....: t+=1|\\
824
+ % | sage: t|\\
825
+ % | 103|\\
823
826
% | sage: factor(x^2 + 2*x + 1)|\\
824
827
% |\end{sagecommandline}|
825
828
% \end{quote}
826
829
% becomes
827
830
\begin {sagecommandline }
828
- sage: 1+1
829
- 2
831
+ sage: t = 1+1
832
+ sage: for i in range(101): # multiline input example
833
+ ....: t+=1
834
+ sage: t
835
+ 103
830
836
sage: factor(x^2 + 2*x + 1)
831
837
\end {sagecommandline }
832
838
% You have a choice of either explicitly providing the Sage output or
833
839
% leaving it up to the computer to fill in the blanks. Above, the output
834
- % for $1+1 $ was provided, but the output for the |factor()| command
840
+ % for $t $ was provided, but the output for the |factor()| command
835
841
% wasn't. Moreover, any Sage comment that starts with a ``at'' sign is
836
842
% escaped to \LTX. In particular, you can use |\label| to mark line
837
843
% numbers in order to |\ref|erence and |\pageref|erence them as usual.
You can’t perform that action at this time.
0 commit comments