daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage[utf8]{inputenc}
  3. usepackage[T1]{fontenc}
  4. usepackage[polish]{babel}
  5. usepackage{listings}
  6. usepackage{color}
  7. definecolor{darkgreen}{rgb}{0,0.5,0}
  8. definecolor{darkviolet}{RGB}{138,43,226}
  9.  
  10. lstset{
  11.   morestring=[s]{"}{"},
  12.   morecomment=[s]{?}{?},
  13.   morecomment=[s]{!--}{--},
  14.   commentstyle=color{darkgreen},
  15.   moredelim=[s][color{black}]{>}{<},
  16.   moredelim=[s][color{red}]{ }{=},
  17.   stringstyle=color{darkviolet},
  18.   identifierstyle=color{blue},
  19.   basicstyle=ttfamily,
  20.   columns=fullflexible,
  21.   showstringspaces=false,
  22.   commentstyle=color{gray}upshape,
  23.       literate={ą}{{k{a}}}1
  24.              {Ą}{{k{A}}}1
  25.              {ę}{{k{e}}}1
  26.              {Ę}{{k{E}}}1
  27.              {ó}{{'o}}1
  28.              {Ó}{{'O}}1
  29.              {ś}{{'s}}1
  30.              {Ś}{{'S}}1
  31.              {ł}{{l{}}}1
  32.              {Ł}{{L{}}}1
  33.              {ż}{{.z}}1
  34.              {Ż}{{.Z}}1
  35.              {ź}{{'z}}1
  36.              {Ź}{{'Z}}1
  37.              {ć}{{'c}}1
  38.              {Ć}{{'C}}1
  39.              {ń}{{'n}}1
  40.              {Ń}{{'N}}1
  41. }
  42.  
  43. begin{document}
  44.  
  45. begin{lstlisting}
  46.     <nazwa_elementuóśóóśóóśó nazwa_atrybutźćóźvxcóu="wartośćóóźłćóżć">
  47.         zawartość elementu
  48.     </nazwa_elementu>
  49. end{lstlisting}
  50.  
  51.  
  52. end{document}
RAW Paste Data
Top