Thread View: de.comp.tex
8 messages
8 total messages
Started by Franz Born
Tue, 25 Aug 1992 22:12
Initialen
Author: Franz Born
Date: Tue, 25 Aug 1992 22:12
Date: Tue, 25 Aug 1992 22:12
86 lines
2840 bytes
2840 bytes
Ich will einen Text in etwa so setzen, wie es z.B. frueher in der Bibel ueblich
war, also eine grosse Initiale (I) ueber mehrere Zeilen umgeben von Text. Etwa
so:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
(I) Text asfkd asjkdflkj asdflkj asfdlkj safd
lasjdflskjd lskjfd lasjkfd lskafjd dkl
asfjd lsfjkd jsfkadlk jklsafjd sak sdfj skslkdj
alsdjas djlsdjf sjdlfjslkjfs djlskjdf slkd ...
////////////////////////////////////////////////
Wie fange ich das am besten an?
Versuche, die Initiale in Box mbinit und den Rest in Box mbrest zu
stecken, wie folgt:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\documentstyle{article}
\setlength{\parindent}{0pt}
\begin{document}
\newbox\mbinit % nimmt Initiale auf
\newbox\mbrest % Rest des Textes
\newdimen\mbrestdim
\newdimen\mbinitdim
\setbox\mbinit=\hbox{
\Huge (I)
}
\mbinitdim=\wd\mbinit
\mbrestdim=\textwidth
\addtolength\mbrestdim{-\mbinitdim}
\setbox\mbrest=\vbox{
\hsize=\mbrestdim
alskdjf slfkdj asfjdkl aslfjk
slfdj slafjkd sajfdllkjsa fdjlkfjd aslkdjf sakdfjlsjkdf alsdjfa
sflkasjdf asldfkjas dflkasjdflasfkdja sdflkjasd falsfjkd saldjkas
...
}
\vbox{
\hbox{\box\mbinit \vsplit\mbrest to \ht\mbinit}
%^^^^^^^^^^
\vbox{\hsize=\textwidth \unvbox\mbrest}
}
\end{document}
//////////////////////////////////////////
fuehrten zu etwa folgendem Ergebnis:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
(I) Text asfkd asjkdflkj asdflkj asfdlkj safd
lasjdflskjd lskjfd lasjkfd lskafjd dkl
<<<<<<<<<<<<<<<<<
asfjd lsfjkd jsfkadlk jklsafjd sak sdfj s
alsdjas djlsdjf sjdlfjslkjfs djlskjdf ...
////////////////////////////////////////////////
* Wie schaffe ich es, dass der zweite Teil des Textes auf die volle
Text-Weite kommt?
* Wie kann ich "\ht\mbinit" durch eine Groesse "xdim" ersetzen, sodass
der Abstand "<<<<<<" gleich dem normalen Zeilenabstand ist?
Zur Not koennte man sich vielleicht mit
\parshape = ...
behelfen. Das Problem ist hier jedoch die Anpassung an "xdim", das mit
verschiedenen Boxenhoehen "mbinit" und verschiedenen Schrifthoehen in
"mbrest" variiert und verschieden viele in "\parshape" zu
beruecksichtigende Zeilen erfordert.
Hat jemand eine Idee? Oder vielleicht schon einen fertigen Style? (bitte
nicht FTP!!!)
Vielen Dank,
Franz
Re: Initialen
Author: Michael Vogt
Date: Thu, 27 Aug 1992 16:49
Date: Thu, 27 Aug 1992 16:49
25 lines
1444 bytes
1444 bytes
In einer Nachricht vom 25.08.92 schrieb Franz Born % MAUS M (2:242/2.6):
FB> Ich will einen Text in etwa so setzen, wie es z.B. frueher in der
FB> Bibel ueblich
FB> war, also eine grosse Initiale (I) ueber mehrere Zeilen umgeben von
FB> Text.
FB> Hat jemand eine Idee? Oder vielleicht schon einen fertigen Style?
Ruf doch mal zwischen 07:00 und 00:00 Uhr hier an und requeste:
DROP.LZH 2614 Dokumentstyle zur Vergroesserung des ersten Buchstabens
(Wortes) eines Abschnittes
...oder das Magic TEX um eine komplette Liste aller TeX-, LaTeX-,
Metafontdateien zu bekommen.
Falls Du als Mauser nicht pollen kannst:
A&M-SOFT +49-030-3915186, als Gast einloggen (max. 30 Kb download)
Mit freundlichen Gruessen Mick!
P.S.: Falls jemand Styles und Tools zu TeX sucht, innerhalb der oben angegeben
Zeiten kann jeder requesten. Ich habe ca. 280 Archive mit knapp 11 Mb an denen
ich gerne andere Interessenten teilhaben lasse.
Re: Initialen
Author: Ulf Bartelt
Date: Thu, 27 Aug 1992 18:40
Date: Thu, 27 Aug 1992 18:40
29 lines
1696 bytes
1696 bytes
Hi Franz!
Tuesday August 25 1992 23:12, Franz Born % MAUS M wrote to All:
FB> Ich will einen Text in etwa so setzen, wie es z.B. frueher in der Bibel
FB> ueblich war, also eine grosse Initiale (I) ueber mehrere Zeilen umgeben
FB> von Text. Etwa so:
FB> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
FB> (I) Text asfkd asjkdflkj asdflkj asfdlkj safd
FB> lasjdflskjd lskjfd lasjkfd lskafjd dkl
FB> asfjd lsfjkd jsfkadlk jklsafjd sak sdfj skslkdj
FB> alsdjas djlsdjf sjdlfjslkjfs djlskjdf slkd ...
% I picked this up off the net quite a while ago but I don't know who to
% credit.
% ( \bigfirstlet{T}his works ) :
\def\bigfirstletter#1#2{{\noindent
\setbox0\hbox{\Huge #1}\setbox1\hbox{#2}\setbox2\hbox{(}%
\count0=\ht0\advance\count0 by\dp0\count1\baselineskip
\advance\count0 by-\ht1\advance\count0 by\ht2
\dimen1=.5ex\advance\count0 by\dimen1\divide\count0 by\count1
\advance\count0 by1\dimen0\wd0
\advance\dimen0 by.25em\dimen1=\ht0\advance\dimen1 by-\ht1
\global\hangindent\dimen0\global\hangafter-\count0
\hskip-\dimen0\setbox0\hbox to\dimen0{\raise-\dimen1\box0\hss}%
\dp0=0in\ht0=0in\box0}#2}
Re: Initialen
Author: Jens Franzen
Date: Fri, 28 Aug 1992 06:46
Date: Fri, 28 Aug 1992 06:46
15 lines
1144 bytes
1144 bytes
Im TeX-Book gibt's eine Beschreibung der Makros \hangindent, die fuer genau den Zweck gedacht sind. Mit ein bisschen Rechnerei und einer Box fuer die Initiale duerfte das Problem schnell geloest sein. Desweiteren hat Yannis Harambolous fuer seine deutschen Fraktur Fonts das so geloest. Man kann also auch unter der Font-Distribution z.b. in Stuttgart (wohl der TeX-Server in Deutschland) oder einem anderen TeX-Server sich diese (sehr schoenen) Fonts besorgen und die dortigen Makros verwenden. MfG Jens Franzen PS. Der Server in Stuutgart is auch via email (mail-server@rusmv1.rus.uni-stuttgart.de) erreichbar.
Re: Initialen
Author: Thomas Preymesser
Date: Fri, 28 Aug 1992 11:38
Date: Fri, 28 Aug 1992 11:38
31 lines
1496 bytes
1496 bytes
Franz Born @ M am Di, 25.08.92 23:12 in TEX
FB>Ich will einen Text in etwa so setzen, wie es z.B. frueher in der Bibel
FB>ueblich
FB>war, also eine grosse Initiale (I) ueber mehrere Zeilen umgeben von Text.
--
% From: gerland@ubvmsb.cc.buffalo.edu (James R. Gerland)
% Newsgroups: comp.text.tex
% Subject: Re: one BIG letter
%
% >I'd like a style definition that produces one large letter at the beginning
% >of a paragraph.
%
% I picked this up off the net quite a while ago but I don't know who to
credit.
% ( \bigfirstlet{T}his works ) :
\def\bigfirstletter#1#2{{\noindent
\setbox0\hbox{\Huge #1}\setbox1\hbox{#2}\setbox2\hbox{(}%
\count0=\ht0\advance\count0 by\dp0\count1\baselineskip
\advance\count0 by-\ht1\advance\count0 by\ht2
\dimen1=.5ex\advance\count0 by\dimen1\divide\count0 by\count1
\advance\count0 by1\dimen0\wd0
\advance\dimen0 by.25em\dimen1=\ht0\advance\dimen1 by-\ht1
\global\hangindent\dimen0\global\hangafter-\count0
\hskip-\dimen0\setbox0\hbox to\dimen0{\raise-\dimen1\box0\hss}%
\dp0=0in\ht0=0in\box0}#2}
--
Gruss, Thomas
Re: Initialen
Author: Thomas Seeling
Date: Fri, 28 Aug 1992 12:44
Date: Fri, 28 Aug 1992 12:44
11 lines
783 bytes
783 bytes
Hallo, Franz! *** Am Dienstag August 25 1992 um 23:12 schrieb Franz Born % MAUS M an All: FB> Ich will einen Text in etwa so setzen, wie es z.B. frueher in der Bibel FB> ueblich war, also eine grosse Initiale (I) ueber mehrere Zeilen umgeben von FB> Text. Etwa so: Im Source des TeX-Book kann man das nachlesen. Tschau...Thomas
drop.doc (was: Re: Initialen)
Author: Wilhelm Buehler
Date: Fri, 28 Aug 1992 20:46
Date: Fri, 28 Aug 1992 20:46
68 lines
3635 bytes
3635 bytes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DROP.DOC <February 17, 1988>
% Macro for dropping and enlarging the first letter(s) of a paragraph.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Macro written by David G. Cantor, and published Fri, 12 Feb 88, in
% TeXhax, 1988 #16.
% Internet: dgc@math.ucla.edu
% UUCP: ...!{ihnp4, randvax, sdcrdcf, ucbvax}!ucla-cs!dgc
%
% Modified for use with LaTeX by Dominik Wujastyk, February 17, 1988
% Internet: dow@wjh12.harvard.edu
% Bitnet: dow@harvunxw.bitnet
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This LaTeX macro is for dropping and enlarging the first letter(s) of a
% paragraph. The argument may be one or more letters.
%
% Here is an example of its usage:
%
% \documentstyle[drop]{article}
% \begin{document}
% \drop{IN} THE beginning God created the heaven and the earth. Now the
% earth was unformed and void, and darkness was upon the face of the
% deep; and the spirit of God hovered over the face of the waters.
% \end{document}
%
% Which will produce something along these lines:
%
% I I\ I THE beginning God created the heaven and the earth.
% I I \ I Now the earth was unformed and void, and darkness was
% I I \I upon the face of the deep; and the spirit of God hov-
% ered over the face of the waters.
%
% In the first instance the macro will pause during LaTeX processing and
% ask you for the font you wish to use for you drop capital. When you
% have something that looks good, then comment out box one in DROP.STY,
% and comment in box two, replacing "cmr10 scaled \magstep5" with the font
% of your choice.
%
% In my opinion (DW) there are no fonts available in the standard
% TeX/LaTeX set that are ideal for this use, unless you go down to 9pt or %
8pt for your text face, and this is too small. If you have Metafont you
% should consider generating a cmr17 font at a magstep of two (about 25pt)
% or three (about 30pt), or even more, depending on the point size of your
% main text. Why not go the whole hog and design some really fancy
% capitals from scratch!
%
%%%%%%%%%%%%%%%%%%%%% BOX ONE %%%%%%%%%%%%%%%%%%%%%%%%%
\typein[\dropinitialfont]{Font for Dropped initial:} %
\font\largefont \dropinitialfont %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%%%%%%%% BOX TWO %%%%%%%%%%%%%%%%%%%%%%%%%
%\font\largefont= cmr10 scaled \magstep5 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\drop#1#2{{\noindent
\setbox0\hbox{\largefont #1}\setbox1\hbox{#2}\setbox2\hbox{(}%
\count0=\ht0\advance\count0 by\dp0\count1\baselineskip
\advance\count0 by-\ht1\advance\count0by\ht2
\dimen1=.5ex\advance\count0by\dimen1\divide\count0 by\count1
\advance\count0 by1\dimen0\wd0
\advance\dimen0 by.25em\dimen1=\ht0\advance\dimen1 by-\ht1
\global\hangindent\dimen0\global\hangafter-\count0
\hskip-\dimen0\setbox0\hbox to\dimen0{\raise-\dimen1\box0\hss}%
\dp0=0in\ht0=0in\box0}#2}
Re: Initialen
Author: Sven Rimmelspacher
Date: Sun, 30 Aug 1992 17:15
Date: Sun, 30 Aug 1992 17:15
16 lines
927 bytes
927 bytes
Mahlzeit Franz! On <25 Aug 92> wrote Franz Born % MAUS M to All: FB%MM> Ich will einen Text in etwa so setzen, wie es z.B. frueher in der FB%MM> Bibel ueblich war, also eine grosse Initiale (I) ueber mehrere Zeilen FB%MM> umgeben von Text. Etwa so: FB%MM> Wie fange ich das am besten an? Indem Du DROP.STY verwendest, der genau dieses macht. Falls Du den nirgends findest -> NM So long... Sven
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads