version 1.79, 2005/07/14 04:08:55
|
version 1.80, 2005/07/14 04:17:44
|
Line 451 sub end_labelgroup {
|
Line 451 sub end_labelgroup {
|
for(my $i=0;$i <= $#Apache::randomlabel::label_arr; $i++) { |
for(my $i=0;$i <= $#Apache::randomlabel::label_arr; $i++) { |
my $label = "$Apache::randomlabel::label_arr[ $idx_arr[$i] ]"; |
my $label = "$Apache::randomlabel::label_arr[ $idx_arr[$i] ]"; |
my $x = $Apache::randomlabel::xcoord[$i]; |
my $x = $Apache::randomlabel::xcoord[$i]; |
# FIXME the 3.5 here is the 'height' of the letter in TeX |
my $y = $Apache::randomlabel::ycoord[$i]; |
my $y = $Apache::randomlabel::ycoord[$i]-3.5; |
if ( $type eq 'text' ) { |
|
# FIXME the 3.5 here is the 'height' of the letter in TeX |
|
$y=$y-3.5; |
|
} |
&Apache::lonxml::debug("initially: x= $x y= $y"); |
&Apache::lonxml::debug("initially: x= $x y= $y"); |
my $value = $Apache::randomlabel::value[$i]; |
my $value = $Apache::randomlabel::value[$i]; |
#x latex coordinate |
#x latex coordinate |