Advertisement
Guest User

Untitled

a guest
Mar 21st, 2014
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1.  
  2.  
  3. %% heart_vs_mind_v000.tex
  4. %%
  5. %% to do:
  6. %% - fix the issues with the image on new pages
  7. %% - rezise the dimensions of the pdf file
  8. %% - add a title and a description of the project
  9. %% -comment the code
  10. %%
  11. %% m.a.perez-xochicale
  12. %%
  13. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  14.  
  15.  
  16.  
  17. \documentclass{article}
  18.  
  19. \usepackage[british]{babel}
  20. \usepackage{geometry}
  21. \geometry{
  22. left=20mm,
  23. right=20mm,
  24. top=20mm,
  25. bottom=20mm,
  26. }
  27.  
  28. \usepackage{graphicx,hyperref,url}
  29.  
  30.  
  31.  
  32. \hypersetup{
  33. bookmarks=true, % show bookmarks bar?
  34. unicode=false, % non-Latin characters in Acrobat’s bookmarks
  35. pdftoolbar=true, % show Acrobat’s toolbar?
  36. pdfmenubar=true, % show Acrobat’s menu?
  37. pdffitwindow=false, % window fit to page when opened
  38. pdfstartview={FitH}, % fits the width of the page to the window
  39. pdftitle={Heart vs Mind Version 000}, % title
  40. pdfauthor={Perez-Xohicale M. A.}, % author
  41. pdfsubject={Quotes}, % subject of the document
  42. pdfkeywords={quotes} {heart} {mind}, % list of keywords
  43. pdfcreator={XeLaTeX}, % creator of the document
  44. pdfnewwindow=true, % links in new window
  45. colorlinks=ture, % false: boxed links; true: colored links
  46. linkcolor=red, % color of internal links (change box color with linkbordercolor)
  47. citecolor=green, % color of links to bibliography
  48. filecolor=magenta, % color of file links
  49. urlcolor=blue % color of external links
  50. }
  51.  
  52.  
  53.  
  54.  
  55. % \usepackage[pass,paperwidth=6in,paperheight=3in]{geometry}
  56.  
  57. \showthe\pdfpagewidth
  58. \showthe\pdfpageheight
  59.  
  60.  
  61. \usepackage{wrapfig}
  62.  
  63.  
  64.  
  65.  
  66.  
  67. %\graphicspath{{./}{images/}}
  68. % \graphicspath{{subdir1/}{subdir2/}{subdir3/}...{subdirn/}}
  69. \graphicspath{{/home/mapx/xfiles/latex/quotes/heart_vs_mind/images//}}
  70.  
  71.  
  72. \usepackage{fontspec}
  73. \pagestyle{empty}
  74.  
  75. % \setmainfont{Dominican}
  76. % \setmainfont{DominicanItalic}
  77. % \setmainfont{DominicanSmallCaps}
  78. % \setmainfont{butterbrotpapier}
  79.  
  80.  
  81. \newfontfamily\myfont{Dominican}
  82. \newfontfamily\myfontIt[Scale=3]{DominicanItalic}
  83. \newfontfamily\myfontSC[Scale=1.2]{DominicanSmallCaps}
  84.  
  85.  
  86.  
  87.  
  88.  
  89. \begin{document}
  90. \pdfpageheight10cm
  91. \pdfpagewidth30cm
  92.  
  93.  
  94. % \begin{center}
  95. % \includegraphics[scale=0.4]{anatomy-male-coherence-crop.jpg}
  96. % \end{center}
  97.  
  98.  
  99. \newpage
  100. %++++++++++++++++++++++++++++++++++++++++++++
  101. \begin{myfontIt}
  102. \noindent Alas!\\
  103. There is no instict \\
  104. like heart\\
  105. \end{myfontIt}
  106.  
  107. \begin{myfontSC}
  108. \hspace{5cm} - Lord Byron
  109. \end{myfontSC}
  110. \hspace{3cm}
  111.  
  112. %Image
  113. \begin{wrapfigure}{r}{0.1\textwidth}
  114. \vspace{-75pt}
  115. \begin{center}
  116. \includegraphics[scale=0.4]{heart02.png}
  117. \end{center}
  118. \end{wrapfigure}
  119.  
  120.  
  121.  
  122. % And this line too\footnote{\lipsum[12]}.
  123.  
  124.  
  125. \newpage
  126. %++++++++++++++++++++++++++++++++++++++++++++
  127. \begin{myfontIt}
  128. \noindent When you fish for love\\
  129. bait your heart\\
  130. not your brain\\
  131. \end{myfontIt}
  132.  
  133. \begin{myfontSC}
  134. \hspace{5cm} - Mark Twain
  135. \end{myfontSC}
  136. \hspace{3cm}
  137.  
  138.  
  139. %Image
  140. \begin{wrapfigure}{r}{0.1\textwidth}
  141. \vspace{-75pt}
  142. \begin{center}
  143. \includegraphics[scale=0.4]{heart03.png}
  144. \end{center}
  145. \end{wrapfigure}
  146.  
  147.  
  148. \newpage
  149. %++++++++++++++++++++++++++++++++++++++++++++
  150. \begin{myfontIt}
  151. \noindent A loving heart\\
  152. is the beginning of all knowledge
  153. \end{myfontIt}
  154.  
  155. \begin{myfontSC}
  156. \hspace{5cm} - Thomas Carlyle
  157. \end{myfontSC}
  158. \hspace{3cm}
  159.  
  160.  
  161.  
  162. %Image
  163. \begin{wrapfigure}{r}{0.1\textwidth}
  164. \vspace{-75pt}
  165. \begin{center}
  166. \includegraphics[scale=0.4]{heart04.png}
  167. \end{center}
  168. \end{wrapfigure}
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177. \newpage
  178. %++++++++++++++++++++++++++++++++++++++++++++
  179. \begin{myfontIt}
  180. \noindent False face must hide\\
  181. what the false heart doth know\\
  182. \end{myfontIt}
  183.  
  184. \begin{myfontSC}
  185. \hspace{5cm} - William Shakespeare
  186. \end{myfontSC}
  187. \hspace{3cm}
  188.  
  189.  
  190.  
  191.  
  192. %Image
  193. \begin{wrapfigure}{r}{0.1\textwidth}
  194. \vspace{-75pt}
  195. \begin{center}
  196. \includegraphics[scale=0.3]{heart05.png}
  197. \end{center}
  198. \end{wrapfigure}
  199.  
  200.  
  201.  
  202.  
  203.  
  204. \newpage
  205. %++++++++++++++++++++++++++++++++++++++++++++
  206. \begin{myfontIt}
  207. \noindent If I create from the heart\\
  208. nearly everything works;\\
  209. If from head, almost nothing.\\
  210. \end{myfontIt}
  211.  
  212. \begin{myfontSC}
  213. \hspace{5cm} - Mayc Chagall
  214. \end{myfontSC}
  215. \hspace{3cm}
  216.  
  217.  
  218. %Image
  219. \begin{wrapfigure}{r}{0.1\textwidth}
  220. \vspace{-75pt}
  221. \begin{center}
  222. \includegraphics[scale=0.27]{heart06.png}
  223. \end{center}
  224. \end{wrapfigure}
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. \newpage
  233. %++++++++++++++++++++++++++++++++++++++++++++
  234. \begin{myfontIt}
  235. \noindent There is a void from the eye\\
  236. to the head\\
  237. that does not go throgh\\
  238. the intellec
  239. \end{myfontIt}
  240.  
  241. \begin{myfontSC}
  242. \hspace{5cm} - Gilbert K. Chesterton.
  243. \end{myfontSC}
  244. \hspace{3cm}
  245.  
  246.  
  247.  
  248. %Image
  249. \begin{wrapfigure}{r}{0.1\textwidth}
  250. \vspace{-75pt}
  251. \begin{center}
  252. \includegraphics[scale=0.3]{heart07.png}
  253. \end{center}
  254. \end{wrapfigure}
  255.  
  256.  
  257.  
  258.  
  259.  
  260. \newpage
  261. %++++++++++++++++++++++++++++++++++++++++++++
  262. \begin{myfontIt}
  263. \noindent The most beautiful things \\
  264. in the world cannot be seen\\
  265. or even touched they must be\\
  266. felt with the heart\\
  267. \end{myfontIt}
  268.  
  269. \begin{myfontSC}
  270. \hspace{5cm} - Helen Keller
  271. \end{myfontSC}
  272. \hspace{3cm}
  273.  
  274.  
  275. %Image
  276. \begin{wrapfigure}{r}{0.1\textwidth}
  277. \vspace{-75pt}
  278. \begin{center}
  279. \includegraphics[scale=0.4]{heart08.png}
  280. \end{center}
  281. \end{wrapfigure}
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288. \newpage
  289. %++++++++++++++++++++++++++++++++++++++++++++
  290. \begin{myfontIt}
  291. \noindent A good mind\\
  292. and a good heart\\
  293. are always a \\
  294. formidable combination
  295. \end{myfontIt}
  296.  
  297. \begin{myfontSC}
  298. \hspace{5cm} - Nelson Mandela
  299. \end{myfontSC}
  300. \hspace{3cm}
  301.  
  302.  
  303.  
  304.  
  305. %Image
  306. \begin{wrapfigure}{r}{0.1\textwidth}
  307. \vspace{-75pt}
  308. \begin{center}
  309. \includegraphics[scale=0.4]{heart09.png}
  310. \end{center}
  311. \end{wrapfigure}
  312.  
  313.  
  314.  
  315.  
  316.  
  317. \newpage
  318. %++++++++++++++++++++++++++++++++++++++++++++
  319. \begin{myfontIt}
  320. \noindent The heart has its reasons\\
  321. of which reason\\
  322. knows nothing\\
  323. \end{myfontIt}
  324.  
  325. \begin{myfontSC}
  326. \hspace{5cm} - Blaise Pascal
  327. \end{myfontSC}
  328. \hspace{3cm}
  329.  
  330.  
  331. %Image
  332. \begin{wrapfigure}{r}{0.1\textwidth}
  333. \vspace{-75pt}
  334. \begin{center}
  335. \includegraphics[scale=0.4]{heart10.png}
  336. \end{center}
  337. \end{wrapfigure}
  338.  
  339.  
  340.  
  341.  
  342. \newpage
  343. %++++++++++++++++++++++++++++++++++++++++++++
  344. \begin{myfontIt}
  345. \noindent I am certain of nothing \\
  346. but the holiness of the\\
  347. heart's affections and\\
  348. the truth of the imagination
  349. \end{myfontIt}
  350.  
  351. \begin{myfontSC}
  352. \hspace{5cm} - John Keats
  353. \end{myfontSC}
  354. \hspace{3cm}
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361. \newpage
  362. %++++++++++++++++++++++++++++++++++++++++++++
  363.  
  364. \begin{myfontIt}
  365. {\huge Miguel Angel}
  366. \end{myfontIt}
  367.  
  368.  
  369.  
  370. \begin{myfontIt}
  371. {\huge Perez-Xochicale}
  372. \end{myfontIt}
  373.  
  374.  
  375.  
  376.  
  377.  
  378. \newpage
  379. %++++++++++++++++++++++++++++++++++++++++++++
  380.  
  381.  
  382.  
  383. \begin{myfont}
  384. {\Huge\noindent M. A. P\'erez-Xochicale.}
  385. {\small \noindent Updated 5 December 2006.}
  386. \href{http://www.wikibooks.org}{For futher details}
  387.  
  388.  
  389. \end{myfont}
  390. \vspace{3cm}
  391.  
  392.  
  393.  
  394. \begin{myfontSC}
  395. {\Huge\noindent Miguel Angel Perez-Xochicale.}\\
  396. {\small \noindent Friday, the Twentieth of March 2014.}
  397. \end{myfontSC}
  398.  
  399.  
  400.  
  401.  
  402. \newpage
  403. %++++++++++++++++++++++++++++++++++++++++++++
  404.  
  405.  
  406.  
  407.  
  408. {\Huge \noindent For futher details, the following link provides detailed information regarding this work.}
  409.  
  410. \href{http://mapxblog.blogspot.mx/2014/03/printing-imperfections-and-defects-with.html}{http://mapxblog.blogspot.mx/2014/03/printing-imperfections-and-defects-with.html}
  411.  
  412. \vspace{1cm}
  413. {\huge\noindent Miguel Angel Perez-Xochicale.}\\
  414. {\large\noindent Friday, the Twentieth of March 2014.} \\
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421. \end{document}
  422.  
  423.  
  424.  
  425. %+++++++++++++++++++++++++++++++++++++++++++++++++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement