TRI.LOG 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. REDUCE 3.6, 15-Jul-95, patched to 6 Mar 96 ...
  2. % TeX-REDUCE-Interface 0.50
  3. % set greek asserted
  4. % set lowercase asserted
  5. % \tolerance 10
  6. % \hsize=150mm
  7. % load tri;
  8. global '(textest!*);
  9. symbolic procedure texexa(code);
  10. begin
  11. prin2 "\TRIexa{"; prin2 textest!*;
  12. if !*TeXindent then prin2 "}{TeXindent}{" else
  13. if !*TeXbreak then prin2 "}{TeXBreak}{" else
  14. if !*TeX then prin2 "TeX" else prin2 "}{---}{";
  15. if !*TeXbreak then prin2 tolerance!* else prin2 "---";
  16. prin2 "}{"; prin2 code; prin2 "}"; terpri()
  17. end;
  18. texexa
  19. algebraic procedure exa(expression,code);
  20. begin symbolic texexa code; return expression end;
  21. exa
  22. % ----------------------------------------------------------------------
  23. % Examples from the Integrator Test File
  24. % ----------------------------------------------------------------------
  25. symbolic(textest!*:="Integration");
  26. "Integration"
  27. texsetbreak(120,1000);
  28. % \tolerance 1000
  29. % \hsize=120mm
  30. on texindent;
  31. off echo;
  32. (TIME: tri 1830 1900)