SolverBenchmark.jl icon indicating copy to clipboard operation
SolverBenchmark.jl copied to clipboard

Unicode characters

Open amontoison opened this issue 5 years ago • 2 comments

Unicode characters are not converted by latex_table function. It will be a nice feature to add automatic conversion for them. I wanted to use and for the status column.

amontoison avatar Apr 29 '20 22:04 amontoison

There's no automatic translation but isn't it possible to use your own format as in the documentation? Something like (untested):

function status_fmt(x)
  if x == '✔'
    @sprintf("\check")
  else if x == '✗'
    @sprintf("\\(\times\\)")
  else
    @sprintf(x)
  end
end
fmt_override = Dict(:status => status_fmt)

dpo avatar Apr 29 '20 22:04 dpo

I can use my own format but I think It should not be difficult to do automatic translation. I will try to add it.

amontoison avatar Apr 29 '20 22:04 amontoison