Search found 1 match

by elnoi
Fri Feb 26, 2010 1:17 am
Forum: Text Formatting
Topic: Vertical alignment of an asterisk, commands in lstlisting
Replies: 1
Views: 3990

Vertical alignment of an asterisk, commands in lstlisting

If a write something like \texttt{abc*} the asterisk will be centered vertically. I found a workaround to put it a little higher and created a \newcommand for it. Now I load some C code into a lstlisting and want all asterisks in it be aligend vertical at top. Is it possible to use \... commands in ...