daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2018 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage{wrapfig}
  3.  
  4. usepackage{mwe}
  5. usepackage{lipsum}
  6.  
  7. begin{document}
  8. lipsum[1]
  9. begin{wrapfigure}{r}{0pt}%
  10.   includegraphics[width=4cm]{example-image-a}%
  11. end{wrapfigure}
  12. lipsum[2]
  13. begin{wrapfigure}{l}{0pt}%
  14.   includegraphics[width=5cm]{example-image-b}%
  15. end{wrapfigure}
  16. lipsum[3-4]
  17. end{document}
  18.    
  19. starttext
  20.  placefigure[left][]{}{externalfigure[little-prince]}
  21.  dorecurse{2}{input zapf par input tufte}
  22.  
  23.  dorecurse{1}{input zapf par input tufte}startfiguretext
  24.  [right]
  25.  []
  26.  {}
  27.  {externalfigure[little-prince]
  28.  [width=.3makeupwidth]}
  29.  
  30.       Coming back to the use of typefaces in electronic
  31.       publishing: many of the new typographers receive their
  32.       knowledge and information about the rules of typography
  33.       from books, from computer magazines or the instruction
  34.       manuals which they get with the purchase of a PC or
  35.       software. There is not so much basic instruction, as of
  36.       now, as there was in the old days, showing the differences
  37.       between good and bad typographic design. Many people are
  38.       just fascinated by their PC's tricks, and think that a
  39.       widely||praised program, called up on the screen, will make
  40.       everything automatic from now on.
  41.  stopfiguretext
  42.  
  43.  stoptext
  44.    
  45. usemodule[letter]
  46.  setupcolors[state=start]
  47.  setupletterstyle[backaddress=no]
  48.  setupbackgrounds[paper,text,footer][text][background=color,]
  49.  setupletter[fromname={anonymoususer},
  50.     fromaddress={address\ city\ state}]
  51.  
  52.  setupletteroptions[marking=no,backgroundimage=little-prince]
  53.  
  54.  setupletterlayer[backaddress][x=24mm,y=40mm]
  55.  starttext
  56.  startletter
  57.     [toname={MIT\Prof. Donald Knuth},
  58.     toaddress={13 anywhere Outthere\utopia, MA\USA}
  59.     opening={Hello Sir},
  60.     subject={Any subject},
  61.     closing={greetings}]
  62.  
  63.  input zapf
  64.  stopletter
  65.  stoptext
RAW Paste Data
Top