2 ms·
The typesetting/justification of your text looks beautiful. I know it's been a solved problem for fixed-width fonts for roughly forty years, but what tool did
by sillysaurus3 12y ago
The typesetting/justification of your text looks beautiful. I know it's been a solved problem for fixed-width fonts for roughly forty years, but what tool did you use to lay out the text like that? Some emacs magic or vim plugin? (I wish HN had a private messaging system for offtopic but harmless questions like this.)
- dfc 12y agoNo need to apologize, a private message would mean that others do not get to benefit from you asking a question;) I used `par` to typeset the text. It has not been updated in over a decade but I have never found a better tool for this. The documentation leaves a little to be desired but I think a lot of that is due to the flexibility of the program. For that specific quote I used `cat text | par 75j` with the man page recommended value in $PARINIT. http://www.nicemice.net/par/ http://www.nicemice.net/par/
- teddyh 12y agoThis is possible to do in Emacs by: 1. Going to the end of a line and pressing “Ctrl-x f” to run the set-fill-column command, to set the desired line width. (The default value is 70 characters.) 2. On each of the paragraphs, pressing “Ctrl-u Meta-q” to run the fill-paragraph command (with an argument to modify it to do justification as well as word wrapping).