tex >> concatenating marginpars

by burt » Thu, 17 Apr 2008 03:05:15 GMT

I am writing a style package which involves writing quite a few
marginpars, some of which may be tied to the same line. Each of the
marginpars are quite small (six of seven characters). I'd like to be
able to concatenate them, so that if there are several marginpars on
one line they won't overwrite each other. I can, if need be, put up
with marginpars being moved, as they normally would be, but if I can
avoid that I would like to.
John Burt


tex >> concatenating marginpars

by David Kastrup » Thu, 17 Apr 2008 03:24:26 GMT


XXXX@XXXXX.COM writes:


There is no ready-made package for that. PDFTeX's pdfpagepos stuff in
connection with marks and possibly some code borrowed from bigfoot might
be useful for implementing something like that.

But there are serious amounts of work involved here, for sure.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL: http://www.tex.ac.uk/cgi-bin/texfaq2html> ;



tex >> concatenating marginpars

by Donald Arseneau » Thu, 17 Apr 2008 05:45:42 GMT




That's what marn.sty was for, years ago, but it never got finished
to my satisfaction. I will send.

Donald Arseneau XXXX@XXXXX.COM




concatenating marginpars

by burt » Thu, 17 Apr 2008 22:52:17 GMT

Thanks again, Don
John


Similar Threads

1. Vertical spacing between marginpars

2. Several marginpars on a line

I am interested in keeping a running count of sentences in a document
in the margin. I'd like, for occasions in which there is more than one
sentence on a line, to be able to put more than one marginpar on that
line. Is there a way to concatenate marginpars, so that it may say
1,2,3
or, even better, 
1-3 
in the margin?

John Burt

3. some marginpars to left, some to right

4. Vertical placement of marginpars

Marginpars normally are placed on the baseline. Does anyone know how to
move them all up a point from the baseline?
thanks
John Burt

5. Marginpars that go into the textblock?

6. Floating Marginpars: Solutions?

I want to create a document in Latex where images, tables, etc. appear
in the margin (unless, if they are very wide). However, I ran into two
major problems so far:

1. I couldn't find a class that has the layout that I want out of the   
   box:    
   a) The paper size should be smaller than A4 (I will print the document 
      on A4 and then have it cut). It should of course be less tall than 
      A4 because of the large margins that are needed.
   b) The structure of the document should be similar to that of report.
   c) The document is not a technical manual but a scientific text, so 
      the class refman doesn't have the look that I want.
   Maybe I should just use Koma-Script and adapt it to my needs. But 
   this is a lot more work than using a class that supports wide margins
   for example by a simple switch. Any ideas?

   In case I need to follow the Koma-Script trail: Does anyone know of 
   any nicely composed books whose layout I could use as a template?

2. The marginpars have to be placed manually, i.e. Latex doesn't check  
   whether there is enough space in the margin. I illustrated this problem
   in the example below. What I need are some kind of floating marginpars
   or, even better, some kind of floating objects that get placed in the 
   margin if they aren't too wide, and otherwise get placed into the main 
   text area. Do any solutions exist?

Felix

Example:

\documentclass[a4paper]{report}
\usepackage{capt-of}
\usepackage[normal,footnotesize,nooneline]{caption2}

\begin{document}
Page 1

\vspace{20cm} % Instead of much text

bla bla bla (see figure \ref{fig1-1})

\marginpar{[SOMEFIGURE]\captionof{figure}{\label{fig1-1} This margin par should
    be moved up or moved to the next page.}}

\newpage
Page 2

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

-- 
To contact me off list don't reply but send mail to
    felix DOT klee AT inka DOT de
Otherwise your email to me might get automatically deleted!

7. marginpars nebeneinander

8. Ruled environment and marginpars