I have a LaTeX document using the listings package for some bash scripts. I'd like to create a different styling for text that is meant to show the syntax of a command. For instance, I have the following command in a bash-styles listing:
java -jar /usr/share/java/picard/MarkDuplicates.jar INPUT=<alignment_file.bam> \ VALIDATION_STRINGENCY=LENIENT OUTPUT=alignment_file.dup \ METRICS_FILE=alignment_file.matric ASSUME_SORTED=true REMOVE_DUPLICATES=true
However, I'd like to style this differently to a command that is actually entered into a terminal, since it is not a real command but just showing the syntax to be used. Is there a default styling for such a thing. Perhaps following:
Note the following conventions in the definition of the command parameters:
Angle brackets ( < > ) indicate a mandatory parameter. Square brackets ( [ ] ) indicate an optional parameter. If you omit the parameter, InfoSphere CDC uses a default value. A vertical bar ( | ) separating one or more parameters indicate that only one of the parameters in the list can be used. When one or more vertical bars appear in a list of parameters that is enclosed by square brackets [ ], the choices are limited to the parameters in the list, but you have the option to not specify any of the parameters. Ellipsis ( ... ) means that a parameter or option can be repeated more than once. Unless otherwise noted, the commands apply to all operating systems.