dzieciol

tex2

Mar 26th, 2018
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. \documentclass[a4paper,10pt]{article}
  2.  
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{polski}
  5. \usepackage{lipsum}
  6.  
  7. %\pretolerance 1000 %rozciaganie spacji
  8. \begin{document}
  9. ąćłśżźóńę
  10.  
  11. $\tan \leq$
  12. \section[napis skrócony]{pierwszy rozdiał}
  13. \lipsum[10]
  14. \subsection[napis skrócony]{pierwszy podrozdział}
  15. \begin{enumerate}
  16. \setcounter{enumi}{-10}
  17.  
  18. \item pierwszy punkt
  19. \item \lipsum[3]
  20. \begin{enumerate}
  21. \setcounter{enumii}{4}
  22. \item pierwszy punkt
  23. \item \lipsum[3]
  24. \item drugi punkt
  25. \item \lipsum[4]
  26. \end{enumerate}
  27. \item drugi punkt
  28. \item \lipsum[4]
  29. \end{enumerate}
  30.  
  31.  
  32. \begin{enumerate}
  33. \addtocounter{enumi}{4}
  34. \item pierwszy punkt
  35. \item \lipsum[3]
  36. \item drugi punkt
  37. \item \lipsum[4]
  38. \end{enumerate}
  39.  
  40. \lipsum[1]
  41.  
  42. \subsubsection[napis skrócony]{trzeci podrozdział}
  43. \begin{itemize}
  44.  
  45. \setcounter{enumi}{-10}
  46.  
  47. \item pierwszy punkt
  48. \item \lipsum[3]
  49. \begin{itemize}
  50. \setcounter{enumii}{4}
  51. \item pierwszy punkt
  52. \item \lipsum[3]
  53. \begin{itemize}
  54. \setcounter{enumii}{4}
  55. \item pierwszy punkt
  56. \item \lipsum[3]
  57. \item drugi punkt
  58. \item \lipsum[4]
  59. \end{itemize}
  60. \item drugi punkt
  61. \item \lipsum[4]
  62. \end{itemize}
  63. \item drugi punkt
  64. \item \lipsum[4]
  65. \end{itemize}
  66.  
  67.  
  68. \begin{itemize}
  69. \addtocounter{enumi}{4}
  70. \item pierwszy punkt
  71. \item \lipsum[3]
  72. \item drugi punkt
  73. \item \lipsum[4]
  74. \end{itemize}
  75.  
  76. \clearpage
  77. \tableofcontents
  78.  
  79. \newpage
  80.  
  81. \begin{flushleft}
  82. Tekst zostanie wyrównany do lewej.\\
  83. Poprzednia linijka została zakończona dblbackshlash\newline
  84. Poprzednia linjka została zakończona newline\linebreak
  85. \end{flushleft}
  86.  
  87. \begin{center}
  88. Tekst zostanie wyrównany do lewej.\\
  89. Poprzednia linijka została zakończona dblbackshlash\newline
  90. Poprzednia linjka została zakończona newline\linebreak
  91. \end{center}
  92.  
  93. \begin{flushright}
  94. Tekst zostanie wyrównany do lewej.\\
  95. Poprzednia linijka została zakończona dblbackshlash\newline
  96. Poprzednia linjka została zakończona newline\linebreak
  97. \end{flushright}
  98.  
  99. \begin{center}
  100. \begin{math}
  101. e=mc^2
  102. \end{math}
  103. \end{center}
  104.  
  105. gdzie
  106.  
  107.  
  108. \begin{center}
  109. \begin{math}
  110. m=\frac{m_0}{\sqrt{m_r \cdot \Delta t}}, m_r\in
  111. \end{math}
  112. \end{center}
  113.  
  114. \begin{quotation}
  115. Litwo, ojczyzno moja,\\
  116. Tyś jest jak zdrowie\\
  117. \end{quotation}
  118.  
  119. \begin{quote}
  120. Jak trzeba Cię cenić,\\
  121. ten tylko się dowie,\\
  122. kto Cię stracił..
  123. \end{quote}
  124.  
  125. \clearpage
  126.  
  127. \noindent
  128. Foo\hfill bar\\
  129. Foo\hfill bar======\\
  130.  
  131. \vspace*{1cm}
  132. =====Foo\dotfill bar\\
  133. Foo\hrulefill bar\\
  134.  
  135. For each\hspace{2cm} x\\[2cm]
  136. Some more ore
  137.  
  138. \begin{center}
  139. \begin{tabular}{lll}
  140. A & B & C\\
  141. 1 & 3 & 1\\
  142. 1 & 4 & 3
  143. \end{tabular}
  144. \end{center}
  145.  
  146. \thesection
  147. TheSection
  148. \thesubsection
  149. Iske rauta synny rauta synny kuumusa tulessa\\
  150. \thesubsection
  151. Ilmurnaut\\
  152. \thesubsection
  153. Perkele\\
  154. \thesubsection
  155. Polissi anterkurnat\\
  156.  
  157. \textrm{text - proste}\\
  158. \textsl{text - kursywa}\\
  159. \sc{text - random}\\
  160.  
  161. \begin{verbatim}
  162. for(foo) bar(~baz());
  163. \end{verbatim}
  164.  
  165. \tt
  166. Pismo maszynoffe\\
  167. \it
  168. How awesome!
  169. \sf ABCD\\
  170. \sc Capitalizm xd
  171.  
  172. \begin{center}
  173. \begin{tabular}{|@{~}l|r|c|} \hline \hline
  174. 7C0 & heksadecymalnie \\ \hline
  175. \multicolumn{2}{|c|}{1111100000 binarnie} \\
  176. $\sqrt[12]{78} $ & ala \\
  177. \makebox[5cm] [l]{tresc} & fdsfsddfs\\
  178. \mbox {tresc}\\
  179. \end{tabular}
  180. \end{center}
  181.  
  182. \begin{center}
  183. \begin{tabular}{|@{~}l|r @{.} l }\hline \hline
  184. 7C0 & 3&14 \\ \hline
  185. $\sqrt[12]{78} $ & 23&76 \\
  186. 1984 & 0&343232 \\
  187. \end{tabular}
  188. \end{center}
  189.  
  190. \noindent
  191. \parbox{4cm}{vfvsdfsdfsd fdsf sd fdsfsd fsdf sdfsdfsd}
  192.  
  193. \noindent
  194. \parbox[b]{4cm}{Iske rauta synny rauta synny kuumusa tulessa }
  195.  
  196. \noindent
  197. \parbox[t]{4cm}{ Iske rauta synny rauta synny kuumusa tulessa }
  198. \\ \\ \\ \\ \\ \\
  199. \begin{tabular}{|c|c|c|} \hline
  200. a1 & a2 & a3 \\ \hline
  201. \multicolumn{3}{|c|}{b1b2b3} \\ \hline
  202. c1 & \multicolumn{2}{||r|}{c2c3} \\ \hline
  203. d1 & d2 &d3 \\\cline{2-3}
  204. d1 & d2 &d3 \\ \hline
  205. \end{tabular}
  206.  
  207.  
  208. \begin{table}[htb]
  209. \caption{caption sdasda sdsa sddsa sadsa}
  210. \begin{tabular}{|c|c|c|} \hline
  211. a1 & a2 & a3 \\ \hline
  212. \multicolumn{3}{|c|}{b1b2b3} \\ \hline
  213. c1 & \multicolumn{2}{||r|}{c2c3} \\ \hline
  214. d1 & d2 &d3 \\\cline{2-3}
  215. d1 & d2 &d3 \\ \hline
  216. \end{tabular}
  217. \end{table}
  218.  
  219.  
  220. \end{document}
Add Comment
Please, Sign In to add comment