Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 3.68 KB | None | 0 0
  1. \documentclass[a4paper]{article}
  2.  
  3. %% Language and font encodings
  4. \usepackage[english]{babel}
  5. \usepackage[utf8x]{inputenc}
  6. \usepackage[T1]{fontenc}
  7.  
  8. %% Sets page size and margins
  9. \usepackage[a4paper,top=2cm,bottom=2cm,left=2cm,right=2cm,marginparwidth=1.75cm]{geometry}
  10.  
  11. %% Useful packages
  12. \usepackage{amsmath}
  13. \usepackage{graphicx}
  14. \usepackage[colorinlistoftodos]{todonotes}
  15. \usepackage[colorlinks=true, allcolors=blue]{hyperref}
  16.  
  17. \usepackage{listings}
  18. \usepackage{color}
  19.  
  20. \definecolor{dkgreen}{rgb}{0,0.6,0}
  21. \definecolor{gray}{rgb}{0.5,0.5,0.5}
  22. \definecolor{mauve}{rgb}{0.58,0,0.82}
  23.  
  24. \lstset{frame=tb,
  25.  language=Html,
  26.  aboveskip=3mm,
  27.  belowskip=3mm,
  28.  showstringspaces=false,
  29.  columns=flexible,
  30.  basicstyle={\small\ttfamily},
  31.  numbers=none,
  32.  numberstyle=\tiny\color{gray},
  33.  keywordstyle=\color{blue},
  34.  commentstyle=\color{dkgreen},
  35.  stringstyle=\color{mauve},
  36.  breaklines=true,
  37.  breakatwhitespace=true,
  38.  tabsize=3
  39. }
  40.  
  41. \title{Your Paper}
  42. \author{You}
  43.  
  44. \begin{document}
  45.  
  46.  
  47.  
  48.  
  49.  
  50. %\begin{table}[]
  51. %\centering
  52. %\caption{Name and ID}
  53. %\label{my-label}
  54. %\begin{tabular}{ll}
  55. %AXEL BUEE           & 17040128 \\
  56. %HUGO MAXENCE VERJUS & 17040129 \\
  57. %KYUNGBIN CHO        & 16011106
  58. %\end{tabular}
  59. %\end{table}
  60. \section*{Overview}
  61. \includegraphics[width=\textwidth]{cat.png}
  62. \newpage
  63. \section*{Code}
  64. \begin{lstlisting}
  65. <!DOCTYPE html>
  66. <html>
  67. <head>
  68. <title>Kittens are life</title>
  69. </head>
  70. <style>
  71. table {
  72.     font-family: arial, sans-serif;
  73.     border-collapse: collapse;
  74.     width: 100%;
  75. }
  76. td, th {
  77.    border: 1px solid #aaaaaa;
  78.    text-align: left;
  79.    padding: 8px;
  80. }
  81. tr:nth-child(even) {
  82.    background-color: #dddddd;
  83. }
  84. tr:nth-child(odd) {
  85.    background-color: #bbbbbb;
  86. }
  87. </style>
  88. <h1 style="color:green;font-family:georgia;">Cat,Kitty,Kittens</h1>
  89. <h3 style="color:orange;font-family:verdana;">Small description of a cat.</h3>
  90. <p style="color:red;">A cat is a small animal  furry, <strong>carnivorous</strong>, <del>mean</del>  and mammal.</p>
  91. <body bgcolor="#E6E6FA">
  92. <table><tr><th>Name</th><th>ID</th><th>Country</th></tr>
  93. <tr><td>AXEL BUEE</td><td>17040128</td><td>France</td></tr>
  94.   <tr><td>HUGO MAXENCE VERJUS</td> <td>17040129</td><td>France</td></tr>
  95.   <tr><td>KYUNGBIN CHO </td><td>16011106</td><td>South Korea</td></tr></table> 
  96.  
  97. <h3 style="color:orange;font-family:verdana;">Quotations about cats.</h3>
  98.  
  99. <div style="background-color:grey;color:white;padding:10px;">
  100.   <blockquote cite="http://www.worldwildlife.org/who/index.html">
  101. "If animals could speak, the dog would be a blundering outspoken fellow; but the cat would have the rare grace of never saying a word too much."  - Mark Twain
  102. </blockquote>  
  103. </div>
  104. <h3 style="color:orange;font-family:verdana;">Team Goals</h3>
  105. <div style="background-color:grey;color:white;padding:10px;">
  106.     Our Goal is to create a website to share experiences about Cats; and spread images of them.
  107. </div>
  108. <h3 style="color:orange;font-family:verdana;">Cat Cafe map</h3>
  109. <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d393.9790083385113!2d
  110. -122.26323259126062!3d37.81740231926654!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2
  111. !1s0x808f8754e3519f3b%3A0x5d394fab3869a7ff!2sCat+Town+Cafe!5e0!3m2!1sko!2skr!4v14899759
  112. 24953" width="400" height="300" frameborder="0" style="border:0" allowfullscreen></iframe>
  113. <a title="Click me to see a new cat !" href="new 1.html"><img src="http://thecatapi.com/api/images/get?format=src&type=gif" width="400" height="300"></a>
  114. <form action="#">
  115. Your favorite cat:<br>
  116. <input type="text" name="firstname" value="">
  117. <br>
  118. <input type="submit" value="Send">
  119. <input type="reset" value="Reset">
  120. </form>
  121. </body>
  122. </html>
  123. \end{lstlisting}
  124.  
  125. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement