From: Jan Heinen <JaHeinen@gmx.de>
To: ntg-context@ntg.nl
Subject: Rotating two lines in a table
Date: Tue, 08 Apr 2014 00:44:52 +0200 [thread overview]
Message-ID: <53432A64.9000808@gmx.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1394 bytes --]
>>/ I am searching since several days now .... tomorow y need a solution :-(
/>>/
/>>/ I want to rotate two lines with:
/>>/
/>>/ \starttext
/>>/ \bTABLE
/>>/ \bTR
/>>/ \bTD{\rotate[rotation=90]{first line\crlf second line}}\eTD
/>>/ \eTR
/>>/ \eTABLE
/>>/ \stoptext
/>>/
/>>/
/>>/ but instead of: (rotated 90°)
/>>/ first line
/>>/ second line
/>>/
/>>/ I get:
/>>/ first linesecond line
/>>/
/>>/
/>>/ Help. Please.
/>
>
>Perhaps using two cells (one per line) will work:
>
> \bTABLE
> \bTR
> \bTD[rightframe=off]{\rotate[rotation=90]{first line}}\eTD
> \bTD[leftframe=off]{\rotate[rotation=90]{second line}}\eTD
> \bTD{and some text in the next column}\eTD
> \eTR
> \eTABLE
Of course this solution works but it is unhandy for my needs.
I have lots of cells in the table with different amounts of
lines.
Isn't there an easy way to rotate a cell which has has a
text with several linebreaks?
I hope there is a ConTeXt-way ... otherwise I have to
generate a graphic of the whole table with gimp ... I don't
like this idea.
--
*Dr. Jörg Kopp*
Am Pützberg 2
51674 Wiehl
Tel.: 02262/751086
eMail: info@dr-kopp.com <mailto:info@dr-kopp.com>
Internet: www.dr-kopp.com
[-- Attachment #1.2.1: Type: text/html, Size: 3837 bytes --]
[-- Attachment #1.2.2: Grafik1 --]
[-- Type: image/jpeg, Size: 18938 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2014-04-07 22:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 22:44 Jan Heinen [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-10 10:10 jaheinen
2014-04-10 12:32 ` Wolfgang Schuster
2014-04-07 21:50 Jan Heinen
2014-04-07 22:17 ` Rik Kabel
2014-04-08 9:59 ` Hans Hagen
2014-04-07 19:59 "Dr. Jörg Kopp"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53432A64.9000808@gmx.de \
--to=jaheinen@gmx.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).