12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

D.2. Picture objectsTypeset example D.5: Picture: framingFRAME text✒Source for example D.5\setlength{\unitlength}{1pc}\begin{picture}(10,3)\put(0,0){\framebox(10,3){}}\thicklines\put(0.5,2){\frame{$\mathcal{FRAME}$ text}}\put(0.5,2){\vector(1,1){0}}\end{picture}\setlength{\unitlength}{1pt}<strong>The</strong> \shortstack command enables you to stack text vertically. It produces a box witha single column of text. As with the other boxes, the reference point is at the lower left handcorner, although no frame is drawn around the stack. <strong>The</strong> \shortstack command is anordinary box making command, but it is not often used outside picture mode.\shortstack[〈pos〉]{〈text〉}Each line of 〈text〉, except for the last, is ended by a \\ command. <strong>The</strong> default is to centereach text line within the column. However, there is an optional positioning argument. Avalue of l for 〈pos〉 will left align the text and a value of r will right align the text.Source for example D.6\setlength{\unitlength}{1mm}\begin{picture}(75,25)\put(0,0){\framebox(75,25){}}\put(3,3){\shortstack{Default \\ short \\ Stack}}\put(3,3){\vector(1,1){0}}\put(23,3){\shortstack[l]{Left\\aligned\\short\\Stack}}\put(23,3){\vector(1,1){0}}\put(43,3){\shortstack[r]{Right\\aligned\\short\\Stack}}\put(43,3){\vector(1,1){0}}415

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!