
While you are editing text, you can use a number of special key combinations to insert characters which are not present in your computer's regular character-set. For example, while the ASCII character-set has only one dash, Calamus has four of varying lengths. With this function you can decide which key bindings will call up which characters, as well assigning them to some other functions.
Control codes are not necessarily displayed in a text frame (such as control codes for hyphenation, for instance). In the external Text editor which is described separately in the Appendix, you can choose to display all control codes. So to get a clear overview which control codes are positioned where, you should always use the Text editor.
Click on the Key bindings editor
icon. You will see the
following dialog box:

We will describe the meaning of the 23 special key combinations briefly:
This is a control character in the sense described above. Wherever it appears, a word may be divided at that position if necessary when wrapping the line. So normally this control character is not shown, but a hyphen will appear when a word must be split at the end of a line.
This control character works in a similar way to the code
above. It denotes the position where a word or combination may be
divided, but unlike the normal control code no hyphen will
appear at this marking. You can use this code to show where word
combinations that contain non-alphabetic characters (such as the slash
in black/white
) should be divided at the end of a line without
adding a disfiguring hyphen. So the control character itself will
never be displayed, it only affects the formatting of the text.
A hyphen is a short horizontal dash used for joining compound
words and to show that a word is divided at a line-break. Also called
a short divis
.
The en-dash is a dash the same width as the uppercase letter
N
. It is used to mark a range of numbers, such as in 1988-1990.
The em-dash is a dash as wide as the uppercase letter M
.
It is used for a break in thought – like this one – in the
middle of a sentence.
Note: The minus sign is a dash even longer than an em-dash, and is used in mathematical expressions.
A fixed space will not be stretched to justify a line in justified text.
An Em-space is a space of the same width as a capital M
.
A 1/2 Em-space is naturally half that width, etc. pro rata.
This control code allows you to mark the end of a normal line of text. During reformatting, Calamus will break the line here, but will not begin a new paragraph; in other words, there will be regular line spacing and no indentation on the next line.
This control code ends a paragraph. Here too the text will be broken, but instead of the regular line spacing the paragraph spacing will be inserted here and the next line may be indented.
To vertically justify text paragraphs on a page (see Control
codes function group) you can use a variable offset between some
paragraphs. More information can be found in Vertical text
alignment
.
For proper typography, you should use different marks to begin
and end a quotation. There are two kinds of opening quotation marks
and two kinds of closing quotation marks – double- and
single-quote marks in English, as well as some others in German,
French etc. This function allows you to specify which quote marks
should be used and which keys will call them up, allowing you to set
items like John says:
correctly.Goodbye!
The edit fields at far right of this part of the dialog permit you to choose the quote marks to be used in your document. As some of these quote marks are included in the Calamus fonts but are not part of the ASCII character-set, you have to put placeholder characters in these fields.
For the normal English-language convention, the best choice for the four fields are:
ASCII 171 («), 170 (ª), 096 (`) and 039 (').
|
These give opening and closing double-quotes (so-called 66 and 99,
because they look like small versions of these numbers) and
single-quotes (6 and 9) respectively. Other languages, such as German,
may use a dropped double opening quote (obtained with ASCII 172 here)
or the double chevrons
(ASCII 174 and 175). The method of
inputting non-keyboard ASCII characters is described below. Note that
for this to work Activate ASCII entry
must be active (ticked)
when the dialog is opened. If necessary activate this, close
the dialog and reopen it again to input your choice of quote marks.
Click on Save
then All
to save your settings for future
use.
This group allows you to assign key bindings to some text-related functions.
For deadkeys you need neither a cemetery nor Dracula. A deadkey
is a key which does not display any character itself, but will modify
the character which other keys produce in combination with it. These
keys allow you to enter accented characters in foreign languages. For
example, you could produce é
by entering the º
and
then e
. A similar thing applies for the keys `
, ^
and
on English-language keyboards. In detail (capitals are
similar):
| 1st character: | ^ | ' | " | ` | ~ | / | ||
| 2nd character: | a | -> | | ä | ° | |||
| e | -> | | é | | | |||
| i | -> | | ¡ | | | |||
| o | -> | | ¢ | ö | | ± | ³ | |
| u | -> | | £ | ü | | |||
| c | -> | |
The key binding combination specified here allows you to switch deadkeys on and off. A tick in the field at far right shows that the option is currently active. You can also activate and deactivate the function by clicking on this field to make the tick appear or disappear.
There are some characters which cannot be entered even with
deadkeys. You still have two options: Either use [Control]+[Esc] to
bring up the font overview in which you can click out
the
letter you want, or use ASCII input. Hold down the [Alternate] key
while you enter the (decimal) three digit ASCII code of the character
on the number keypad. You can turn the ASCII input option on
or off with the specified key binding combination or by clicking in
the tick
field at far right.
This key binding allows you to rebuild the currently displayed
page. If you have aborted a page display using the
[Control]+[Shift]+[Alternate] key binding (see Key combinations
in earlier chapters describing the standard elements), this function
will allow you to rebuild the complete page from scratch.
This macro call key (or key combination) must be used before
each application of a key binding that executes a user-defined text
macro (see Text macros
function group). For ease of use it is a
good idea to use a single – otherwise unused – key for
this, such as [Help].
This key combination produces the Euro
currency
character. Unfortunately the correct character is not present in most
Calamus CFN fonts, so you can either use ASCII 238, or create your own
with the optional Font editing module.
Here you can enter the delay (in seconds) before text becomes visible, or is reformatted, when inputting directly into a text frame.
To alter a key binding combination in the Special key
bindings
dialog (see above), first click right of the colon on the
relevant entry. The dialog shown below appears and you can input a key
combination in it. The settings are similar to the key binding display
in the Top row, where Control
, Alternate
,
left Shift
and right Shift
represent keys that you hold
down while you press the key that you enter in the larger box below or
select from the listed modifier keys. Note that when both
left Shift
and right Shift
checkboxes are active you
need to hold down only one of the two, but otherwise all selected
modifier keys have to be held down simultaneously:

The 18 keys of the numeric keypad at far right can be used
independently of their equivalents on the top row of the main
keyboard. To use them, activate the Number-pad
checkbox.
The keys [Backspace], [Return], [Delete], [Help], [Undo],
[Insert], [ClrHome], the function keys [F1] to [F10] and the [Enter]
key of the number-pad do not create any characters directly, and are
generally known as special keys
. So if you want to use one of
these keys, you have to click on the corresponding button of the
dialog to activate it. In the main Special key bindings dialog the
keys are abbreviated in the same manner as in the coordinate display
(see Coordinate display
in the Coordinates bar
chapter).
If you have problems using this dialog, please refer to the Text
module, Define macro
chapter.
The corresponding key binding combination will then be displayed
as for the Key bindings
entry of the Options menu. A preceding
A
means Alternate
, C
represents Control
,
LS
and RS
the two Shift
keys. A #
immediately before a character means you should use the relevant key
in the numeric keypad at far right of the keyboard.