Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Text parallelogrammartig setzen
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Lotze  
View profile   Translate to Translated (View Original)
 More options Dec 19 2002, 7:17 pm
Newsgroups: de.comp.text.tex
From: Thomas Lotze <thomas.lo...@gmx.net>
Date: Fri, 20 Dec 2002 00:20:28 +0100
Local: Thurs, Dec 19 2002 6:20 pm
Subject: Re: Text parallelogrammartig setzen

On Thu, 19 Dec 2002 23:41:58 +0100, Jens Kubieziel wrote:
> in einem Treffen der LUG kam heute eine Diskussion auf,

Ist mir das entgangen? Kann mich gar nicht erinnern - solange ist das
doch nun auch noch nicht her ;o)

> ob es möglich
> ist, mit LaTeX den Text verschoben in der Art eines Parallelogramms zu
> setzen.
[...]
> Gibt es eine Möglichkeit, dies automatisch zu erstellen?

Zwei Moeglichkeiten: Zum einen bietet TeX selbst \parshape, das die
Angabe von Beginn und Laenge der einzelnen Zeilen eines Absatzes
ermoeglicht. Das ist aber nur dann wirklich brauchbar, wenn die Anzahl
der Zeilen und ihre Hoehen vor dem Setzen des Absatzes bekannt sind und
nicht vom Umbruch abhaengen.

Zum anderen gibt es aus LaTeX2.09-Zeiten das Paket shapepar von Donald
Arseneau (CTAN:macros/latex/contrib/other/misc/shapepar.sty). Dort kannst
Du die aeussere Form des Absatzes durch Beginn und Laenge von
horizontalen Scanlines beschreiben, deren Lage in bezug auf die gesamte
Hoehe des Absatzes waehlbar ist. Der Absatz wird dann solange neu
gesetzt, bis er die beschriebene Form moeglichst vollstaendig ausfuellt.

\documentclass{article}

\usepackage{shapepar}

\begin{document}

\shapepar{{5}%
  {0}b{2}\\%
  {0}t{2}{8}\\%
  {5}t{0}{8}\\%
  {5}e{8}}
The lines in the spec are not lines of text; nor are they the lines
that you would use to draw the shape itself.  They are horizontal
scans across the shape at irregular intervals.  Curved shapes need
many scan lines for accurate rendering while simple shapes need only
a few.  To determine the line specifications, start by drawing the
shape on paper, then draw a series of horizontal lines across it,
including lines that just touch the top and the bottom of the figure.  
Each line crosses over pieces of the figure in some region.

\end{document}

Viele Gruesse,
Thomas

--
Thomas Lotze

thomas.lo...@gmx.net                      http://www.thomas-lotze.de/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.