diff options
| author | Julian Weigt <juw@posteo.de> | 2026-01-18 13:44:30 +0100 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:56:57 +0100 |
| commit | bb267b7a40d849569375da475b412c16fce02acb (patch) | |
| tree | 8a5a7b59a45cb24bfb5d830684844ae947ed1c6a /charf.c | |
| parent | 34670ab7a63df67fe3b2907293512424a6e3fa0e (diff) | |
Pad derivative printing to two characters.
Diffstat (limited to 'charf.c')
| -rw-r--r-- | charf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -182,7 +182,7 @@ void format_result(char* s, int index, int k, EXPTYPE p, VALUETYPE r, int format char rts[128]; exptype_to_string(e,p); root_to_string(rts,r,p); - l += sprintf(s+l,"|f^(%d)|_%s: %s",k,e,rts); + l += sprintf(s+l,"|f^(%2d)|_%s: %s",k,e,rts); } else if(format == FORMAT_LATEX){ int l = 0; |
