My question is, how would you typographically approach quoting of shell commands? My current solution does not satisfy me completely.
Current look:
I use the listings
package, with the sh
language. You can then say e.g. \lstinline!for i in $(seq 0 10); do echo "Now $i"; done!
inline and get it (reasonably) typeset. Or include complete scripts, with the same typography.
Other "typeset programs" packages might be useful too, I'm just used to listings
. Rummage around in CTAN.
\documentclass
and the appropriate packages that shows your current code. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on suggesting alternatives.