Example: stock market

LaTeX Spacing Tricks - Washington State University

Op er2012 MathBoxesandglueBoxesInviolablespacerequ iredbysometypsettingelementCouldb eoneletterHasbaseline,height,width,andde pthTricksforslantedstylesMathBoxesandglu eGlueBoxesarepastedtogetherwithglueStret chable/shrinkablespaceLettersgetgluedtog ether.. lltheallottedspaceThegluestretchesto llthespaceMathMo desMo desHorizontalMo de formlettersintowords,wordsintolines, de divideparagraphsintolinesandformthese,ma th,andotherob de ObviousSubtleties:Internalverticalmo de,restrictedhorizontalmo de,displaymathmo deHorizontalmo de,restrictedhorizontalmo de,andnowbacktohorizontalmo deMathMo desMo desMatterSometimesimp ortanttoknowwhatmo deTEXisin\hspacetakesplaceinhorizontalmo de\vspacedelayeduntilverticalmo detakesoverMathMo desExample\indent\vspace{.}

nhspace{ length } makes a horizontal space. Use anywhere. There is a nhspace{1in} before this. There is also a nhspace{1in} after this . Use nhspace* to force space even at line breaks. nvspace{ height} makes a vertical space. Use in vertical mode. There was a nvspace{.6in} at the end of the previous line. Use nvspace* to force space even at a ...

Tags:

  Force, Space, Space force

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of LaTeX Spacing Tricks - Washington State University

1 Op er2012 MathBoxesandglueBoxesInviolablespacerequ iredbysometypsettingelementCouldb eoneletterHasbaseline,height,width,andde pthTricksforslantedstylesMathBoxesandglu eGlueBoxesarepastedtogetherwithglueStret chable/shrinkablespaceLettersgetgluedtog ether.. lltheallottedspaceThegluestretchesto llthespaceMathMo desMo desHorizontalMo de formlettersintowords,wordsintolines, de divideparagraphsintolinesandformthese,ma th,andotherob de ObviousSubtleties:Internalverticalmo de,restrictedhorizontalmo de,displaymathmo deHorizontalmo de,restrictedhorizontalmo de,andnowbacktohorizontalmo deMathMo desMo desMatterSometimesimp ortanttoknowwhatmo deTEXisin\hspacetakesplaceinhorizontalmo de\vspacedelayeduntilverticalmo detakesoverMathMo desExample\indent\vspace{.}

2 5in} At the indentation of this sentence,\TeX\ went into horizontal mode. There is somedisplay math mode here too:$$\vspace{.5in}x_{\pm} =-\frac{b}{2a}\pm\frac{\sqrt{b^2-4ac}}{2 a}.$$\TeX\ typesets the entireparagraph into lines, but can only use the \tc{vspace}commands when in vertical mode, putting the linestogether into a desExampleAttheindentationofthissentence ,TEXwentintohori-zontalmo dehereto o:x = b2a b2 esetstheentireparagraphintolines,butcano nlyusethe\vspacecommandswheninverticalmo de, \xy:backslash-spaceProvidesastretchables pace, fora xed-widthunbreakablespace, :K.

3 D. Co op erMathLineandparagraphspacingMorespacesS tretchablespaces useanywhere\xyOO\quadOO\qquadOOMathmo despaces\!OO\,O O\;O OMathLineandparagraphspacingArbitrarysiz espaces\hspace{length} \hspace{1in}b \hspace{1in}after this .Use\hspace*toforcespaceevenatlinebreaks .\vspace{height} \vspace{.6in} \vspace* \smallskip asmallverticalspace:followsthisline.\med skip amediumverticalspace:followsthisline.\bi gskip \vspace{\medskipamount}Canchangetheseamo unts:\medskipamount=20ptMathLineandparag raphspacingFillsIn nitelystretchable/shrinkablespace\hfillc an llaline, ,\hrulefill llswithaline,\dotfill .. right\vfilldo essameinverticalBeware:iftheb oxhasvariablewidthorheight,the erthatTEXwasdesignedforpro ducingb o erforbinding.

4 \evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ erthatTEXwasdesignedforpro ducingb o erforbinding.\evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ erthatTEXwasdesignedforpro ducingb o erforbinding.\evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ erthatTEXwasdesignedforpro ducingb o erforbinding.\evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ erthatTEXwasdesignedforpro ducingb o erforbinding.\evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ erthatTEXwasdesignedforpro ducingb o erforbinding.

5 \evensidemargin leftmarginforevennumb eredpages\oddsidemargin leftmarginforo ddnumb eredpages\textwidth \topmargin,\ \oddsidemargin= \setlength{\oddsizemargin}{ }MathPagespacingVariablesPointisthatcert ainvariablescontrolpagesizeandp osition.\parskip distanceb etweenparagraphs\parindent indentationatb eginningofparagraph\baselineskip distanceb etweenbaselinesoftextlinesSomeofthesecan b ,\baselineskipissetbydo cumentenvironment,sotochangeit,youmustdo soinsidethedo oxesSometimesyouneedtosettextina xedarea.\makebox[width]{content}setscont entinab oxofwidthwidth.\makebox[.8\textwidth]{\h rulefill This isofficially .8\textwidth wide}.Thisiso \ ecifylengthsasanumb ertimesavariable, oxesIfyouwanttoseetheb ox,youcanusea\frameboxTomakeab oxthatusesmultiplelines, \parbox{ }{.}

6 }.Tomakeab oxthatisverticallyalignedo thebaseline,use\raisebox{2ex}{..}.Positi velengthsdenoteraisingtheb oxab ovethebaseline;negativelengthsputthebase oftheb oxb \rule.\rule{1in}{.2mm}gives.\rule{.1in}{ .5\baselineskip} eago o dwayofforcingspaceinhorizontalormathmo :\rule[ ]{0in}{.5in}Theoptionallengthmovesthestr utdownfromthebaselinebyaquarterinch.\str utgivesastrutastallasthedefaultlineheigh t.


Related search queries