split/Tioga/lib/TeX_Text.rb in tioga-1.4 vs split/Tioga/lib/TeX_Text.rb in tioga-1.5

- old
+ new

@@ -119,11 +119,11 @@ 'y' => t.bounds_ymin + 0.16 * t.bounds_height, 'angle' => 10, 'scale'=>1.3) end -http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Math_Typesetting.jpg +link:images/Math_Typesetting.png def strings t.stroke_rect(0,0,1,1) center_x = 0.5; center_y = 0.5; len = 0.125 hls = t.rgb_to_hls(Red) @@ -143,11 +143,11 @@ 'alignment' => ALIGNED_AT_MIDHEIGHT, 'scale' => 0.7, 'angle' => t.convert_to_degrees(dx,dy)) end end -http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Strings.jpg +link:images/Strings.png def minipages centerx = t.bounds_xmin + 0.5 * t.bounds_width t.show_text( 'text' => 'Examples using paragraph boxes', @@ -169,11 +169,11 @@ 'text' => str2, 'x'=> centerx, 'y' => t.bounds_ymin + 0.30 * t.bounds_height, 'angle' => 20) end -http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Minipages.jpg +link:images/Minipages.png def framebox centerx = t.bounds_xmin + 0.5 * t.bounds_width t.justification = CENTERED t.show_text( @@ -196,11 +196,11 @@ t.show_text( 'text' => '\framebox[20em][s]{\textbackslash framebox[20em][s]\{ a, b, c \}}', 'at' => [centerx, y]) end -http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Framebox.jpg +link:images/Framebox.png =end def show_text(dict) end @@ -231,10 +231,10 @@ # # Default for text horizontal justification. Valid settings are predefined # constants: +LEFT_JUSTIFIED+, +CENTERED+, and +RIGHT_JUSTIFIED+. # See also #alignment. # -# http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Text_J_and_A.jpg +# link:images/Text_J_and_A.png def justification end # :call-seq: # alignment