<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I use Latex for 99% of the items I distribute to my classes. I'm currently using a Macbook Pro, OSX , 2 GB ram. I typically use a slight modification of the margin par command to insert hints, references, or other items, on handouts, tests, etc. I've never had any problem with my approach, whether on my mac or on a windows machine.<div><br></div><div>I usually use Texshop version 2.26, but the same thing occurs with Aquamacs Emacs (I'm not sure it wouldn't have, but I thought I'd check).<br><div><br></div><div>However, I have recently stumbled on some strange behavior when I use pdfsync. Here is a short sample program. Please excuse the </div><div>relatively boring content - I needed enough material for the problem to be clear.) The code is here.</div><div><br></div><div><div>\documentclass[12pt]{article}</div><div>\usepackage[T1]{fontenc}</div><div>\usepackage{lmodern}</div><div>\usepackage{tikz}</div><div>\usepackage{pdfsync}</div><div>\title{Stumped}</div><div>\author{Me}</div><div>%%%%%%%%%%%%%%%%%</div><div>% Here is the problem command</div><div>\newcommand{\aside}[1]{\marginpar{\raggedright \footnotesize \itshape #1}}</div><div>%%%%%%%%%%%%%%%%%</div><div>\date{}</div><div>\begin{document}</div><div>\maketitle</div><div>Here is enough text to make a good-sized paragraph. \newline</div><div>You will need to do some computer work for these problems. If you use Scilab, copy and</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>paste the console commands\aside{In an assignment or handout, I use</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>these notes to give hints or references to similar topics.} to the end of your submitted work (as has been done</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>in several handouts). If you use Excel, clearly explain how you obtained the answers, </div><div><span class="Apple-tab-span" style="white-space:pre">          </span>and save the Excel file in case I have questions.</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>\begin{center}</div><div><span class="Apple-tab-span" style="white-space:pre">                       </span>\begin{tikzpicture}[thick, myvert/.style={draw,shape=circle,%</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>minimum size = 4mm, text centered}]</div><div><span class="Apple-tab-span" style="white-space:pre">                  </span>\foreach \x in {1,2,3,4,5}{%</div><div><span class="Apple-tab-span" style="white-space:pre">                 </span>\node[myvert] at (72*\x:5) (v\x){$v_\x$};}</div><div><span class="Apple-tab-span" style="white-space:pre">                   </span>\foreach \x in {1,2,3,4}{%</div><div><span class="Apple-tab-span" style="white-space:pre">                           </span>\foreach \y in {2,3,...,5}{%</div><div><span class="Apple-tab-span" style="white-space:pre">                                 </span>\draw (v\x) -- (v\y);}}</div><div><span class="Apple-tab-span" style="white-space:pre">                      </span>\end{tikzpicture}</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>\end{center}</div><div>\end{document}</div></div><div><br></div><div>When I compile this there are no error messages in the console - the pdf file is generated. However, the text in my "aside" doesn't have any linebreaks. If I comment out the ``\usepackage{pdfsync}'' instruction, and compile, all works as intended. </div><div>This doesn't seem to be font dependent - I get the same behavior with a couple other fonts. I usually use several other</div><div>packages (fancyhdr, fancybox, booktabs, nothing exotic) - neither their inclusion nor their exclusion has any influence on the issue I've described.</div><div><br></div><div>I'm far from a programmer, and even further from being an expert with Latex. I'm probably missing something simple, I realize. Any help will be much appreciated.</div><div>"From the rocking of the cradle, to the rolling of the hearse, the going up is worth the coming down."</div><div>Lee D. Witt</div><div><a href="mailto:leedwitt@gmail.com">leedwitt@gmail.com</a></div><div><a href="mailto:lee.witt@davenport.edu">lee.witt@davenport.edu</a></div><div><br></div><div>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/">http://email.esm.psu.edu/mac-tex/</a><br>List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a><br>TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/">http://mactex-wiki.tug.org/</a><br>List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a></div></div></body></html>