Advertisement
obernardovieira

Working for conventions

Jul 10th, 2017
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.75 KB | None | 0 0
  1. %% all by me, free to use
  2.  
  3. \renewcommand{\glstextformat}[1]{\textit{{#1}}}       % make all \gls commands to output in italic
  4. \renewcommand{\url}[1]{\underline{\textit{#1}}}       % make all \url commands to output in italic and underline
  5. \newcommand{\inlinecode}[1]{\ttfamily{\textbf{#1}}}   % create a new command to inline code with bold and tt family output
  6. \newcommand*{\authorimg}[1]{%
  7.   \raisebox{-.3\baselineskip}{%
  8.     \includegraphics[
  9.      height=\baselineskip,
  10.      width=\baselineskip,
  11.      keepaspectratio,
  12.    ]{#1}%
  13.   }%
  14. }
  15. \newcommand{\reportinfo}[1]{%
  16.     \begin{itemize}%
  17.         \item[\authorimg{imgs/info.png}]{#1}%
  18.     \end{itemize}%
  19. }                                                     % print a "i" and some text on right side
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement