I'm writing a document for some data analysis code that I produced, and I need to state where the resulting data is stored. The data is written to a directory with a particular name (reducedData
) which is itself contained in a "root directory" where my code looks for all sorts of other things. The path to the root directory is a configurable variable, so in my document I refer to the path as <rootDir>
which the user should interpret to mean whatever path they have set in their configuration.
In my document I want to have a format like this:
...blah blah blah. The data is stored to:
<rootDir>
\reducedData\<fileName>
.hdf...blah blah blah.
What I need help with is choosing a good way to do this. I could simply force it too look the way I want using explicit line feeds and \verb||
, but I'm sure there is a better, more LaTeX-ish way to do this right. In particular, beyond setting the path apart on its own indented line, I'd like to have the font changed so that it stands out, and possibly have yet another font change for the tokens in angle brackets, to imply that they are not to be taken by the user as literal stings. Is there a package or environment that exists to format this sort of thing in a standard way?