I am setting some timetables in a sans font. I'd like to use dcolumn for aligning the times on the decimal point, but the package assumes you are using math.

Is there an easy way to defeat this and have dcolumn set the columns in the current or specified font? I will not be needing any math symbols.


You can use sansmath:




xyz &  2.1 \\
abc & 12.2 \\
uvw &  1.21


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.