Dear All, a follow-up after a private mail from Doug.
You see my attempts to reproduce a vertical long brace similar to the example in my previous post. The output was obtained with groff -e -t ESB.tbl and -Tps, which shows rather undernourished braces in the wrong vertical position. The pdf output shows boxes instead of the actual symbols. Regards, Oliver. PS: Let's assume I get these braces working, is there any chance to use PS to rotate them in a tbl cell without breaking everything? On 25/11/2020 18:36, Oliver Corff wrote:
Dear All, I am new to the groff mailing list; Werner suggested I try to ask here. Currently I am reproducing (typesetting) a pile of historical material which looks as if typeset with roff and the roff tool chain (tbl, eqn etc.). My trial output reproducing complex tables looks so similar to the printed original that it keeps amazing me, virtually no tweaking needed at all from my side to create a genuinely faithful reproduction (for historical and educational purposes). Please forgive me if the following question has been answered before; I duly searched the archive before posting but did not find any message which covers my problem. However, a small handful of the tabular material I work with uses large curly brackets, both vertical and horizontal; I attach two scanned reproductions of my original. I tried to create an otherwise empty pile in eqn: # left "" pile { "" above "" above "" above "" } right } # in order to produce a curly bracket of the desired height, but the solution was not robust (output visible in ps but not in pdf, vertically grossly misaligned). I am completely clueless with regard to producing a horizontal curly bracket akin to TeX \underbrace. Any pointers towards potential information solutions are appreciated. Thank you very much in advance, Oliver. PS: I discovered the beauty and usefulness of the groff system for my particular purpose only a year ago. Compiling a 42 MB text size document with 10.000 pages of PDF output and 800 tables is so amazingly fast that I am left in speechless admiration.
.\" .\" 0_Definitionen.roff .\" .\" Enthält eine Reihe kleiner Hilfsmittel, um die .\" SBZ-Texte leichter verarbeiten zu können. .\" .\" .\" Deutsche Silbentrennung .\" .do hpf hyphen.det .\" .\" .EQ .\" delim ## .\" .EN .\" .\" Hoch- und Tiefstellung .\" Hochstellung für Fußnotenziffern in Tabellen .\" Es hat sich als nicht durchführbar herausgestellt, .\" echte Fußnoten in Tabellen zu verwenden, meistens .\" stimmten dann die Ziffern nicht, oder der Text .\" wurde nicht ausgegeben, oder oder oder. Dann .\" war die ungeklärte Abhängigkeit von Makro-Paketen. .\" .\" Der inline-Ansatz mit eqn: #"" sup X# ist häufig, .\" (siehe Unix Text Processing), aber erfordert den .\" Einsatz von eqn --- eine weitere Komplexitätsstufe .\" in der automatisierten Verarbeitung. .\" .\" Daher die folgende Lösung: Verwendung der Index- .\" ziffern-Makros aus s.tmac: .\" .ds par@sub-start \v'-.1m\s'\En[.s]*7u/10u'+.7m' .als < par@sub-start .ds par@sub-end \v'-1.9m\s0+.9m' .als > par@sub-end .\" .\" .\" Gegenüber s.tmac geringfügig im Höhenversatz reduziert: von \v'-.9m auf -.7m .\" .ds par@sup-start \v'-.7m\s'\En[.s]*7u/10u'+.7m' .als { par@sup-start .ds par@sup-end \v'-.7m\s0+.7m' .als } par@sup-end .ds sub \*<\\$1\*> .ds sup \*{\\$1\*} .\" .\" .\" Chemische Substanzen spielen in Artikeln .\" über Industrie, Landwirtschaft und Umwelt .\" eine wichtige Rolle. Namensnennung sollte .\" so einfach wie möglich sein, daher die .\" folgenden Abkürzungen: .\" .ds CmHn C\*[sub m]H\*[sub n] .ds CO2 CO\*[sub 2] .ds H2SO4 H\*[sub 2]SO\*[sub 4] .ds HNO3 HNO\*[sub 3] .ds H3CHO H\*[sub 3]CHO .ds K2O K\*[sub 2]O .ds NH3 NH\*[sub 3] .ds NO2 NO\*[sub 2] .ds P2O5 P\*[sub 2]O\*[sub 5] .ds SO2 SO\*[sub 2] .ds SO3 SO\*[sub 3] .ds m2 m\*[sup 2] .ds m3 m\*[sup 3] .\" .\" Allgemeine Abkürzungen sollten typographisch .\" einheitlich gehandhabt werden: .\" .ds vH v.\|H. .ds aT a.\|T. .\" .\" Deutsche Anführungszeichen sollten .\" einheitlich gehandhabt werden: .\" .ds dq \[Bq]\\$1\[lq] .\" .\" Wir definieren leaderfill zur Sicherheit neu, .\" weil der in Tabellen nicht ad hoc funktioniert. .\" Anwendung in der Tabelle dann z.B.: "1958\*a" .\" .ds a \a .\" .\" .\" Hochgestellte Zahlen, Anführungszeichen, Brüche etc. .\" .char „ \[Bq] .char “ \[lq] .\" .char ¹ \*[sup 1] .char ² \*[sup 2] .char ³ \*[sup 3] .\" .char ½ # 1 smallover 2 # .char ⅓ # 1 smallover 3 # .char ⅔ # 2 smallover 3 # .char ¼ # 1 smallover 4 # .char ¾ # 3 smallover 4 # .char ⅕ # 1 smallover 5 # .char ⅖ # 2 smallover 5 # .char ⅗ # 3 smallover 5 # .char ⅘ # 4 smallover 5 # .char ➝ \[->]
ESB.pdf
Description: Adobe PDF document
ESB.ps
Description: PostScript document
.\" vim:syntax=groff .\" .\" 1975_226, 1979_0294, 1985_0320 .\" .\" Einheitliches_Sozialistisches_Bildungssystem_Gliederung.tbl .\" .\" Oliver Corff, 2020-02-16 .\" .\" .\" .so ../Pool/0_Definitionen.roff .\" fam H .EQ delim ## .EN .ds IV # left "" pile { "" above "" above "" above "" } right } # .ds V_ # left "" pile { "" above "" above "" above "" above "" } right } # .TS center nospaces tab(|) decimalpoint(,) delim (##); li l c l. Elementarstufe I: | Kinderkrippen |\*[IV]| als Einrich- | usw. (0\-3 J.) |\^ | tungen der Elementarstufe II: | Kinderg\[:a]rten |\^ | Vorschul- | usw. (3\-6 J.) |\^ | erziehung Primarstufe: | Unterstufe | (Kl 1\-3) |\*[V_]| der 10klassigen Sekundarstufe I a: | Mittelstufe |\^ | allgemein- | (Kl 4\-8) |\^ | bildenden Sekundarstufe I b: | Oberstufe |\^ | polytechnischen | (Kl. 9 u. 10) |\^ | Oberschule .T& li l s s. Sekundarstufe II: | Abiturstufe (Kl. 11 u. 12) | Einrichtungen der Berufsausbil- | dung Jugendlicher | Sekund\[:a]r- und | Einrichtungen der Aus- und Tertiarstufe: | Weiterbildung der Werkt\[:a]tigen | (Erwachsenenqualifizierung) Tertiarstufe I: | Fachschulwesen Tertiarstufe II: | Hochschulwesen incl. post- | graduale Weiterbildung und | <\[->]Akademien>. .TE