Difference between revisions of "Command/filename"
< Command
Jump to navigation
Jump to search
(new) |
m (add/explain relatives) |
||
Line 22: | Line 22: | ||
<cd:source file="buff-ver.mkiv" originator="system"></cd:source> | <cd:source file="buff-ver.mkiv" originator="system"></cd:source> | ||
<cd:wikipage originator="system" page="Category:Verbatim"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Verbatim"></cd:wikipage> | ||
− | <cd:commandref name="type"></cd:commandref> | + | <cd:commandref name="type">typeset text in verbatim, in general, tt font</cd:commandref> |
− | <cd:commandref name="tex"></cd:commandref> | + | <cd:commandref name="tex">typeset TeX command, preceding \, tt font</cd:commandref> |
− | <cd:commandref name="verbatim"></cd:commandref></cd:seealso> | + | <cd:commandref name="arg">typeset argument to TeX command, surrounded by {}, tt font</cd:commandref> |
+ | <cd:commandref name="verbatim">typeset text in verbatim, default font</cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 09:23, 29 July 2022
Contents
\filename
Summary
The command \filename is used to typeset a file name or path.
Settings
Description
Examples
Example 1
There’s a difference between \type{verbatim code} or file paths like \filename{texmf-context/tex/context/base/mkiv/buff-ver.mkiv}. The latter uses linebreaking, but also letterspacing in case of underfull hboxes.
Notes
See also
- buff-ver.mkiv
- \type typeset text in verbatim, in general, tt font
- \tex typeset TeX command, preceding \, tt font
- \arg typeset argument to TeX command, surrounded by {}, tt font
- \verbatim typeset text in verbatim, default font