version 1.96.2.1, 2004/02/19 19:19:15
|
version 1.96.2.2, 2004/02/19 19:20:25
|
Line 494 sub bubbles {
|
Line 494 sub bubbles {
|
} |
} |
for (my $ind=0;$ind<=$number_of_bubbles;$ind++) { |
for (my $ind=0;$ind<=$number_of_bubbles;$ind++) { |
my $leftmargin; |
my $leftmargin; |
|
$opt[$ind]=&Apache::lonxml::latex_special_symbols($opt[$ind]); |
if ($ind==0) {$leftmargin=6;} else {$leftmargin=10;} |
if ($ind==0) {$leftmargin=6;} else {$leftmargin=10;} |
$current_length += (length($opt[$ind])+length($alphabet[$ind])+3)*2; |
$current_length += (length($opt[$ind])+length($alphabet[$ind])+3)*2; |
if ($current_length<($textwidth-$leftmargin) and $ind!=$number_of_bubbles) { |
if ($current_length<($textwidth-$leftmargin) and $ind!=$number_of_bubbles) { |