I have found this in the cover of seminar(one tool to make slide) document.

The final result I have captured below:

enter image description here

The complete document can download here.

I wonder how to make this. Is there any easy way?

  • 1
    You could email the author for the source file. Commented Oct 21, 2011 at 9:00
  • 3
    This is the document of seminar. And the document is distributed with source code. It is implemented with \parshape manually, you should read it first.
    – Leo Liu
    Commented Oct 21, 2011 at 11:09

4 Answers 4


Quoting from Chapter 14 of The TeXbook

You can specify an essentially arbitrary paragraph shape by saying \parshape= < number >, where the < number> is a positive integer n, followed by 2n < dimen > specifications. In general, '\parshape= n i1 l1 i2 l2... in ln' specifies a paragraph whose first n lines will have lengths l1, l2,...,ln, respectively, and the will be indented from the left margin by the respective amounts i1, i2,...,in

I went straight to the source http://mirrors.ctan.org/macros/latex/contrib/seminar/doc/ and found seminar-doc.tex. I was able to recreate the result:

enter image description here

The code is below




\rightskip=0pt plus 2em\relax
0cm 2.3cm
0cm 2.9cm
0cm 3.5cm
0cm 4.1cm
0cm 4.7cm
0cm 5.3cm
0cm 5.9cm
0cm 6.5cm
0cm 7.1cm
0cm 7.7cm
0cm 8.3cm
0cm 8.3cm
0cm 8.3cm
0cm 7.3cm
0cm 7.3cm
0cm 7.3cm
0cm 7.3cm
0cm 7.3cm
0cm 7.3cm
0cm 7.3cm
seminar.sty is a \LaTeX\ style for typesetting slides or
transparencies, and accompanying notes. Here are some of its special features:
It is compatible with AmS-\LaTeX, and you can use PostScript and AmS
fonts. Slides can be landscape and portrait. There is support for color and
frames. The magnification can be changed easily.
Overlays can be produced from a single slide environment. Accompanying notes,
such as the text of a presentation, can be put
    outside the slide environments. The slides, notes or both together
    can then be typeset in a variety of formats.


Note that in reference to The TeXbook quote, each line is indented by 0cm, but each line has a different length. The paragraph is designed to be 20 lines long.


ConTeXt allows you to define a shape using metapost and then typeset any text using that shape. Behind the schemes, Metapost calculates the parameters for \parshape, writes them to an external file, TeX reads that file and sets \parshape. Below is an example:

  % Shape of the paragraph
  path p ; p := ((0,1)..(-1,0)..(1,0)--cycle) scaled 5cm ;

  ( p,                     % shape path
   .5*\baselinedistance,  % offset
   .5*\baselinedistance,  % x offset
   .5*\baselinedistance,  % y offset
   \baselinedistance,     % distance between lines
   \strutheight,          % height of a line
   \strutdepth,           % depth of a line
   \strutheight           % height of the first line
  ) ;

  % For visualization purposes only
  draw p ;

% For visualization purposes only


  \input knuth \endgraf

% The \type{background} is set only to visualize the parshape

which gives

enter image description here


You could look at the shapepar package.


You can use \parshape primitive. The following example is a modification of Knuth example in his TeXBook. The commands are in Persian (I am not sure if this helps you at all): source and its PDF output

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .