11
votes
2answers
851 views

Using \lstinline inside a \item

I know about the fragility of verbatim-like commands, and that they should not be used as an argument of another macro, but a need to write a description environment in which the terms to be defined ...
2
votes
2answers
490 views

Making more easy the itemized of item with tabulation system

Actually, isn’t not really a question. (Since my examinations get close, I don't really have the time to search for a solution to my problems.) Rather than using the common \item, I'd like to use ...
6
votes
2answers
976 views

How can I fix verbatim causing an extra newline inside a description list environment?

I'm trying to create a documentation listing similar to that used by MSDN. Here was my first attempt at that: \subsubsection{User Default Page URL} \begin{description} \item[Rationale] This is the ...
2
votes
2answers
1k views

LaTeX verbatim environment inside lists

I am using LaTeX and I have a verbatim environment inside an enumerate one. However, there is much whitespace between the verbatim text and the following list item. What I have now is something like ...
15
votes
2answers
2k views

Verbatim description list item

How do I make an item in a description list verbatim? \verb in \item[] seems to be not allowed: \begin{description} \item[\verb+list comprehension [f a | a <- M a]+] bla bla bla ...