Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
principejavier committed Oct 8, 2024
1 parent ba84667 commit a41449d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Exams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ function format_figure!(format::WrappedFigure,str::Vector{String})

if format.lines>0
nlines=format.lines
str[fig_pos]="\n\n\\begin{wrapfigure}[$nlines]{r}[$h]{$w\\textwidth}\n\\raggedleft\\vspace{$v}\n"*str[1]*"\\end{wrapfigure}\n\n"
str[fig_pos]="\n\n\\begin{wrapfigure}[$nlines]{r}[$h]{$w\\textwidth}\n\\raggedleft\\vspace{$v}\n"*str[fig_pos]*"\\end{wrapfigure}\n\n"
else
str[fig_pos]="\n\n\\begin{wrapfigure}{r}[$h]{$w\\textwidth}\n\\raggedleft\\vspace{$v}\n"*str[1]*"\\end{wrapfigure}\n\n"
str[fig_pos]="\n\n\\begin{wrapfigure}{r}[$h]{$w\\textwidth}\n\\raggedleft\\vspace{$v}\n"*str[fig_pos]*"\\end{wrapfigure}\n\n"
end
return "\n"
end
Expand Down

0 comments on commit a41449d

Please sign in to comment.