Posted by paoleela Sat 20th Jan 2007 23:48 - Syntax is LaTeX - 23 views
Download | New Post | Modify | Diff | Hide line numbers
  1. \makeatletter
  2. \providecommand*{\mycoderef}[1]{\@ifstar%
  3.     {\vref*{lst:kdevelop/project/src/#1.h},\,\pageref{lst:kdevelop/project/src/#1.cpp}}%
  4.     {\vref{lst:kdevelop/project/src/#1.h},\,\pageref{lst:kdevelop/project/src/#1.cpp}}%
  5. }
  6. \makeatother

PermaLink to this entry https://pastebin.co.uk/9373

The following amendments have been posted:

  1. paoleela (Sat 20th Jan 2007 23:49)
Posted by paoleela Sat 20th Jan 2007 23:48 - Syntax is LaTeX - 23 views
Download | New Post | Modify | Diff | Hide line numbers