Le 6 nov. 2010 à 14:10, André Bellaïche a écrit : > > Le 30 oct. 2010 à 11:55, Peter Dyballa a écrit : > >> >> Am 29.10.2010 um 23:51 schrieb André Bellaïche: >> >>> I have looked into changebar.sty, and it does not seems to be easy to >>> replace the Postscript commands by a simple command drawing an hrule or a >>> vrule. >> >> >> André, >> >> if you need to compare two XeLaTeX files, then you don't need the fancy >> XeLaTeX or, better, system fonts to show these differences or changes. If >> you make that XeLaTeX source bi-lang, add to it a preamble for pdfLaTeX in >> UTF-8 encoding, then you should be able to use changebar.sty with, for >> example, Times or Helvetica or Latin Modern. >> > > > Thank you, Peter. > > I found another solution : using \marginpar (together with the package > 'marginparhack' to ensure the marginpars are not floated away) and draw a > vrule of some depth in the marginpar. I have to adjust the depth at hand, but > this is easy. > > In this way, there is no more problem with XeTeX and I can keep my Frutiger > fonts. > > But another question arise: I would like the marginpars to be always on the > left side (this is where revision bars are always put) and I cannot see any > means to ensure that. > > This seems to be impossible with the twoside option (in book.cls), and with > the oneside option, marginpars are always on the right. Trying \reversemargin > par with oneside has the only effect of making the marginpars disappear. > > I could use an \llap to swing the vrule across the page, but this looks > rather risky. > > Does anyone know another solution? It would be better if this solution could > also work with twoside. > > André
Don't worry anymore about that. \oneside + \marginpar + \reversemarginpar works perfectly. But the default \marginparwidth was too large, so large that the rule I put in the marginbox was in fact printed far outside from the page. Sorry for asking questions without thinking a little before. André -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex