Name: | Columns Manipulation |
Version: | 2.2 |
Last update: | 2019-11-27 14:12:48 |
⌥
) key. This is illustrated by the following image:
cd ef kl mn st uvHere is another example (from Romeo and Juliet). We suppose here that each word is separated by a tabulation (any single character can be chosen as a separator, even the space character; see below):
Gallop | apace, | you | fiery-footed | steeds, | |||
Towards | Phoebus' | lodging; | such | a | waggoner | ||
As | Phaethon | would | whip | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
you fiery-footed lodging; such would whipeven though all the words from 'you' to 'whip' are hilited. We have thus selected columns 3-4 and rows 1-3.
\t
. To change the current separator symbol, use the Columns
Separator command in the Columns Utilities submenu.
\array
or \table
environments:
\begin{tabular}{|c|c|c|} \hline you & fiery-footed \\ lodging; & such \\ would & whip \\ \hline \end{tabular}You can even use the 'space' character as a separator.
\t
.Gallop | apace, | steeds, | |||
Towards | Phoebus' | a | waggoner | ||
As | Phaethon | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
Gallop | apace, | you | fiery-footed | steeds, | you | fiery-footed | |
Towards | Phoebus' | lodging; | such | a | waggoner | lodging; | such |
As | Phaethon | would | whip | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
Gallop | you | fiery-footed | apace, | you | fiery-footed | steeds, | |||
Towards | lodging; | such | Phoebus' | lodging; | such | a | waggoner | ||
As | would | whip | Phaethon | would | whip | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
Gallop | apace, | fiery-footed | you | steeds, | |||
Towards | Phoebus' | such | lodging; | a | waggoner | ||
As | Phaethon | whip | would | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
Gallop | apace, | lodging; | such | steeds, | |||
Towards | Phoebus' | would | whip | a | waggoner | ||
As | Phaethon | you | fiery-footed | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
you | steeds, | apace, | Gallop | fiery-footed | |||
waggoner | Towards | such | Phoebus' | lodging; | a | ||
As | Phaethon | would | whip | you | to | the | west, |
And | bring | in | cloudy | night | immediately. |
1 | Gallop | apace, | you | fiery-footed | steeds, | |||
2 | Towards | Phoebus' | lodging; | such | a | waggoner | ||
3 | As | Phaethon | would | whip | you | to | the | west, |
4 | And | bring | in | cloudy | night | immediately. |
ab cd ef gh ij klbecomes
ab gh cd ij ef klAll rows must have the same number of cells. The entire row is transposed even if you select only a portion.
⌥
)
key down.\t
. This menu item allows
to do temporary changes (as long as you do not quit Alpha). To
change the columns separator permanently go to the Columns
Manipulation Preferences.Ctrl-C
(c for columns !) prefix.
Hit ⌃C
, release, then hit a letter as indicated in the following
table:
ctrl-C A | append columns |
ctrl-C B | display bindings info |
ctrl-C C | copy columns |
ctrl-C D | delete columns |
ctrl-C E | equalize columns (left justified) |
ctrl-C F | insert rows numbers from a given value |
ctrl-C I | insert columns |
ctrl-C M | center columns (m for middle) |
ctrl-C N | number rows |
ctrl-C O | sort columns in increasing order |
ctrl-C P | complete rows |
ctrl-C R | right justify columns |
ctrl-C S | change the columns separator |
ctrl-C T | transpose columns and rows |
ctrl-C U | unequalize columns |
ctrl-C W | twiddle columns |
ctrl-C X | extract columns and copy to the scrap |