36,642 reputation
168152
bio website randomdeterminism.wordpress.c…
location
age
visits member for 4 years, 4 months
seen 12 hours ago

Jun
8
comment Styling an “article” document
For such things, ConTeXt beats LaTeX hands down. All commands are designed with easy configurability in mind. So, you can middle align all section heads by saying \setuphead[alternative=middle], decrease the spacing between items by saying \setupitemize[inbetween={\blank[small]}], etc.
Jun
6
comment How to add illustrations before chapter titles in ConTeXt?
I prefer specifying the figure as part of the section header information; automagic insertion of figures makes it hard to modify things later. But, it is a matter of personal preference. Another point. You can use \getfiguredimensions[figname] and then \figurenaturalwidth and \figurenaturalheight give you the figure dimensions.
Jun
6
comment How to add illustrations before chapter titles in ConTeXt?
You can pass the name of the figure file as an option to \startchapter: \startchapter[title={First chapter}][figure=cow] and then access the figure name in the setups using \structureuservariable{figure}
Jun
6
comment How to add illustrations before chapter titles in ConTeXt?
TeX does not handle tiff. So, at the very least, you'll need to pre-process the file to convert it pdf.
Jun
6
comment Listings, Literate Programming, and Beautiful Typography
How do I type the typeset output of \lhd in it? For regular Haskell code, Hoogle works fine.
Jun
6
comment Listings, Literate Programming, and Beautiful Typography
Personally, I find it impossible to read code generated by lhs2tex (while I am comfortable reading raw Haskell code). It is almost like a new language with a different syntax. For example, on page 20 of the lhs2tex manual, I understand what <| from Data.Seq, but when I see a typeset \lhd, I need to imagine what it might mean (and it is impossible to search).
Jun
6
comment How to add illustrations before chapter titles in ConTeXt?
Do you have a double-sided document? If so, should the image be on the recto or the verso page?
Jun
4
awarded  Nice Answer
Jun
4
comment Vain question about cdot kerning
@Rebecca: Also try to make your macros unique. Thus, use long names and upper case letters to avoid name clashes (with any custom macros that the publisher or other authors! might be using). Therefore, I'd recommend, \MatrixMultiply or something similar. Most editors will complete a macro for you, so it does not require any more typing.
Jun
4
answered A critique of TeX?
Jun
4
awarded  Nice Answer
Jun
2
answered formatting natural table header with conTeXt
Jun
2
comment Are there any disadvantages of TeX being Turing complete?
In tex/pdftex, tex the program uses only a fixed amount of memory. Isn't "infinite tape" also a requirement for a Turing machine?
Jun
2
comment Asymptote code integration into Beamer format
Try adding [fragile] option to \begin{frame}
Jun
2
comment How to show section title before section number
@GonzaloMedina: Definitely give it a shot.
Jun
2
answered How to show section title before section number
Jun
2
awarded  Necromancer
Jun
1
comment How to best typeset “special” constants (complex unit i, Euler's number e,…)?
I looked into the Wikipedia and I don't know what 0x+2107 is supposed to represent. But it is strange that Unicode standard includes a separate slot for plank's constant, but not for Euler's number. The Unicode symbols for imaginary number, differential operator, probability, etc are not used too often because (a) until recently there were a few full unicode math fonts, and (b) their default implementations are ugly (though that is font dependent issue). I think that one should use the unicode input for these characters, the actual shape can be changed by patching the font on the fly.
Jun
1
revised How to best typeset “special” constants (complex unit i, Euler's number e,…)?
added 135 characters in body
Jun
1
answered How to best typeset “special” constants (complex unit i, Euler's number e,…)?