| 1 |
/* manual_Picture.cpp |
| 2 |
* |
| 3 |
* Copyright (C) 1992-2023,2025 Paul Boersma |
| 4 |
* |
| 5 |
* This code is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation; either version 3 of the License, or (at |
| 8 |
* your option) any later version. |
| 9 |
* |
| 10 |
* This code is distributed in the hope that it will be useful, but |
| 11 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
* See the GNU General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
#include "ManPagesM.h" |
| 20 |
#include "../kar/UnicodeData.h" |
| 21 |
|
| 22 |
static void drawOneIpaSymbol (Graphics g, double x, double y, conststring32 symbol) { |
| 23 |
char32 buffer [30], *p = & buffer [0]; |
| 24 |
const double fontSize = Graphics_inqFontSize (g); |
| 25 |
Graphics_rectangle (g, x - 0.5, x + 0.5, y - 0.5, y + 0.5); |
| 26 |
if (! symbol) return; |
| 27 |
Graphics_setTextAlignment (g, Graphics_CENTRE, Graphics_HALF); |
| 28 |
Graphics_setFont (g, kGraphics_font::TIMES); |
| 29 |
Graphics_setFontSize (g, fontSize * 3.0 / 2.0); |
| 30 |
Graphics_text (g, x, y + 0.25, symbol); |
| 31 |
while (*symbol) { |
| 32 |
if (*symbol == '\\') { *p++ = '\\'; *p++ = 'b'; *p++ = 's'; } // visualize backslash (\bs) |
| 33 |
else { *p++ = '\\'; *p++ = *symbol; *p++ = ' '; } // visualize special symbols (% ^ _ #) |
| 34 |
symbol ++; |
| 35 |
} |
| 36 |
*p = '\0'; // trailing null byte |
| 37 |
Graphics_setFont (g, kGraphics_font::HELVETICA); |
| 38 |
Graphics_setFontSize (g, fontSize * 5.0 / 6.0); |
| 39 |
Graphics_text (g, x, y - 0.25, buffer); |
| 40 |
Graphics_setFontSize (g, fontSize); |
| 41 |
} |
| 42 |
|
| 43 |
static void draw_IPA_consonant_chart (Graphics graphics) { |
| 44 |
Graphics_setWindow (graphics, -0.8, 20.0, 6.0, 19.5); |
| 45 |
Graphics_setFontStyle (graphics, Graphics_ITALIC); |
| 46 |
Graphics_setTextRotation (graphics, 60.0); |
| 47 |
Graphics_setTextAlignment (graphics, Graphics_LEFT, Graphics_HALF); |
| 48 |
Graphics_text (graphics, 4, 17.6, U"bilabial"); |
| 49 |
Graphics_text (graphics, 5, 17.6, U"labiodental"); |
| 50 |
Graphics_text (graphics, 6, 17.6, U"dental"); |
| 51 |
Graphics_text (graphics, 7, 17.6, U"alveolar"); |
| 52 |
Graphics_text (graphics, 8, 17.6, U"alv. lateral"); |
| 53 |
Graphics_text (graphics, 9, 17.6, U"postalveolar"); |
| 54 |
Graphics_text (graphics, 10, 17.6, U"retroflex"); |
| 55 |
Graphics_text (graphics, 11, 17.6, U"alveolo-palatal"); |
| 56 |
Graphics_text (graphics, 12, 17.6, U"palatal"); |
| 57 |
Graphics_text (graphics, 13, 17.6, U"labial-palatal"); |
| 58 |
Graphics_text (graphics, 14, 17.6, U"labial-velar"); |
| 59 |
Graphics_text (graphics, 15, 17.6, U"velar"); |
| 60 |
Graphics_text (graphics, 16, 17.6, U"uvular"); |
| 61 |
Graphics_text (graphics, 17, 17.6, U"pharyngeal"); |
| 62 |
Graphics_text (graphics, 18, 17.6, U"epiglottal"); |
| 63 |
Graphics_text (graphics, 19, 17.6, U"glottal"); |
| 64 |
Graphics_setTextRotation (graphics, 0.0); |
| 65 |
Graphics_setTextAlignment (graphics, Graphics_RIGHT, Graphics_HALF); |
| 66 |
Graphics_text (graphics, 3.3, 17, U"voiceless plosive"); |
| 67 |
Graphics_text (graphics, 3.3, 16, U"voiced plosive"); |
| 68 |
Graphics_text (graphics, 3.3, 15, U"nasal"); |
| 69 |
Graphics_text (graphics, 3.3, 14, U"voiceless fricative"); |
| 70 |
Graphics_text (graphics, 3.3, 13, U"voiced fricative"); |
| 71 |
Graphics_text (graphics, 3.3, 12, U"approximant"); |
| 72 |
Graphics_text (graphics, 3.3, 11, U"trill"); |
| 73 |
Graphics_text (graphics, 3.3, 10, U"tap or flap"); |
| 74 |
Graphics_text (graphics, 3.3, 9, U"lateral approx."); |
| 75 |
Graphics_text (graphics, 3.3, 8, U"implosive"); |
| 76 |
Graphics_text (graphics, 3.3, 7, U"click"); |
| 77 |
Graphics_setFontStyle (graphics, Graphics_NORMAL); |
| 78 |
{ |
| 79 |
static const struct { double x, y; conststring32 string; } symbols [] = { |
| 80 |
{ 4, 17, U"p" }, { 4, 16, U"b" }, { 4, 15, U"m" }, { 4, 14, U"\\ff" }, { 4, 13, U"\\bf" }, { 4, 11, U"\\bc" }, { 4, 8, U"\\b^" }, { 4, 7, U"\\O." }, |
| 81 |
{ 5, 15, U"\\mj" }, { 5, 14, U"f" }, { 5, 13, U"v" }, { 5, 12, U"\\vs" }, { 5, 10, U"\\V^" }, |
| 82 |
{ 6, 14, U"\\tf" }, { 6, 13, U"\\dh" }, { 6, 7, U"\\|1" }, |
| 83 |
{ 7, 17, U"t" }, { 7, 16, U"d" }, { 7, 15, U"n" }, { 7, 14, U"s" }, { 7, 13, U"z" }, { 7, 12, U"\\rt" }, { 7, 11, U"r" }, { 7, 10, U"\\fh" }, { 7, 9, U"l" }, { 7, 8, U"\\d^" }, |
| 84 |
{ 8, 17, U"t^l" }, { 8, 16, U"d^l" }, { 8, 14, U"\\l-" }, { 8, 13, U"\\lz" }, { 8, 12, U"l" }, { 8, 10, U"\\rl" }, { 8, 9, U"l" }, { 8, 7, U"\\|2" }, |
| 85 |
{ 9, 14, U"\\sh" }, { 9, 13, U"\\zh" }, { 9, 7, U"\\|-" }, |
| 86 |
{ 10, 17, U"\\t." }, { 10, 16, U"\\d." }, { 10, 15, U"\\n." }, { 10, 14, U"\\s." }, { 10, 13, U"\\z." }, { 10, 12, U"\\r." }, { 10, 10, U"\\f." }, { 10, 9, U"\\l." }, { 10, 7, U"!" }, |
| 87 |
{ 11, 14, U"\\cc" }, { 11, 13, U"\\zc" }, |
| 88 |
{ 12, 17, U"c" }, { 12, 16, U"\\j-" }, { 12, 15, U"\\nj" }, { 12, 14, U"\\c," }, { 12, 13, U"\\jc" }, { 12, 12, U"j" }, { 12, 9, U"\\yt" }, { 12, 8, U"\\j^" }, |
| 89 |
{ 13, 12, U"\\ht" }, |
| 90 |
{ 14, 14, U"\\wt" }, { 14, 12, U"w" }, |
| 91 |
{ 15, 17, U"k" }, { 15, 16, U"\\gs" }, { 15, 15, U"\\ng" }, { 15, 14, U"x" }, { 15, 13, U"\\gf" }, { 15, 12, U"\\ml" }, { 15, 9, U"\\lc" }, { 15, 8, U"\\g^" }, |
| 92 |
{ 16, 17, U"q" }, { 16, 16, U"\\gc" }, { 16, 15, U"\\nc" }, { 16, 14, U"\\cf" }, { 16, 13, U"\\ri" }, { 16, 11, U"\\rc" }, { 16, 8, U"\\G^" }, |
| 93 |
{ 17, 14, U"\\h-" }, { 17, 13, U"\\9e" }, |
| 94 |
{ 18, 17, U"\\?-" }, { 18, 14, U"\\hc" }, { 18, 13, U"\\9-" }, |
| 95 |
{ 19, 17, U"\\?g" }, { 19, 14, U"h" }, { 19, 13, U"\\h^" }, |
| 96 |
{ 0, 0, nullptr } }; |
| 97 |
for (int i = 0; symbols [i]. string != nullptr; i ++) |
| 98 |
drawOneIpaSymbol (graphics, symbols [i]. x, symbols [i]. y, symbols [i]. string); |
| 99 |
} |
| 100 |
} |
| 101 |
|
| 102 |
static void draw_IPA_vowel_chart (Graphics graphics) { |
| 103 |
Graphics_setWindow (graphics, -0.7, 19.0, -0.5, 7.5); |
| 104 |
Graphics_setFontStyle (graphics, Graphics_ITALIC); |
| 105 |
Graphics_setTextRotation (graphics, 60.0); |
| 106 |
Graphics_setTextAlignment (graphics, Graphics_LEFT, Graphics_HALF); |
| 107 |
Graphics_text (graphics, 4.5, 6.6, U"front"); |
| 108 |
Graphics_text (graphics, 7, 6.6, U"central"); |
| 109 |
Graphics_text (graphics, 9.5, 6.6, U"back"); |
| 110 |
Graphics_setTextRotation (graphics, 0); |
| 111 |
Graphics_setTextAlignment (graphics, Graphics_RIGHT, Graphics_HALF); |
| 112 |
Graphics_text (graphics, 3.3, 6, U"close"); |
| 113 |
Graphics_text (graphics, 3.3, 5, U"close centralized"); |
| 114 |
Graphics_text (graphics, 3.3, 4, U"close-mid"); |
| 115 |
Graphics_text (graphics, 3.3, 2, U"open-mid"); |
| 116 |
Graphics_text (graphics, 3.3, 0, U"open"); |
| 117 |
Graphics_setFontStyle (graphics, Graphics_NORMAL); |
| 118 |
{ |
| 119 |
static const struct { double x, y; conststring32 string; } symbols [] = { |
| 120 |
{ 4, 6, U"i" }, { 5, 6, U"y" }, { 6.5, 6, U"\\i-" }, { 7.5, 6, U"\\u-" }, { 9, 6, U"\\mt" }, { 10, 6, U"u" }, |
| 121 |
{ 4.2, 5, U"\\ic" }, { 5.2, 5, U"\\yc" }, { 9.8, 5, U"\\hs" }, |
| 122 |
{ 4, 4, U"e" }, { 5, 4, U"\\o/" }, { 6.5, 4, U"\\e-" }, { 7.5, 4, U"\\o-" }, { 9, 4, U"\\rh" }, { 10, 4, U"o" }, |
| 123 |
{ 7, 3, U"\\sw" }, { 7, 1, U"\\at" }, |
| 124 |
{ 4, 2, U"\\ef" }, { 5, 2, U"\\oe" }, { 6.5, 2, U"\\er" }, { 7.5, 2, U"\\kb" }, { 9, 2, U"\\vt" }, { 10, 2, U"\\ct" }, |
| 125 |
{ 4, 1, U"\\ae" }, |
| 126 |
{ 4, 0, U"a" }, { 5, 0, U"\\Oe" }, { 9, 0, U"\\as" }, { 10, 0, U"\\ab" }, |
| 127 |
{ 0, 0, nullptr } }; |
| 128 |
for (int i = 0; symbols [i]. string != nullptr; i ++) |
| 129 |
drawOneIpaSymbol (graphics, symbols [i]. x, symbols [i]. y, symbols [i]. string); |
| 130 |
} |
| 131 |
} |
| 132 |
|
| 133 |
void manual_Picture_init (ManPages me); |
| 134 |
void manual_Picture_init (ManPages me) { |
| 135 |
|
| 136 |
MAN_PAGES_BEGIN |
| 137 |
R"~~~( |
| 138 |
################################################################################ |
| 139 |
"Marks bottom every..." |
| 140 |
© Paul Boersma 2023 |
| 141 |
|
| 142 |
See @@Marks left/right/top/bottom every...@. |
| 143 |
|
| 144 |
Examples of use: |
| 145 |
================ |
| 146 |
################################################################################ |
| 147 |
"Text bottom..." |
| 148 |
© Paul Boersma 2023 |
| 149 |
|
| 150 |
See @@Text left/right/top/bottom...@. |
| 151 |
|
| 152 |
Examples of use: |
| 153 |
================ |
| 154 |
################################################################################ |
| 155 |
"Text top..." |
| 156 |
© Paul Boersma 2023 |
| 157 |
|
| 158 |
See @@Text left/right/top/bottom...@. |
| 159 |
|
| 160 |
Examples of use: |
| 161 |
================ |
| 162 |
|
| 163 |
################################################################################ |
| 164 |
"World menu" |
| 165 |
© Paul Boersma 2023 |
| 166 |
|
| 167 |
One of the menus of the @@Picture window@. |
| 168 |
|
| 169 |
Purpose |
| 170 |
======= |
| 171 |
To draw text, lines, curves or shapes. |
| 172 |
|
| 173 |
The coordinates for commands in the ##World menu# are to be specified as world coordinates, |
| 174 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 175 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 176 |
|
| 177 |
################################################################################ |
| 178 |
"Draw rectangle..." |
| 179 |
© Paul Boersma 2023 |
| 180 |
|
| 181 |
A command in the @@World menu@ of the @@Picture window@, |
| 182 |
to draw a rectangle bounded by the %x and %y points given, |
| 183 |
in the current colour and with the current line width and line type. |
| 184 |
|
| 185 |
The coordinates %x and %y are to be specified as world coordinates, |
| 186 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 187 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 188 |
|
| 189 |
################################################################################ |
| 190 |
"Draw line..." |
| 191 |
© Paul Boersma 2023 |
| 192 |
|
| 193 |
A command in the @@World menu@ of the @@Picture window@, |
| 194 |
to draw a line between the given %x and %y points, |
| 195 |
in the current colour and with the current line width and line type. |
| 196 |
|
| 197 |
The coordinates %x and %y are to be specified as world coordinates, |
| 198 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 199 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 200 |
|
| 201 |
################################################################################ |
| 202 |
"Paint rectangle..." |
| 203 |
© Paul Boersma 2023 |
| 204 |
|
| 205 |
A command in the @@World menu@ of the @@Picture window@, |
| 206 |
to fill a rectangle bounded by the given %x and %y points, |
| 207 |
with the given colour. |
| 208 |
|
| 209 |
The coordinates %x and %y are to be specified as world coordinates, |
| 210 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 211 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 212 |
|
| 213 |
################################################################################ |
| 214 |
"Draw rounded rectangle..." |
| 215 |
© Paul Boersma 2023 |
| 216 |
|
| 217 |
A command in the @@World menu@ of the @@Picture window@, |
| 218 |
to draw a rectangle bounded by the %x and %y points given, |
| 219 |
and with the given radius for rounding the corners (in millimetres), |
| 220 |
in the current colour and with the current line width and line type. |
| 221 |
|
| 222 |
The coordinates %x and %y are to be specified as world coordinates, |
| 223 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 224 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 225 |
|
| 226 |
################################################################################ |
| 227 |
"Paint rounded rectangle..." |
| 228 |
© Paul Boersma 2023 |
| 229 |
|
| 230 |
A command in the @@World menu@ of the @@Picture window@, |
| 231 |
to fill a rectangle bounded by the given %x and %y points, |
| 232 |
and with the given radius for rounding the corners (in millimetres), |
| 233 |
with the given colour. |
| 234 |
|
| 235 |
The coordinates %x and %y are to be specified as world coordinates, |
| 236 |
i.e. in the same coordinates as the latest drawing (e.g. seconds horizontally |
| 237 |
and pascals vertically) or as specified by the latest @@Axes...@ command. |
| 238 |
|
| 239 |
################################################################################ |
| 240 |
"Black" |
| 241 |
© Paul Boersma 2023 |
| 242 |
|
| 243 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 244 |
to set the colour of subsequent drawings to black. |
| 245 |
|
| 246 |
################################################################################ |
| 247 |
"Blue" |
| 248 |
© Paul Boersma 2023 |
| 249 |
|
| 250 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 251 |
to set the colour of subsequent drawings to blue. |
| 252 |
|
| 253 |
################################################################################ |
| 254 |
"Colour..." |
| 255 |
© Paul Boersma 2023 |
| 256 |
|
| 257 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 258 |
to set the colour of subsequent drawings. |
| 259 |
|
| 260 |
You can specify the colour as one of the colour names in the Pen menu, |
| 261 |
or as a grey number betwene 0.0 (black) and 1.0 (white), or as a RGB sequence. |
| 262 |
|
| 263 |
In an RGB sequence you specify |
| 264 |
a red value between 0.0 (no red) and 1.0 (brightest red), |
| 265 |
a green value between 0.0 (no green) and 1.0 (brightest green), |
| 266 |
and a blue value between 0.0 (no blue) and 1.0 (brightest blue). |
| 267 |
For instance, {0,1,0} is green, {1,1,1} is white, or { 1, 0.5, 0.5 } is pink. |
| 268 |
|
| 269 |
################################################################################ |
| 270 |
"Cyan" |
| 271 |
© Paul Boersma 2023 |
| 272 |
|
| 273 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 274 |
to set the colour of subsequent drawings to cyan. |
| 275 |
|
| 276 |
################################################################################ |
| 277 |
"Pink" |
| 278 |
© Paul Boersma 2023 |
| 279 |
|
| 280 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 281 |
to set the colour of subsequent drawings to pink. |
| 282 |
|
| 283 |
################################################################################ |
| 284 |
"Green" |
| 285 |
© Paul Boersma 2023 |
| 286 |
|
| 287 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 288 |
to set the colour of subsequent drawings to green. |
| 289 |
|
| 290 |
################################################################################ |
| 291 |
"Grey" |
| 292 |
© Paul Boersma 2023 |
| 293 |
|
| 294 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 295 |
to set the colour of subsequent drawings to grey. |
| 296 |
|
| 297 |
################################################################################ |
| 298 |
"Lime" |
| 299 |
© Paul Boersma 2023 |
| 300 |
|
| 301 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 302 |
to set the colour of subsequent drawings to lime. |
| 303 |
|
| 304 |
################################################################################ |
| 305 |
"Magenta" |
| 306 |
© Paul Boersma 2023 |
| 307 |
|
| 308 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 309 |
to set the colour of subsequent drawings to magenta. |
| 310 |
|
| 311 |
################################################################################ |
| 312 |
"Maroon" |
| 313 |
© Paul Boersma 2023 |
| 314 |
|
| 315 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 316 |
to set the colour of subsequent drawings to maroon. |
| 317 |
|
| 318 |
################################################################################ |
| 319 |
"Navy" |
| 320 |
© Paul Boersma 2023 |
| 321 |
|
| 322 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 323 |
to set the colour of subsequent drawings to navy blue. |
| 324 |
|
| 325 |
################################################################################ |
| 326 |
"Olive" |
| 327 |
© Paul Boersma 2023 |
| 328 |
|
| 329 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 330 |
to set the colour of subsequent drawings to olive green. |
| 331 |
|
| 332 |
################################################################################ |
| 333 |
"Purple" |
| 334 |
© Paul Boersma 2023 |
| 335 |
|
| 336 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 337 |
to set the colour of subsequent drawings to purple. |
| 338 |
|
| 339 |
################################################################################ |
| 340 |
"Red" |
| 341 |
© Paul Boersma 2023 |
| 342 |
|
| 343 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 344 |
to set the colour of subsequent drawings to red. |
| 345 |
|
| 346 |
################################################################################ |
| 347 |
"Silver" |
| 348 |
© Paul Boersma 2023 |
| 349 |
|
| 350 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 351 |
to set the colour of subsequent drawings to silver (light grey). |
| 352 |
|
| 353 |
################################################################################ |
| 354 |
"Teal" |
| 355 |
© Paul Boersma 2023 |
| 356 |
|
| 357 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 358 |
to set the colour of subsequent drawings to teal. |
| 359 |
|
| 360 |
################################################################################ |
| 361 |
"Yellow" |
| 362 |
© Paul Boersma 2023 |
| 363 |
|
| 364 |
A command in the @@Pen menu@ of the @@Picture window@, |
| 365 |
to set the colour of subsequent drawings to yellow. |
| 366 |
|
| 367 |
################################################################################ |
| 368 |
"Helvetica" |
| 369 |
© Paul Boersma 2023 |
| 370 |
|
| 371 |
A command in the @@Font menu@ of the @@Picture window@, |
| 372 |
to set the font of subsequent drawings to Helvetica, |
| 373 |
or to s similar sans-serif font. |
| 374 |
|
| 375 |
################################################################################ |
| 376 |
"Palatino" |
| 377 |
© Paul Boersma 2023 |
| 378 |
|
| 379 |
A command in the @@Font menu@ of the @@Picture window@, |
| 380 |
to set the font of subsequent drawings to Palatino, |
| 381 |
or to a similar serif font. |
| 382 |
|
| 383 |
################################################################################ |
| 384 |
"Times" |
| 385 |
© Paul Boersma 2023 |
| 386 |
|
| 387 |
A command in the @@Font menu@ of the @@Picture window@, |
| 388 |
to set the font of subsequent drawings to Times, |
| 389 |
or to a similar serif font. |
| 390 |
|
| 391 |
################################################################################ |
| 392 |
"Courier" |
| 393 |
© Paul Boersma 2023 |
| 394 |
|
| 395 |
A command in the @@Font menu@ of the @@Picture window@, |
| 396 |
to set the font of subsequent drawings to Courier, |
| 397 |
or to a similar fixed-width font. |
| 398 |
|
| 399 |
################################################################################ |
| 400 |
"10" |
| 401 |
© Paul Boersma 2023 |
| 402 |
|
| 403 |
A command in the @@Font menu@ of the @@Picture window@, |
| 404 |
to set the font size of subsequent drawings to 10 points. |
| 405 |
|
| 406 |
################################################################################ |
| 407 |
"12" |
| 408 |
© Paul Boersma 2023 |
| 409 |
|
| 410 |
A command in the @@Font menu@ of the @@Picture window@, |
| 411 |
to set the font size of subsequent drawings to 12 points. |
| 412 |
|
| 413 |
################################################################################ |
| 414 |
"14" |
| 415 |
© Paul Boersma 2023 |
| 416 |
|
| 417 |
A command in the @@Font menu@ of the @@Picture window@, |
| 418 |
to set the font size of subsequent drawings to 14 points. |
| 419 |
|
| 420 |
################################################################################ |
| 421 |
"18" |
| 422 |
© Paul Boersma 2023 |
| 423 |
|
| 424 |
A command in the @@Font menu@ of the @@Picture window@, |
| 425 |
to set the font size of subsequent drawings to 18 points. |
| 426 |
|
| 427 |
################################################################################ |
| 428 |
"24" |
| 429 |
© Paul Boersma 2023 |
| 430 |
|
| 431 |
A command in the @@Font menu@ of the @@Picture window@, |
| 432 |
to set the font size of subsequent drawings to 24 points. |
| 433 |
|
| 434 |
################################################################################ |
| 435 |
"Font size..." |
| 436 |
© Paul Boersma 2023 |
| 437 |
|
| 438 |
A command in the @@Font menu@ of the @@Picture window@, |
| 439 |
to set the font size of subsequent drawings to a specific number of points. |
| 440 |
|
| 441 |
################################################################################ |
| 442 |
"Special symbols" |
| 443 |
© Paul Boersma 1997,1999,2003,2006,2007,2008,2025 |
| 444 |
|
| 445 |
When drawing text into the @@Picture window@ or into the @@TextGridEditor@, |
| 446 |
you can use %%backslash trigraphs% to display various kinds of special symbols. |
| 447 |
You can usually also type the characters themselves, if your computer has an input method for them. |
| 448 |
|
| 449 |
|
| 450 |
European symbols |
| 451 |
================ |
| 452 |
|
| 453 |
To get the symbol "\a^" (a-circumflex), you can type `\a^`, i.e., |
| 454 |
a sequence of backslash + a + circumflex (this is three characters in total, hence the term %trigraph). |
| 455 |
In this way, you can get a hundred non-ASCII symbols that are used in the alphabets of many European languages: |
| 456 |
|
| 457 |
- \a^ `\a^` \e^ `\e^` \i^ `\i^` \o^ `\o^` \u^ `\u^` \A^ `\A^` \E^ `\E^` \I^ `\I^` \O^ `\O^` \U^ `\U^` |
| 458 |
- \a` `\a``` \e` `\e``` \i` `\i``` \o` `\o``` \u` `\u``` \A` `\A``` \E` `\E``` \I` `\I``` \O` `\O``` \U` `\U``` |
| 459 |
- \a" `\a"` \e" `\e"` \i" `\i"` \o" `\o"` \u" `\u"` \A" `\A"` \E" `\E"` \I" `\I"` \O" `\O"` \U" `\U"` \y" `\y"` \Y" `\Y"` |
| 460 |
- \a' `\a'` \e' `\e'` \i' `\i'` \o' `\o'` \u' `\u'` \A' `\A'` \E' `\E'` \I' `\I'` \O' `\O'` \U' `\U'` \y' `\y'` \Y' `\Y'` |
| 461 |
- \c' `\c'` \n' `\n'` \s' `\s'` \z' `\z'` \C' `\C'` \N' `\N'` \S' `\S'` \Z' `\Z'` |
| 462 |
- \o: `\o:` \u: `\u:` \O: `\O:` \U: `\U:` |
| 463 |
- \a~ `\a~` \n~ `\n~` \o~ `\o~` \A~ `\A~` \N~ `\N~` \O~ `\O~` |
| 464 |
- \c< `\c<` \d< `\d<` \e< `\e<` \g< `\g<` \n< `\n<` \r< `\r<` \s< `\s<` \t< `\t<` \z< `\z<` |
| 465 |
- \C< `\C<` \D< `\D<` \E< `\E<` \G< `\G<` \N< `\N<` \R< `\R<` \S< `\S<` \T< `\T<` \Z< `\Z<` |
| 466 |
- \d- `\d-` \D- `\D-` |
| 467 |
- \ao `\ao` \uo `\uo` \Ao `\Ao` \Uo `\Uo` |
| 468 |
- \a; `\a;` \e; `\e;` \A; `\A;` \E; `\E;` |
| 469 |
- \c, `\c,` \s, `\s,` \t, `\t,` \C, `\C,` \S, `\S,` \T, `\T,` |
| 470 |
- \ae `\ae` \o/ `\o/` \Ae `\Ae` \O/ `\O/` |
| 471 |
- \l/ `\l/` \ss `\ss` \th `\th` \z! `\z!` \L/ `\L/` \Th `\Th` \Z! `\Z!` |
| 472 |
- \!d `\!d` \?d `\?d` |
| 473 |
- \eu `\eu` %euro, \Lp `\Lp` %%pound sterling%, \Y= `\Y=` %yen, \fd `\fd` %florin, \c/ `\c/` %cent |
| 474 |
- \SS `\SS` %section, \|| `\||` %pilcrow (%paragraph) |
| 475 |
- \co `\co` %copyright, \re `\re` %registered, \tm `\tm` %trademark |
| 476 |
- \a_ `\a_` %%feminine ordinal%, \o_ `\o_` %%masculine ordinal% |
| 477 |
- \<< `\<<` %%left-pointing guillemet%, \>> `\>>` %%right-pointing guillemet% |
| 478 |
|
| 479 |
|
| 480 |
Mathematical symbols |
| 481 |
==================== |
| 482 |
- \.c `\.c` %%middle dot%, \xx `\xx` %multiplication, \:- `\:-` %division, \/d `\/d` %%division slash% |
| 483 |
- \dg `\dg` %degree, \'p `\'p` %prime (%minute), \"p `\"p` %%double prime% (%second) |
| 484 |
- \-m `\-m` %minus, \-- `\--` %%en-dash%, \+- `\+-` %%plus-minus% |
| 485 |
- \<_ `\<_` %%less than or equal to%, \>_ `\>_` %%greater than or equal to%, \=/ `\=/` %%not equal to% |
| 486 |
- \no `\no` %%logical not%, \an `\an` %%logical and%, \or `\or` %%logical or% |
| 487 |
- \At `\At` %%for all%, \Er `\Er` %%there exists%, \.3 `\.3` %therefore |
| 488 |
- \oc `\oc` %%proportional to%, \=3 `\=3` %%defined as% (or %%congruent modulo%), \~~ `\~~` %%approximately equal to% |
| 489 |
- \Vr `\Vr` %%square root% |
| 490 |
- \<- `\<-`, \-> `\->`, \<> `\<>` |
| 491 |
- \<= `\<=`, \=> `\=>`, \eq `\eq` |
| 492 |
- \^| `\^|`, \=~ `\=~` %%congruent to%, \_| `\_|` |
| 493 |
- \NE `\NE`, \SE `\SE`, \SW `\SW`, \NW `\NW` |
| 494 |
- \oo `\oo` %infinity, \Tt `\Tt` %%up tack% (%%perpendicular to%) |
| 495 |
- \O| `\O|` %%empty set%, \ni `\ni` %intersection, \uu `\uu` %union, \c= `\c=` %%subset of%, \e= `\e=` %%element of% |
| 496 |
- \dd `\dd` %%partial differential% |
| 497 |
- \ox `\ox` %%circled times%, \o+ `\o+` %%circled plus% |
| 498 |
- \su `\su` %summation, \in `\in` %integral |
| 499 |
|
| 500 |
|
| 501 |
Greek letters |
| 502 |
============= |
| 503 |
|
| 504 |
To get \ep\up\ro\et\ka\al, you type `\ep\up\ro\et\ka\al`. |
| 505 |
| %alpha | \al `\al` | \Al `\Al` |
| 506 |
| %beta | \be `\be` | \Be `\Be` |
| 507 |
| %gamma | \ga `\ga` | \Ga `\Ga` |
| 508 |
| %delta | \de `\de` | \De `\De` |
| 509 |
| %epsilon | \ep `\ep` | \Ep `\Ep` |
| 510 |
| %zeta | \ze `\ze` | \Ze `\Ze` |
| 511 |
| %eta | \et `\et` | \Et `\Et` |
| 512 |
| %theta | \te `\te` | \Te `\Te` | \t2 `\t2` |
| 513 |
| %iota | \io `\io` | \Io `\Io` |
| 514 |
| %kappa | \ka `\ka` | \Ka `\Ka` |
| 515 |
| %lambda | \la `\la` | \La `\La` |
| 516 |
| %mu | \mu `\mu` | \Mu `\Mu` |
| 517 |
| %nu | \nu `\nu` | \Nu `\Nu` |
| 518 |
| %xi | \xi `\xi` | \Xi `\Xi` |
| 519 |
| %omicron | \on `\on` | \On `\On` |
| 520 |
| %pi | \pi `\pi` | \Pi `\Pi` | \o2 `\o2` |
| 521 |
| %rho | \ro `\ro` | \Ro `\Ro` |
| 522 |
| %sigma | \si `\si` | \Si `\Si` | \s2 `\s2` |
| 523 |
| %tau | \ta `\ta` | \Ta `\Ta` |
| 524 |
| %upsilon | \up `\up` | \Up `\Up` |
| 525 |
| %phi | \fi `\fi` | \Fi `\Fi` | \f2 `\f2` |
| 526 |
| %chi | \ci `\ci` | \Ci `\Ci` |
| 527 |
| %psi | \ps `\ps` | \Ps `\Ps` |
| 528 |
| %omega | \om `\om` | \Om `\Om` |
| 529 |
|
| 530 |
|
| 531 |
Hebrew letters |
| 532 |
============== |
| 533 |
|
| 534 |
To get an alef, you type `\?+`. |
| 535 |
On Windows, you have to install international support to get the left-to-right order correct. |
| 536 |
| %alef | \?+ `\?+` |
| 537 |
| %bet | \B+ `\B+` |
| 538 |
| %gimel | \G+ `\G+` |
| 539 |
| %dalet | \D+ `\D+` |
| 540 |
| %he | \H+ `\H+` |
| 541 |
| %vav | \V+ `\V+` |
| 542 |
| %zayin | \Z+ `\Z+` |
| 543 |
| %het | \X+ `\X+` |
| 544 |
| %tet | \Y+ `\Y+` |
| 545 |
| %yod | \J+ `\J+` |
| 546 |
| %kaf | \K+ `\K+` | \K% `\K%` |
| 547 |
| %lamed | \L+ `\L+` |
| 548 |
| %mem | \M+ `\M+` | \M% `\M%` |
| 549 |
| %nun | \N+ `\N+` | \N% `\N%` |
| 550 |
| %samekh | \S+ `\S+` |
| 551 |
| %ayin | \9+ `\9+` |
| 552 |
| %pe | \P+ `\P+` | \P% `\P%` |
| 553 |
| %tsadi | \C+ `\C+` | \C% `\C%` |
| 554 |
| %qof | \Q+ `\Q+` |
| 555 |
| %resh | \R+ `\R+` |
| 556 |
| %shin | \W+ `\W+` |
| 557 |
| %tav | \T+ `\T+` |
| 558 |
| %hiriq | \?+\hI `\?+\hI` |
| 559 |
| %segol | \?+\sE `\?+\sE` | %tsere | \?+\cE `\?+\cE` |
| 560 |
| %qamats | \?+\qA `\?+\qA` | %patah | \?+\pA `\?+\pA` |
| 561 |
| %holam | \?+\hO `\?+\hO` |
| 562 |
| %qubuts | \?+\qU `\?+\qU` |
| 563 |
| %dagesh or %maliq | \dq `\dq` |
| 564 |
|
| 565 |
Combinations: |
| 566 |
| %%vav holam | \vO `\vO` |
| 567 |
| %shuruq | \sU `\sU` |
| 568 |
|
| 569 |
|
| 570 |
Phonetic symbols |
| 571 |
================ |
| 572 |
|
| 573 |
See @@Phonetic symbols@ |
| 574 |
|
| 575 |
|
| 576 |
Miscellaneous |
| 577 |
============= |
| 578 |
, \bs `\bs` %backslash, \bu `\bu` %bullet |
| 579 |
, \cl `\cl` (%club), \di `\di` (%diamond), \he `\he` (%heart), \sp `\sp` (%spade) |
| 580 |
, \pf `\pf` %%pointing finger%, \f5 `\f5` %%flower-five% |
| 581 |
|
| 582 |
|
| 583 |
See also |
| 584 |
======== |
| 585 |
|
| 586 |
@@Text styles@ |
| 587 |
|
| 588 |
################################################################################ |
| 589 |
"Text styles" |
| 590 |
© Paul Boersma 1996,2023,2025 |
| 591 |
|
| 592 |
When drawing text into the @@Picture window@ or into an editor, |
| 593 |
you can use text styles other than regular Roman. |
| 594 |
|
| 595 |
Italic, bold, superscript, subscript |
| 596 |
==================================== |
| 597 |
|
| 598 |
With the following symbols, you introduce stretches of text drawn in special styles: |
| 599 |
, `%`: the following letter will be italic. |
| 600 |
, `#`: the following letter will be bold. |
| 601 |
, `#%`: the following letter will be bold-italic. |
| 602 |
, `^`: the following letter will be superscript: `%m%c^2` gives %m%c^2. |
| 603 |
, `_`: the following letter will be subscript. Example: %F_0 is typed as `%F_0`. |
| 604 |
, `%%`: the following letters will be italic, until the following `%`: |
| 605 |
, `Now %%you% try` gives: Now %%you% try. |
| 606 |
, The same goes for `##`, `^^`, and `__`. |
| 607 |
, `\s{...}`: small: |
| 608 |
, `W\s{ARP}` gives: W\s{ARP} |
| 609 |
|
| 610 |
To draw a \% or \# or \^ or \_ symbol, you type “`\% `” or “`\# `” or “`\^ `” or “`\_ `”, respectively: a backslash, the symbol, and a space. |
| 611 |
|
| 612 |
See also |
| 613 |
======== |
| 614 |
|
| 615 |
@@Special symbols@ |
| 616 |
|
| 617 |
################################################################################ |
| 618 |
"Phonetic symbols" |
| 619 |
© Paul Boersma 2004,2005,2007,2009,2025 |
| 620 |
|
| 621 |
To draw phonetic symbols in the @@Picture window@ or in the @TextGridEditor, |
| 622 |
make sure that you have installed the Charis and/or Doulos SIL font, for instance from `sil.org` or from `praat.org`. |
| 623 |
You can either type the symbols directly (if your computer has an input method for them), or use backslash trigraphs as described in: |
| 624 |
|
| 625 |
- @@Phonetic symbols: consonants |
| 626 |
- @@Phonetic symbols: vowels |
| 627 |
- @@Phonetic symbols: diacritics |
| 628 |
|
| 629 |
################################################################################ |
| 630 |
"Phonetic symbols: diacritics" |
| 631 |
© Paul Boersma 2004,2005,2006,2007,2008,2009,2011,2013,2021,2025,2026 |
| 632 |
|
| 633 |
To draw phonetic diacritical symbols in the @@Picture window@ or in the @TextGridEditor, |
| 634 |
make sure that you have installed the Charis and/or Doulos SIL font, for instance from `sil.org` or from `praat.org`. |
| 635 |
You can either type the symbols directly (if your computer has an input method for them), |
| 636 |
or use the backslash trigraphs in the following list. |
| 637 |
|
| 638 |
Diacritics below the letter: |
| 639 |
, n\|v `n\|v` (%%combining vertical line below%): syllabic consonant |
| 640 |
, b\0v `b\0v` (%%combining ring below%): voiceless (e.g. lenis voiceless plosive, voiceless nasal or approximant) |
| 641 |
, s\vv `s\vv` (%%combining caron below%): voiced |
| 642 |
, o\Tv `o\Tv` (%%combining down tack below%, %lowering): lowered vowel; or turns a fricative into an approximant |
| 643 |
, o\T^ `o\T^` (%%combining up tack below%, %raising): raised vowel; or turns an approximant into a fricative |
| 644 |
, o\T( `o\T(` (%%combining left tack below%, %atr): advanced tongue root |
| 645 |
, o\T) `o\T)` (%%combining right tack below%, %rtr): retracted tongue root |
| 646 |
, e\-v `e\-v` (%%combining macron below%): backed |
| 647 |
, s\.v `s\.v` (%%combining dot below%): apico-postalveolar (non-standard IPA retroflex, if necessary to distinguish it from apico-palatal; see @@Ladefoged & Maddieson (1996)@) |
| 648 |
, o\+v `o\+v` (%%combining plus sign below%): fronted |
| 649 |
, o\:v `o\:v` (%%combining diaeresis below%): breathy voice |
| 650 |
, o\~v `o\~v` (%%combining tilde below%): creaky voice |
| 651 |
, d\Nv `d\Nv` (%%combining bridge below%): dental (as opposed to alveolar) |
| 652 |
, d\Uv `d\Uv` (%%combining inverted bridge below%): apical |
| 653 |
, d\Dv `d\Dv` (%%combining square below%): laminal |
| 654 |
, u\nv `u\nv` (%%combining inverted breve below%): nonsyllabic |
| 655 |
, e\3v `e\3v` (%%combining right half ring below%): slightly rounded |
| 656 |
, u\cv `u\cv` (%%combining left half ring below%): slightly unrounded |
| 657 |
, d\mv `d\mv` (%%combining seagull below%): lingiolabial |
| 658 |
, a\_ub `a\_ub` undertie (liaison, if spaces don't mean breaks in your transcription) |
| 659 |
|
| 660 |
Diacritics above the letter: |
| 661 |
, \gf\0^ `\gf\0^` (%%combining ring above%): voiceless |
| 662 |
, \ef\'' `\ef\''` (%%combining double acute accent%): extra high tone |
| 663 |
, \ef\'^ `\ef\'^` (%%combining acute accent%): high tone |
| 664 |
, \ef\-^ `\ef\-^` (%%combining macron%): mid tone (or so) |
| 665 |
, \ef\`^ `\ef\``^` (%%combining grave accent%): low tone |
| 666 |
, \ef\`` `\ef\````` (%%combining double grave accent%): extra low tone |
| 667 |
, \ef\-' `\ef\-'` (%%combining macron\--acute%): high-rising tone |
| 668 |
, \ef\'- `\ef\'-` (%%combining acute\--macron%): high-falling tone |
| 669 |
, \ef\`- `\ef\``-` (%%combining grave\--macron%): low-rising tone |
| 670 |
, \ef\-` `\ef\-``` (%%combining macron\--grave%): low-falling tone |
| 671 |
, \ef\rf `\ef\rf` (%%combining grave\--acute\--grave%): rising\--falling tone |
| 672 |
, \ef\fr `\ef\fr` (%%combining acute\--grave\--acute%): falling\--rising tone |
| 673 |
, \ef\~^ `\ef\~^` (%%combining tilde%): nasalized |
| 674 |
, \ef\v^ `\ef\v^` (%%combining caron%, %%háček%, %wedge): rising tone |
| 675 |
, \ef\^^ `\ef\^^` (%%combining circumflex accent%): falling tone |
| 676 |
, o\:^ `o\:^` (%%combining diaeresis%): centralized |
| 677 |
, e\x^ `e\x^` (%%combining x above%): mid-centralized |
| 678 |
, \ef\N^ `\ef\N^` (%%combining breve%): extra short |
| 679 |
, k\lip `k\lip`, t\lis `t\lis` (%%combining double inverted breve%, %ligature): simultaneous articulation, or single segment |
| 680 |
, m\LIb `m\LIb`, k\LIx `k\LIx` (%%combining double breve below%, %ligature): simultaneous articulation, or single segment |
| 681 |
|
| 682 |
Diacritics struck through the letter (overlays): |
| 683 |
, d\// `d\//` (%%combining long solidus overlay%): ? |
| 684 |
, d\-/ `d\-/` (%%combining long stroke overlay%): ? |
| 685 |
, d\~/ `d\~/` (%%combining tilde overlay%): velarized or pharyngealized, mainly used for “l”, |
| 686 |
although l\~/ `l\~/` can more easily be typed as \l~ `\l~` (otherwise, velarization can more clearly be rendered |
| 687 |
as e.g. d\^g `d\^g` or d\^M `d\^M` or d\^G `d\^G`, and pharyngealization as d\^9 `d\^9`). |
| 688 |
|
| 689 |
|
| 690 |
In-line prefixes: |
| 691 |
, \'1 `\'1` primary stress |
| 692 |
, \'2 `\'2` secondary stress |
| 693 |
, \|u `\|u` (%%modifier letter raised up arrow): upstep |
| 694 |
, \|d `\|d` (%%modifier letter raised down arrow): downstep |
| 695 |
, \NE `\NE` (%%north east arrow): global rise |
| 696 |
, \SE `\SE` (%%south east arrow): global fall |
| 697 |
|
| 698 |
In-line suffixes: |
| 699 |
, \:f `\:f` the phonetic length sign |
| 700 |
, \.f `\.f` half length |
| 701 |
, t\cn `t\cn` (%%combining left angle above%, %corner): unreleased plosive |
| 702 |
, \er\hr `\er\hr` (%%combining rhotic hook%): rhotacized vowel |
| 703 |
, p\ap `p\ap` apostrophe (for ejectives) |
| 704 |
, \-5 `\-5` extra high tone |
| 705 |
, \-4 `\-4` high tone |
| 706 |
, \-3 `\-3` mid tone |
| 707 |
, \-2 `\-2` low tone |
| 708 |
, \-1 `\-1` extra low tone |
| 709 |
, (these last five can be combined, e.g. \-5\-1 `\-5\-1` falling, \-3\-5 `\-3\-5` high-rising, |
| 710 |
\-2\-5\-2 `\-2\-5\-2` rising\--falling, or \-2\-1\-3 `\-2\-1\-3` low falling\--rising) |
| 711 |
|
| 712 |
Other in-line symbols: |
| 713 |
, \|f `\|f` the phonetic stroke |
| 714 |
|
| 715 |
Superscripts: |
| 716 |
, t\^h `t\^h` aspiration |
| 717 |
, b\^H `b\^H` voiced aspiration (breathiness) |
| 718 |
, t\^j `t\^j` palatalization |
| 719 |
, t\^g `t\^g`, t\^M `t\^M`, t\^G `t\^G` velarization |
| 720 |
, k\^w `k\^w` rounding |
| 721 |
, t\^Y `t\^Y` rounding with palatalization |
| 722 |
, a\^? `a\^?` glottalization |
| 723 |
, t\^9 `t\^9` pharyngealization |
| 724 |
, t\^l `t\^l` lateral release |
| 725 |
, t\^n `t\^n`, p\^m `p\^m`, k\^N `k\^N` nasal release |
| 726 |
, t\^s `t\^s`, k\^x `k\^x`, p\^f `p\^f` affrication |
| 727 |
, t\^y `t\^y` (palatalization in a deprecated Americanist notation) |
| 728 |
|
| 729 |
Digraphs: |
| 730 |
, \ts `\ts` t\--s ligature |
| 731 |
, \tS `\tS` tesh ligature |
| 732 |
, \dz `\dz` d\--z ligature |
| 733 |
, \dZ `\dZ` dezh ligature |
| 734 |
|
| 735 |
################################################################################ |
| 736 |
)~~~" |
| 737 |
MAN_PAGES_END |
| 738 |
|
| 739 |
|
| 740 |
MAN_BEGIN (U"Phonetic symbols: consonants", U"ppgb", 20090804) // 2025 |
| 741 |
NORMAL (U"To draw phonetic symbols for consonants in the @@Picture window@ or in the @TextGridEditor, " |
| 742 |
"make sure that you have installed the Charis and/or Doulos SIL font, for instance from `sil.org` or from `praat.org`. " |
| 743 |
"You can either type the symbols directly (if your computer has an input method for them), or use the backslash sequences in the following table.") |
| 744 |
PICTURE (6.0, 7.0, draw_IPA_consonant_chart) |
| 745 |
NORMAL (U"Other consonant symbols:") |
| 746 |
LIST_ITEM (U"\\l~ \\bsl~ (%%l with tilde%): velarized %l") |
| 747 |
LIST_ITEM (U"\\hj \\bshj (%%heng with hooktop%): the Swedish rounded post-alveolar & velar fricative") |
| 748 |
ENTRY (U"How to remember the codes") |
| 749 |
NORMAL (U"For most of the codes, the first letter tells you the most similar letter of the English alphabet. " |
| 750 |
"The second letter can be %t (%turned), %c (%capital or %curled), %s (%script), - (%barred), %l (%%with leg%), " |
| 751 |
"%i (%inverted), or %j (%%left tail%). Some phonetic symbols are similar to Greek letters but have special " |
| 752 |
"phonetic (%f) versions with serifs (\\ff, \\bf, \\gf) or are otherwise slightly different (\\tf, \\cf). " |
| 753 |
"The codes for \\ng (%engma), \\dh (%eth), \\sh (%esh), and \\zh (%yogh) are traditional alternative spellings. " |
| 754 |
"The retroflexes have a period in the second place, because an alternative traditional spelling is to write a dot under them. " |
| 755 |
"The code for \\fh is an abbreviation for %fishhook.") |
| 756 |
MAN_END |
| 757 |
|
| 758 |
MAN_BEGIN (U"Phonetic symbols: vowels", U"ppgb", 20090804) // 2025 |
| 759 |
NORMAL (U"To draw phonetic symbols for vowels in the @@Picture window@ or in the @TextGridEditor, " |
| 760 |
"make sure that you have installed the Charis and/or Doulos SIL font, for instance from `sil.org` or from `praat.org`. " |
| 761 |
"You can either type the symbols directly (if your computer has an input method for them), or use the backslash sequences in the following table.") |
| 762 |
PICTURE (6.0, 5.0, draw_IPA_vowel_chart) |
| 763 |
NORMAL (U"Other vowel symbols are:") |
| 764 |
LIST_ITEM (U"\\sr \\bssr (%%schwa with right hook%): rhotacized schwa") |
| 765 |
NORMAL (U"Not available in EPS files (i.e. only publishable with copy-paste or with PDF files):") |
| 766 |
LIST_ITEM (U"\\id \\bsid syllabic dental approximant") |
| 767 |
LIST_ITEM (U"\\ir \\bsir syllabic retroflex (or apico-postalveolar) approximant") |
| 768 |
ENTRY (U"How to remember the codes") |
| 769 |
NORMAL (U"For most of the codes, the first letter tells you the most similar letter of the English alphabet. " |
| 770 |
"The second letter can be %t (%turned), %c (%capital), %s (%script), %r (%reversed), - (%barred or %retracted), or / (%slashed). " |
| 771 |
"One symbol (\\ef) is a phonetic version of a Greek letter. " |
| 772 |
"The codes for \\sw, \\rh, \\hs and \\kb are abbreviations for %schwa, %%ram's horn%, %horseshoe, and %%kidney bean%.") |
| 773 |
MAN_END |
| 774 |
|
| 775 |
MAN_BEGIN (U"Axes...", U"ppgb", 20140107) |
| 776 |
INTRO (U"One of the commands in the #Margins and #World menus of the @@Picture window@.") |
| 777 |
ENTRY (U"Purpose") |
| 778 |
NORMAL (U"To view and change the current world coordinates of the horizontal and vertical axes.") |
| 779 |
ENTRY (U"Usage") |
| 780 |
NORMAL (U"The axes are normally changed by every drawing operation in the dynamic menu, " |
| 781 |
"i.e., by object-specific drawing commands with titles like ##Draw...# and ##Paint...# " |
| 782 |
"(the drawing commands in the Picture window, like ##Paint rectangle...#, do not change the axes).") |
| 783 |
NORMAL (U"You would use the ##Axes...# command if your data are not in an object.") |
| 784 |
ENTRY (U"Example") |
| 785 |
NORMAL (U"The following script would draw a person's vowel triangle:") |
| 786 |
CODE (U"# Put F1 (between 300 and 800 Hz) along the horizontal axis,") |
| 787 |
CODE (U"# and F2 (between 600 and 3600 Hz) along the vertical axis.") |
| 788 |
CODE (U"\\#{Axes:} 300, 800, 600, 3600") |
| 789 |
CODE (U"# Draw a rectangle inside the current viewport (selected area),") |
| 790 |
CODE (U"# with text in the margins, and tick marks in steps of 100 Hz along the F1 axis,") |
| 791 |
CODE (U"# and in steps of 200 Hz along the F2 axis.") |
| 792 |
CODE (U"Draw inner box") |
| 793 |
CODE (U"Text top: \"no\", \"Daniël's Dutch vowel triangle\"") |
| 794 |
CODE (U"Text bottom: \"yes\", \"%F_1 (Hz)\"") |
| 795 |
CODE (U"Text left: \"yes\", \"%F_2 (Hz)\"") |
| 796 |
CODE (U"Marks bottom every: 1, 100, \"yes\", \"yes\", \"yes\", \"\"") |
| 797 |
CODE (U"Marks left every: 1, 200, \"yes\", \"yes\", \"yes\", \"\"") |
| 798 |
CODE (U"# Draw large phonetic symbols at the vowel points.") |
| 799 |
CODE (U"Text special: 340, \"Centre\", 688, \"Half\", \"Times\", 24, \"0\", \"u\"") |
| 800 |
CODE (U"Text special: 481, \"Centre\", 1195, \"Half\", \"Times\", 24, \"0\", \"ø\"") |
| 801 |
CODE (U"# Etcetera") |
| 802 |
NORMAL (U"This example would draw the texts \"Daniël's Dutch vowel triangle\", " |
| 803 |
"\"%F_1 (Hz)\", and \"%F_2 (Hz)\" in the margins, " |
| 804 |
"and the texts \"u\" and \"ø\" at the appropriate positions inside the drawing area.") |
| 805 |
MAN_END |
| 806 |
|
| 807 |
MAN_BEGIN (U"Copy to clipboard", U"ppgb", 20120430) /* Not Unix. */ |
| 808 |
INTRO (U"A command in the File menu of the @@Picture window@ on Windows and Macintosh.") |
| 809 |
NORMAL (U"It copies the selected part of the picture to the clipboard. " |
| 810 |
"You can then #Paste it into any program that knows how to display pictures.") |
| 811 |
ENTRY (U"Behaviour") |
| 812 |
NORMAL (U"Though all the picture data will be written to the clipboard, " |
| 813 |
"only the part that corresponds to the selected part of the Picture window (the %viewport) will be visible.") |
| 814 |
ENTRY (U"Usage") |
| 815 |
NORMAL (U"On Windows, if you have a PostScript printer, you may want to use @@Save as EPS file...@ instead (experiment with the results after converting to PDF or printing). " |
| 816 |
"If the picture is too large, e.g. a spectrogram that does not seem to fit into the clipboard, " |
| 817 |
"you can try @@Save as Windows metafile...@ instead.") |
| 818 |
NORMAL (U"On the Mac, the picture will be put on the clipboard in PDF format, " |
| 819 |
"which is recognized by programs that know how to handle PDF pictures, such as Microsoft^\\re Word\\tm 2008; " |
| 820 |
"the quality of the picture will be exactly as good as when you use @@Save as PDF file...@ and read in the resulting PDF file. " |
| 821 |
"Please realize that Word will convert the PDF picture to a mediocre 300-dpi bitmap if you save the document as a ##.doc# file; " |
| 822 |
"therefore, you should save the document as a ##.docx# file instead. " |
| 823 |
"If you cannot work with ##.docx# files (for instance because your publisher does not accept that file type yet), " |
| 824 |
"consider using @@Save as EPS file...@ instead. In older programs, such as Microsoft^\\re Word\\tm 2004, you cannot paste Praat's PDF pictures; " |
| 825 |
"use @@Save as EPS file...@ instead.") |
| 826 |
MAN_END |
| 827 |
|
| 828 |
MAN_BEGIN (U"Draw inner box", U"ppgb", 19970330) |
| 829 |
INTRO (U"One of the commands in the #Margins menu of the @@Picture window@.") |
| 830 |
ENTRY (U"Purpose") |
| 831 |
NORMAL (U"To draw a rectangle inside the drawing area, " |
| 832 |
"leaving @margins on all four sides for drawing text and marks.") |
| 833 |
ENTRY (U"Behaviour") |
| 834 |
NORMAL (U"The widths of the margins depend on the current font size.") |
| 835 |
MAN_END |
| 836 |
|
| 837 |
MAN_BEGIN (U"Encapsulated PostScript", U"ppgb", 20110129) |
| 838 |
INTRO (U"a kind of PostScript file that can easily be imported into word processors and drawing programs. " |
| 839 |
"In Praat, you can create an Encapsulated PostScript (EPS) file by choosing @@Save as EPS file...@.") |
| 840 |
MAN_END |
| 841 |
|
| 842 |
MAN_BEGIN (U"Erase all", U"ppgb", 19980825) |
| 843 |
INTRO (U"A command in the #Edit menu of the @@Picture window@.") |
| 844 |
NORMAL (U"It erases all your drawings.") |
| 845 |
MAN_END |
| 846 |
|
| 847 |
MAN_BEGIN (U"Font menu", U"ppgb", 20101125) |
| 848 |
INTRO (U"One of the menus of the @@Picture window@.") |
| 849 |
NORMAL (U"It allows you to choose the font of the text " |
| 850 |
"to be used in subsequent drawing, as well as its size (character height).") |
| 851 |
ENTRY (U"Sizes") |
| 852 |
NORMAL (U"You can choose any of the sizes 10, 12, 14, 18, or 24 directly from this menu, " |
| 853 |
"or fill in any other size in the ##Font size...# form.") |
| 854 |
NORMAL (U"The widths of the margins depend on the current font size, " |
| 855 |
"so if you want to change the font size, " |
| 856 |
"do so before making your drawing.") |
| 857 |
ENTRY (U"Fonts") |
| 858 |
NORMAL (U"With these commands, you set the font in which subsequent text will be drawn: " |
| 859 |
"Times, Helvetica, Palatino, or Courier.") |
| 860 |
NORMAL (U"You can mix the Symbol and IPA alphabets with the normal Roman alphabets " |
| 861 |
"and use sequences of backslash + digraph for @@special symbols@ (see also @@phonetic symbols@).") |
| 862 |
NORMAL (U"For instance, you can get an \\e\" by typing \\bse\\\" , or a \\ss by typing \\bsss; " |
| 863 |
"you can get an \\ep by typing \\bsep, or a \\ct, which is a turned c, by typing \\bsct.") |
| 864 |
ENTRY (U"Styles") |
| 865 |
NORMAL (U"There are no commands in the menu for text styles (bold, italic), " |
| 866 |
"but you can still use them in the Picture window: see @@text styles@.") |
| 867 |
MAN_END |
| 868 |
|
| 869 |
MAN_BEGIN (U"Logarithmic marks left/right/top/bottom...", U"ppgb", 19970330) |
| 870 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 871 |
ENTRY (U"Purpose") |
| 872 |
NORMAL (U"To draw a specified number of marks per decade " |
| 873 |
"into the @margins around the drawing area, along a logarithmic axis.") |
| 874 |
ENTRY (U"Settings") |
| 875 |
TERM (U"%%Marks per decade") |
| 876 |
DEFINITION (U"the number of marks that will be drawn for every decade.") |
| 877 |
TERM (U"%%Write numbers") |
| 878 |
DEFINITION (U"if on, real numbers will be written in the margin, " |
| 879 |
"expressed in the domain or range of your latest drawing " |
| 880 |
"in the horizontal or vertical direction.") |
| 881 |
TERM (U"%%Draw ticks") |
| 882 |
DEFINITION (U"if on, short line pieces will be drawn in the margin.") |
| 883 |
TERM (U"%%Draw dotted lines") |
| 884 |
DEFINITION (U"if on, dotted lines will be drawn through your drawing.") |
| 885 |
ENTRY (U"Behaviour") |
| 886 |
LIST_ITEM (U"If your vertical logarithmic axis runs from 10 to 100, " |
| 887 |
"and %%Marks per decade% is 1, marks will only be drawn at 10 and 100;") |
| 888 |
LIST_ITEM (U"if %%Marks per decade% is 2, marks will be drawn at 10, 30, and 100;") |
| 889 |
LIST_ITEM (U"if it is 3, marks will be drawn at 10, 20, 50, and 100;") |
| 890 |
LIST_ITEM (U"if it is 4, marks will be drawn at 10, 20, 30, 50, and 100;") |
| 891 |
LIST_ITEM (U"if it is 5, marks will be drawn at 10, 20, 30, 50, 70, and 100;") |
| 892 |
LIST_ITEM (U"if it is 6, marks will be drawn at 10, 15, 20, 30, 50, 70, and 100;") |
| 893 |
LIST_ITEM (U"if it is 7 (the maximum), marks will be drawn at 10, 15, 20, 30, 40, 50, 70, and 100.") |
| 894 |
MAN_END |
| 895 |
|
| 896 |
MAN_BEGIN (U"Margins", U"ppgb", 19970405) |
| 897 |
INTRO (U"The space around most of your drawings in the @@Picture window@.") |
| 898 |
ENTRY (U"World coordinates") |
| 899 |
NORMAL (U"With the commands in the #Margins menu, " |
| 900 |
"you draw text, ticks, numbers, or a rectangle, " |
| 901 |
"in the margins around the latest drawing that you made, " |
| 902 |
"or you draw dotted lines through or text inside this last drawing.") |
| 903 |
NORMAL (U"You specify the positions of these things in world coordinates, " |
| 904 |
"i.e., in coordinates that refer to the natural coordinate system of your last drawing.") |
| 905 |
NORMAL (U"The numbers that you can mark around your drawing also refer to these coordinates. " |
| 906 |
"For instance, after drawing a spectrum with ##Spectrum: Draw...#, " |
| 907 |
"you can draw a dotted line at 2000 Hz or at 60 dB " |
| 908 |
"by choosing ##One mark bottom...# or ##One mark left...# " |
| 909 |
"and typing \"2000\" or \"60\", respectively.") |
| 910 |
ENTRY (U"Usage") |
| 911 |
NORMAL (U"The margin commands work with all the drawings that leave margins around themselves, " |
| 912 |
"such as ##Sound: Draw...#, ##Spectrogram: Paint...#, ##Polygon: Paint...#, and more. " |
| 913 |
"They do not work properly, however, with the commands that draw vocal tract shapes, " |
| 914 |
"like ##Art & Speaker: Draw...# and ##Artword & Speaker: Draw...#, " |
| 915 |
"because these can only be drawn correctly into a square viewport.") |
| 916 |
ENTRY (U"Limited validity") |
| 917 |
NORMAL (U"The margin commands work only on the latest drawing that you made " |
| 918 |
"(unless you @Undo that drawing).") |
| 919 |
ENTRY (U"Margin size") |
| 920 |
NORMAL (U"The size of the margins depends on the font size, " |
| 921 |
"so be sure that you have the font size of your choice before you make your drawing. " |
| 922 |
"You can set the font size with the @@Font menu@.") |
| 923 |
MAN_END |
| 924 |
|
| 925 |
MAN_BEGIN (U"Marks left/right/top/bottom...", U"ppgb", 19970330) |
| 926 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 927 |
ENTRY (U"Purpose") |
| 928 |
NORMAL (U"To draw any number of equally spaced marks into the @margins around the drawing area.") |
| 929 |
ENTRY (U"Settings") |
| 930 |
TERM (U"##Number of marks") |
| 931 |
DEFINITION (U"the number of equally spaced marks (2 or more) that will be drawn; " |
| 932 |
"there will always be marks at the beginning and end of the domain or range.") |
| 933 |
TERM (U"##Write numbers") |
| 934 |
DEFINITION (U"if on, real numbers will be written in the margin, " |
| 935 |
"expressed in the domain or range of your latest drawing " |
| 936 |
"in the horizontal or vertical direction.") |
| 937 |
TERM (U"##Draw ticks") |
| 938 |
DEFINITION (U"if on, short line pieces will be drawn in the margin.") |
| 939 |
TERM (U"##Draw dotted lines") |
| 940 |
DEFINITION (U"if on, dotted lines will be drawn through your drawing.") |
| 941 |
ENTRY (U"Example") |
| 942 |
NORMAL (U"If you draw a Sound with a domain between 0 and 1 seconds " |
| 943 |
"to an amplitude range between -1 and 1, " |
| 944 |
"choosing ##Marks left...# with a number of 3 and %%Draw dotted lines% on, " |
| 945 |
"will give you horizontal marks and horizontal dotted lines at -1, 0, and 1; " |
| 946 |
"choosing ##Marks bottom...# with a number of 6 and %%Draw dotted lines% off, " |
| 947 |
"will give you vertical marks at 0, 0.2, 0.4, 0.6, 0.8, and 1.") |
| 948 |
MAN_END |
| 949 |
|
| 950 |
MAN_BEGIN (U"Marks left/right/top/bottom every...", U"ppgb", 19970330) |
| 951 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 952 |
ENTRY (U"Purpose") |
| 953 |
NORMAL (U"To draw a number of equally spaced marks into the @margins around the drawing area.") |
| 954 |
ENTRY (U"Settings") |
| 955 |
TERM (U"##Units") |
| 956 |
DEFINITION (U"the units, relative to the standard units, " |
| 957 |
"for writing the numbers; for example, if you want time in milliseconds " |
| 958 |
"instead of seconds (which is always the standard), " |
| 959 |
"#Units should be 0.001.") |
| 960 |
TERM (U"##Distance") |
| 961 |
DEFINITION (U"the distance between the equally spaced marks that will be drawn, " |
| 962 |
"expressed in #Units; for example, if you want marks every 20 milliseconds, " |
| 963 |
"and %Units is 0.001, this argument should be 20.") |
| 964 |
TERM (U"##Write numbers") |
| 965 |
DEFINITION (U"if on, real numbers will be written in the margin, " |
| 966 |
"expressed in the domain or range of your latest drawing " |
| 967 |
"in the horizontal or vertical direction.") |
| 968 |
TERM (U"##Draw ticks") |
| 969 |
DEFINITION (U"if on, short line pieces will be drawn in the margin.") |
| 970 |
TERM (U"##Draw dotted lines") |
| 971 |
DEFINITION (U"if on, dotted lines will be drawn through your drawing.") |
| 972 |
MAN_END |
| 973 |
|
| 974 |
MAN_BEGIN (U"One logarithmic mark left/right/top/bottom...", U"ppgb", 19970330) |
| 975 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 976 |
ENTRY (U"Purpose") |
| 977 |
NORMAL (U"To draw one mark into one of the four @margins " |
| 978 |
"around the drawing area, along a logarithmic axis.") |
| 979 |
ENTRY (U"Settings") |
| 980 |
TERM (U"##Position") |
| 981 |
DEFINITION (U"the %x (for top or bottom) or %y (for left or right) position of the mark, " |
| 982 |
"expressed in the logarithmic domain or range of your latest drawing " |
| 983 |
"in the horizontal or vertical direction.") |
| 984 |
TERM (U"##Write number") |
| 985 |
DEFINITION (U"if on, a real number equal to #Position will be written in the margin, " |
| 986 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 987 |
TERM (U"##Draw tick") |
| 988 |
DEFINITION (U"if on, a short line piece will be drawn in the margin, " |
| 989 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 990 |
TERM (U"##Draw dotted line") |
| 991 |
DEFINITION (U"if on, a dotted line will be drawn through your drawing, " |
| 992 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 993 |
TERM (U"##Draw text") |
| 994 |
DEFINITION (U"if not empty, this text will be drawn in the margin, " |
| 995 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 996 |
ENTRY (U"Example") |
| 997 |
NORMAL (U"After you draw a Pitch logarithmically in a range between 100 and 400 Hz, " |
| 998 |
"choosing ##One logarithmic mark left...# with a position of 200 and %%Draw dotted line% on, " |
| 999 |
"will give you a horizontal mark \"200\" and a horizontal dotted line at a %y position of 200, " |
| 1000 |
"which is exactly halfway between 100 and 400 Hz.") |
| 1001 |
MAN_END |
| 1002 |
|
| 1003 |
MAN_BEGIN (U"One mark left/right/top/bottom...", U"ppgb", 19970330) |
| 1004 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 1005 |
ENTRY (U"Purpose") |
| 1006 |
NORMAL (U"To draw one mark into one of the four @margins around the drawing area.") |
| 1007 |
ENTRY (U"Settings") |
| 1008 |
TERM (U"##Position") |
| 1009 |
DEFINITION (U"the %x (for top or bottom) or %y (for left or right) position of the mark, " |
| 1010 |
"expressed in the domain or range of your latest drawing " |
| 1011 |
"in the horizontal or vertical direction.") |
| 1012 |
TERM (U"##Write number") |
| 1013 |
DEFINITION (U"if on, a real number equal to #Position will be written in the margin, " |
| 1014 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 1015 |
TERM (U"##Draw tick") |
| 1016 |
DEFINITION (U"if on, a short line piece will be drawn in the margin, " |
| 1017 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 1018 |
TERM (U"##Draw dotted line") |
| 1019 |
DEFINITION (U"if on, a dotted line will be drawn through your drawing, " |
| 1020 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 1021 |
TERM (U"##Draw text") |
| 1022 |
DEFINITION (U"if not empty, this text will be drawn in the margin, " |
| 1023 |
"at an %x (for top or bottom) or %y (for left or right) position equal to #Position.") |
| 1024 |
ENTRY (U"Example") |
| 1025 |
NORMAL (U"If you draw a Sound to an amplitude range between -1 and 1, " |
| 1026 |
"choosing ##One mark left...# with a position of 0.0 and %%Draw dotted line% on, " |
| 1027 |
"will give you a horizontal mark \"0\" and a horizontal dotted line at a y position of 0.") |
| 1028 |
MAN_END |
| 1029 |
|
| 1030 |
MAN_BEGIN (U"Pen menu", U"ppgb", 20091215) |
| 1031 |
INTRO (U"One of the menus of the @@Picture window@.") |
| 1032 |
ENTRY (U"Purpose") |
| 1033 |
NORMAL (U"To choose the line type and @colour " |
| 1034 |
"to be used in subsequent drawing of lines and text.") |
| 1035 |
ENTRY (U"Behaviour") |
| 1036 |
NORMAL (U"The line type used by @@Draw inner box@ (solid), " |
| 1037 |
"and the line type of the dotted lines in the ##Mark...# commands " |
| 1038 |
"will not be affected.") |
| 1039 |
NORMAL (U"The commands in the @Margins menu will always draw in black.") |
| 1040 |
MAN_END |
| 1041 |
|
| 1042 |
MAN_BEGIN (U"Colour", U"ppgb", 20091215) |
| 1043 |
INTRO (U"In windows that pop up when you choose ##Colour...# from the @@Pen menu@ " |
| 1044 |
"or any of the #Paint commands in the ##World menu#, you can see the following field:") |
| 1045 |
CODE (U"Colour (0-1, name, or {r,g,b})") |
| 1046 |
NORMAL (U"This means that you can specify here a colour in any of three ways:") |
| 1047 |
TERM (U"\\bu a grey value between 0 and 1:") |
| 1048 |
DEFINITION (U"a value of 0 means black, 1 means white, 0.5 means grey, 0.75 means silver, and so on.") |
| 1049 |
TERM (U"\\bu a colour name:") |
| 1050 |
DEFINITION (U"you can choose from Black, White, Red, Green, Blue, Yellow, Cyan, Magenta, Maroon, Lime, Navy, Teal, " |
| 1051 |
"Purple, Olive, Pink, Silver, Grey, i.e. from any of the colours in the Pen menu. " |
| 1052 |
"You can write these either with a capital (Red) or in lowercase (red).") |
| 1053 |
TERM (U"\\bu an RGB colour:") |
| 1054 |
DEFINITION (U"you can specify a red-green-blue value as three values between 0 and 1, enclosed within braces " |
| 1055 |
"and separated by commas, e.g. {0.8,0.1,0.2} is something reddish.") |
| 1056 |
MAN_END |
| 1057 |
|
| 1058 |
MAN_BEGIN (U"Picture window", U"ppgb", 20140325) |
| 1059 |
INTRO (U"One of the two main windows in Praat.") |
| 1060 |
TERM (U"File menu") |
| 1061 |
LIST_ITEM (U"\\bu @@Save as PDF file...") |
| 1062 |
LIST_ITEM (U"\\bu @@Save as PNG file...") |
| 1063 |
LIST_ITEM (U"\\bu @@Save as EPS file...") |
| 1064 |
LIST_ITEM (U"\\bu @@Save as Windows metafile...@") |
| 1065 |
LIST_ITEM (U"\\bu @@Read from Praat picture file...@, @@Save as Praat picture file...") |
| 1066 |
LIST_ITEM (U"\\bu @@PostScript settings...") |
| 1067 |
LIST_ITEM (U"\\bu @@Print...") |
| 1068 |
TERM (U"Edit menu") |
| 1069 |
LIST_ITEM (U"\\bu @@Undo@") |
| 1070 |
LIST_ITEM (U"\\bu @@Copy to clipboard@") |
| 1071 |
LIST_ITEM (U"\\bu @@Erase all@") |
| 1072 |
TERM (U"@Margins menu") |
| 1073 |
LIST_ITEM (U"\\bu @@Draw inner box") |
| 1074 |
LIST_ITEM (U"\\bu @@Text left/right/top/bottom...") |
| 1075 |
LIST_ITEM (U"\\bu @@Marks left/right/top/bottom every...") |
| 1076 |
LIST_ITEM (U"\\bu @@One mark left/right/top/bottom...") |
| 1077 |
LIST_ITEM (U"\\bu @@Marks left/right/top/bottom...") |
| 1078 |
LIST_ITEM (U"\\bu @@Logarithmic marks left/right/top/bottom...") |
| 1079 |
LIST_ITEM (U"\\bu @@One logarithmic mark left/right/top/bottom...") |
| 1080 |
LIST_ITEM (U"\\bu @@Axes...") |
| 1081 |
TERM (U"World menu") |
| 1082 |
LIST_ITEM (U"\\bu @@Text...") |
| 1083 |
LIST_ITEM (U"\\bu @@Axes...") |
| 1084 |
TERM (U"Select menu") |
| 1085 |
LIST_ITEM (U"\\bu @@Select inner viewport...@, @@Select outer viewport...@, @@Viewport text...") |
| 1086 |
TERM (U"@@Pen menu") |
| 1087 |
TERM (U"@@Font menu") |
| 1088 |
MAN_END |
| 1089 |
|
| 1090 |
MAN_BEGIN (U"PostScript settings...", U"ppgb", 20201229) |
| 1091 |
INTRO (U"One of the commands in the File menus of many windows. " |
| 1092 |
"The PostScript settings influence @Printing and saving to @@Encapsulated PostScript@ files.") |
| 1093 |
ENTRY (U"Settings") |
| 1094 |
TERM (U"##Allow direct PostScript printing# (Windows only)") |
| 1095 |
DEFINITION (U"this determines whether Praat prints explicit PostScript commands to your printer " |
| 1096 |
"if it is a PostScript printer. This is what you will usually want. However, if you find " |
| 1097 |
"that some of the options that you choose in the #Print window seem not to be supported " |
| 1098 |
"(e.g. scaling, printing two-up...), you may switch this off; Praat will then send native " |
| 1099 |
"Windows drawing commands, which the printer driver will try to translate " |
| 1100 |
"to PostScript. If your printer does not support PostScript, this switch is ignored. " |
| 1101 |
"On Macintosh, this switch is ignored, because all printing is done in PDF. " |
| 1102 |
"On Unix, this switch is superfluous, because all printing is done directly in PostScript.") |
| 1103 |
TERM (U"##Grey resolution") |
| 1104 |
DEFINITION (U"you can choose from two image qualities:") |
| 1105 |
LIST_ITEM1 (U"\\bu the %finest quality for grey plots (106 spots per inch), " |
| 1106 |
"which gives the best results directly from the printer;") |
| 1107 |
LIST_ITEM1 (U"\\bu a %photocopyable quality, which has fewer spots per inch (85) and " |
| 1108 |
"gives the best results after photocopying.") |
| 1109 |
DEFINITION (U"Your choice of the grey resolution influences direct PostScript printing " |
| 1110 |
"and saving to @@Encapsulated PostScript@ files.") |
| 1111 |
TERM (U"##Paper size# (Unix only)") |
| 1112 |
DEFINITION (U"you can choose from A4 (210 \\xx 297 mm), A3 (297 \\xx 420 mm) or US Letter (8.5 \\xx 11\\\"p). " |
| 1113 |
"This choice applies to Unix only; on Windows, you choose the paper size in the ##Print...# window; " |
| 1114 |
"on Macintosh, you choose the paper size in the ##Page setup...# window.") |
| 1115 |
TERM (U"##Orientation# (Unix only)") |
| 1116 |
DEFINITION (U"you can choose between %portrait (e.g., 297 mm high and 210 mm wide) " |
| 1117 |
"and %landscape (e.g., 210 mm high and 297 mm wide). " |
| 1118 |
"This choice applies to Unix only; on Windows, you choose the orientation in the ##Print...# window; " |
| 1119 |
"on Macintosh, you choose the orientation in the ##Page setup...# window.") |
| 1120 |
TERM (U"##Magnification# (Unix only)") |
| 1121 |
DEFINITION (U"the relative size with which your picture will be printed; normally 1.0. " |
| 1122 |
"This choice applies to Unix only; on Windows, you choose the scaling in the ##Print...# window; " |
| 1123 |
"on Macintosh, you choose the scaling in the ##Page setup...# window.") |
| 1124 |
TERM (U"##Print command# (Unix only)") |
| 1125 |
DEFINITION (U"When printing on Unix, a temporary PostScript^\\re file is created in the “/tmp” folder; " |
| 1126 |
"it will have a name like “picXXXXXX”, and is automatically removed after printing. " |
| 1127 |
"This file is sent to the printer with the print command, which will often look like `lp -c %s`, " |
| 1128 |
"where `%s` stands for the file name.") |
| 1129 |
MAN_END |
| 1130 |
|
| 1131 |
MAN_BEGIN (U"Print...", U"ppgb", 20001010) |
| 1132 |
INTRO (U"One of the commands in the File menu of the @@Picture window@.") |
| 1133 |
NORMAL (U"With this command, you send your entire picture immediately to the printer. " |
| 1134 |
"See the @Printing tutorial for details.") |
| 1135 |
MAN_END |
| 1136 |
|
| 1137 |
MAN_BEGIN (U"Printing", U"ppgb", 20120430) |
| 1138 |
ENTRY (U"1a. Printing on Windows") |
| 1139 |
NORMAL (U"On Windows, the best results will be obtained on PostScript printers, since these have built-in " |
| 1140 |
"facilities for images (e.g. spectrograms) and rotated text. If a PostScript printer is available, " |
| 1141 |
"Praat will usually write direct PostScript commands to that printer " |
| 1142 |
"(see @@PostScript settings...@ if you want to switch this off). " |
| 1143 |
"Praat also supports non-PostScript printers, such as most colour inkjet printers.") |
| 1144 |
NORMAL (U"If you don't have a PostScript printer, and you still want PostScript quality, " |
| 1145 |
"you can save the picture to an EPS file (@@Save as EPS file...@). " |
| 1146 |
"You can then view this file with the freely available " |
| 1147 |
"GhostView^\\tm program, which you can download from `http://pages.cs.wisc.edu/~ghost/`, " |
| 1148 |
"or convert it to PDF with either GhostView or Adobe^\\re Acrobat^\\tm Distiller^\\tm, which is more reliable than GhostView " |
| 1149 |
"but is also expensive.") |
| 1150 |
ENTRY (U"1b. Printing on Macintosh") |
| 1151 |
NORMAL (U"On the Mac, Praat will print in PDF, both to PostScript and non-PostScript printers.") |
| 1152 |
ENTRY (U"1c. Printing on Linux") |
| 1153 |
NORMAL (U"On Linux, when you tell Praat to print a picture or manual page, Praat will write the picture to a temporary PostScript file " |
| 1154 |
"and send this file to a printer with the %%print command%, which you can change " |
| 1155 |
"with @@PostScript settings...@. You do not need a PostScript printer to print PostScript directly, " |
| 1156 |
"because the #lpr program sends PostScript files through the GhostScript program, " |
| 1157 |
"which is a part of all modern Linux distributions. The print command is typically " |
| 1158 |
"`lpr %s`. By changing the print command (with @@PostScript settings...@), " |
| 1159 |
"you can change it to something fancier. For instance, if you want to save the woods " |
| 1160 |
"and print two pages on one sheet of paper, you change it to `cat %s | mpage -2 -o -f -m0 | lpr`.") |
| 1161 |
ENTRY (U"2. Indirect printing with your word processor") |
| 1162 |
NORMAL (U"If you save your picture to an EPS file, you will be able to include it as a picture in your favourite " |
| 1163 |
"word processor (Microsoft^\\re Word^\\tm, LaTeX...). See @@Save as EPS file...@.") |
| 1164 |
NORMAL (U"On the Mac it is better to save your picture to a PDF file, which both Microsoft^\\re Word^\\tm (when using the `.docx` format) and LaTeX can process. " |
| 1165 |
"See @@Save as PDF file...@.") |
| 1166 |
ENTRY (U"3. Indirect printing through the clipboard") |
| 1167 |
NORMAL (U"On Windows, pictures included in your word processor via @@Copy to clipboard@ or @@Save as Windows metafile...@ " |
| 1168 |
"will print fine, though not as nicely as EPS files.") |
| 1169 |
NORMAL (U"On the Mac, pictures included in your word processor (post-2006 versions) via @@Copy to clipboard@ " |
| 1170 |
"will print just as nicely as PDF files (use the `.docx` format in Microsoft Word).") |
| 1171 |
MAN_END |
| 1172 |
|
| 1173 |
MAN_BEGIN (U"Read from Praat picture file...", U"ppgb", 20110129) |
| 1174 |
INTRO (U"One of the commands in the File menu of the @@Picture window@.") |
| 1175 |
ENTRY (U"Purpose") |
| 1176 |
NORMAL (U"To read a picture that you saved earlier " |
| 1177 |
"with @@Save as Praat picture file...@.") |
| 1178 |
ENTRY (U"Behaviour") |
| 1179 |
NORMAL (U"The picture will be drawn across whatever is currently visible in the Picture window.") |
| 1180 |
ENTRY (U"Usage") |
| 1181 |
NORMAL (U"With the help of this command, you can transfer a picture from a Unix machine to a Macintosh. " |
| 1182 |
"Praat for Macintosh can write the picture to an @@Encapsulated PostScript@ file " |
| 1183 |
"with a screen preview.") |
| 1184 |
MAN_END |
| 1185 |
|
| 1186 |
MAN_BEGIN (U"Text...", U"ppgb", 19970330) |
| 1187 |
INTRO (U"One of the commands in the #World menu of the @@Picture window@.") |
| 1188 |
ENTRY (U"Purpose") |
| 1189 |
NORMAL (U"To write text inside the drawing area.") |
| 1190 |
ENTRY (U"Scope") |
| 1191 |
NORMAL (U"This works with all the drawings that leave @margins around themselves.") |
| 1192 |
ENTRY (U"Settings") |
| 1193 |
TERM (U"%x") |
| 1194 |
DEFINITION (U"horizontal position, expressed in the horizontal domain of your latest drawing.") |
| 1195 |
TERM (U"%y") |
| 1196 |
DEFINITION (U"vertical position, expressed in the vertical range or domain of your latest drawing.") |
| 1197 |
TERM (U"%%Horizontal alignment") |
| 1198 |
DEFINITION (U"determines the horizontal alignment of the text relative to %x.") |
| 1199 |
TERM (U"%%Vertical alignment") |
| 1200 |
DEFINITION (U"determines the vertical alignment of the text relative to %y.") |
| 1201 |
TERM (U"%%Text") |
| 1202 |
DEFINITION (U"will be drawn in the current font and font size " |
| 1203 |
"that you set with the @@Font menu@.") |
| 1204 |
ENTRY (U"Usage") |
| 1205 |
NORMAL (U"With the ##Text...# command, you can use all @@special symbols@ and @@text styles@.") |
| 1206 |
MAN_END |
| 1207 |
|
| 1208 |
MAN_BEGIN (U"Insert picture from file...", U"ppgb", 20140608) |
| 1209 |
INTRO (U"A command in the #World menu of the @@Picture window@.") |
| 1210 |
ENTRY (U"Purpose") |
| 1211 |
NORMAL (U"To draw a picture file (PNG; on Mac and Windows also JPEG or TIFF; " |
| 1212 |
"other picture formats may also work) into the Picture window (or into the Demo window).") |
| 1213 |
ENTRY (U"Settings") |
| 1214 |
TERM (U"##File name") |
| 1215 |
DEFINITION (U"the name of the picture file. If you use this command in a script, " |
| 1216 |
"you can use a relative path name such as `pictures/myface.png` or `~/Desktop/hello.png`.") |
| 1217 |
TERM (U"##From x") |
| 1218 |
TERM (U"##To x") |
| 1219 |
DEFINITION (U"The horizontal location (in world coordinates) where the picture will appear. " |
| 1220 |
"Use the @@Axes...@ command to set world coordinates if they have not been set implicitly by an earlier #Draw or #Paint command. " |
| 1221 |
"If you set ##From x# and ##To x# to the same value, the picture will be horizontally centred around this %x value " |
| 1222 |
"and obtain a width that preserves the aspect ratio (width-to-height ratio) of the original picture.") |
| 1223 |
TERM (U"##From y") |
| 1224 |
TERM (U"##To y") |
| 1225 |
DEFINITION (U"The vertical location (in world coordinates) where the picture will appear. " |
| 1226 |
"Use the @@Axes...@ command to set world coordinates if they have not been set implicitly by an earlier #Draw or #Paint command. " |
| 1227 |
"If you set ##From y# and ##To y# to the same value, the picture will be vertically centred around this %y value " |
| 1228 |
"and obtain a height that preserves the aspect ratio (width-to-height ratio) of the original picture.") |
| 1229 |
ENTRY (U"Behaviour") |
| 1230 |
NORMAL (U"From the description above, you see that if ##From x# is unequal to ##To x# and ##From y# is unequal to ##To y#, " |
| 1231 |
"the picture will probably obtain an aspect ratio different from the original picture. " |
| 1232 |
"To preserve the aspect ratio, either make ##To x# equal to ##From x# or make ##To y# equal to ##From y#.") |
| 1233 |
NORMAL (U"To show the picture on the same number of pixels as the original, make ##To x# equal to ##From x# and ##To y# equal to ##From y#. " |
| 1234 |
"Praat will then show the picture with the original width and height (in pixels), centred around the given %x and %y values.") |
| 1235 |
ENTRY (U"Usage") |
| 1236 |
NORMAL (U"You will usually use this in a script, and often in a script that runs the @@Demo window@.") |
| 1237 |
MAN_END |
| 1238 |
|
| 1239 |
MAN_BEGIN (U"Text left/right/top/bottom...", U"ppgb", 19970330) |
| 1240 |
INTRO (U"Four of the commands in the #Margins menu of the @@Picture window@.") |
| 1241 |
ENTRY (U"Purpose") |
| 1242 |
NORMAL (U"To write text into the @margins around the drawing area.") |
| 1243 |
ENTRY (U"Behaviour") |
| 1244 |
NORMAL (U"The text will be centred along the side. " |
| 1245 |
"Text at the left or right will be turned by 90 degrees " |
| 1246 |
"and written up and down, respectively.") |
| 1247 |
MAN_END |
| 1248 |
|
| 1249 |
MAN_BEGIN (U"Undo", U"ppgb", 20091215) |
| 1250 |
INTRO (U"One of the commands in the #Edit menu of the @@Picture window@.") |
| 1251 |
NORMAL (U"It erases your most recently created drawing, which could have come from a command in the Objects window " |
| 1252 |
"or from one of the drawing commands in the World and @Margins menus.") |
| 1253 |
ENTRY (U"Behaviour") |
| 1254 |
NORMAL (U"This command will erase some drawings, but it will not change your settings in the #Pen and #Font menus " |
| 1255 |
"(line type, line width, font, font size, and @colour).") |
| 1256 |
NORMAL (U"The world window will be what it was after the latest-but-one drawing, " |
| 1257 |
"so that you can use the @Margins menu as if the latest drawing had never happened.") |
| 1258 |
MAN_END |
| 1259 |
|
| 1260 |
MAN_BEGIN (U"Select inner viewport...", U"ppgb", 20041108) |
| 1261 |
INTRO (U"One of the commands in the #Select menu of the @@Picture window@.") |
| 1262 |
ENTRY (U"Purpose") |
| 1263 |
NORMAL (U"To determine where your next drawing will occur.") |
| 1264 |
ENTRY (U"The viewport") |
| 1265 |
NORMAL (U"The \"viewport\" is the part of the Picture window where your next drawing will occur. " |
| 1266 |
"Its margins are pink.") |
| 1267 |
NORMAL (U"The %inner viewport does not include the margins, the %outer viewport does (see @@Select outer viewport...@).") |
| 1268 |
NORMAL (U"Normally, you select the viewport by dragging your mouse across the Picture window. " |
| 1269 |
"However, you would use this explicit command:") |
| 1270 |
LIST_ITEM (U"\\bu from a script;") |
| 1271 |
LIST_ITEM (U"\\bu if you want a viewport that cannot be expressed in halves of an inch.") |
| 1272 |
MAN_END |
| 1273 |
|
| 1274 |
MAN_BEGIN (U"Select outer viewport...", U"ppgb", 20041108) |
| 1275 |
INTRO (U"One of the commands in the #Select menu of the @@Picture window@.") |
| 1276 |
ENTRY (U"Purpose") |
| 1277 |
NORMAL (U"To determine where your next drawing will occur.") |
| 1278 |
ENTRY (U"The viewport") |
| 1279 |
NORMAL (U"The \"viewport\" is the part of the Picture window where your next drawing will occur. " |
| 1280 |
"Its margins are pink.") |
| 1281 |
NORMAL (U"The %outer viewport includes the margins, the %inner viewport does not (see @@Select inner viewport...@).") |
| 1282 |
NORMAL (U"Normally, you select the viewport by dragging your mouse across the Picture window. " |
| 1283 |
"However, you would use this explicit command:") |
| 1284 |
LIST_ITEM (U"\\bu from a script;") |
| 1285 |
LIST_ITEM (U"\\bu if you want a viewport that cannot be expressed in halves of an inch.") |
| 1286 |
MAN_END |
| 1287 |
|
| 1288 |
MAN_BEGIN (U"Viewport text...", U"ppgb", 19970330) |
| 1289 |
INTRO (U"One of the commands in the #Select menu of the @@Picture window@.") |
| 1290 |
ENTRY (U"Purpose") |
| 1291 |
NORMAL (U"To write text inside the viewport, at nine different places, " |
| 1292 |
"with a rotation between 0 to 360 degrees.") |
| 1293 |
ENTRY (U"Settings:") |
| 1294 |
TERM (U"##Horizontal alignment") |
| 1295 |
DEFINITION (U"determines the horizontal alignment of the text:") |
| 1296 |
LIST_ITEM (U" \\bu #Left means pushed against the left edge of the viewport;") |
| 1297 |
LIST_ITEM (U" \\bu #Right means pushed against the right edge of the viewport;") |
| 1298 |
LIST_ITEM (U" \\bu #Centre means horizontally centred in the viewport.") |
| 1299 |
TERM (U"##Vertical alignment") |
| 1300 |
DEFINITION (U"determines the vertical alignment of the text:") |
| 1301 |
LIST_ITEM (U" \\bu #Top means pushed against the top of the viewport;") |
| 1302 |
LIST_ITEM (U" \\bu #Bottom means pushed against the bottom of the viewport;") |
| 1303 |
LIST_ITEM (U" \\bu #Half means vertically centred in the viewport.") |
| 1304 |
TERM (U"##Text") |
| 1305 |
DEFINITION (U"will be drawn in the current font and font size " |
| 1306 |
"that you set with the @@Font menu@.") |
| 1307 |
ENTRY (U"Behaviour") |
| 1308 |
NORMAL (U"For rotated text, the alignment settings will not only determine " |
| 1309 |
"the position inside the viewport, " |
| 1310 |
"but also the alignment in the rotated coordinate system. " |
| 1311 |
"This gives surprises now and then; " |
| 1312 |
"so, if you want several rotated texts that align with each other, " |
| 1313 |
"you should do this by varying the viewport, not the alignment.") |
| 1314 |
ENTRY (U"Usage") |
| 1315 |
NORMAL (U"You can use all @@special symbols@ and @@text styles@.") |
| 1316 |
MAN_END |
| 1317 |
|
| 1318 |
MAN_BEGIN (U"Save as EPS file...", U"ppgb", 20140325) |
| 1319 |
INTRO (U"A command in the File menu of the @@Picture window@.") |
| 1320 |
NORMAL (U"It saves the picture to an @@Encapsulated PostScript@ (EPS) file, " |
| 1321 |
"which can be imported by many other programs, such as Microsoft^\\re Word^\\tm.") |
| 1322 |
ENTRY (U"Usage") |
| 1323 |
NORMAL (U"EPS files are on the way out, mainly because they do not really support international text. " |
| 1324 |
"On Macintosh and Linux, it is almost always better to use @@Save as PDF file...@ instead, " |
| 1325 |
"or (on the Mac) to use @@Copy to clipboard@. On Windows, which does not really support PDF files yet, " |
| 1326 |
"you may find that EPS files sometimes creates better quality than @@Copy to clipboard@; " |
| 1327 |
"you should also check out @@Save as PNG file...@ on Windows. " |
| 1328 |
"To import an EPS file in Word, choose #Insert \\-> #Picture \\-> ##From file...#. ") |
| 1329 |
ENTRY (U"Behaviour") |
| 1330 |
NORMAL (U"Though all the contents of the Picture window are written to the EPS file, " |
| 1331 |
"only the part that you selected in the Picture window (the %viewport) may become visible in Word (or another program).") |
| 1332 |
ENTRY (U"Settings") |
| 1333 |
NORMAL (U"The EPS picture is saved with the grey resolution and fonts that you specified with @@PostScript settings...@.") |
| 1334 |
MAN_END |
| 1335 |
|
| 1336 |
MAN_BEGIN (U"Save as PDF file...", U"ppgb", 20140325) |
| 1337 |
INTRO (U"A command in the File menu of the @@Picture window@, on Macintosh and Linux.") |
| 1338 |
NORMAL (U"It saves the picture to a PDF file, " |
| 1339 |
"which can be imported by several other programs, such as modern versions of Microsoft^\\re Word\\tm.") |
| 1340 |
ENTRY (U"PDF means highest possible quality") |
| 1341 |
NORMAL (U"With PDF pictures you can use high-quality graphics in your word-processor documents. " |
| 1342 |
"On the Mac, the quality is the same as if you use @@Copy to clipboard@.") |
| 1343 |
NORMAL (U"On Windows, use @@Save as PNG file...@ or @@Save as EPS file...@ instead.") |
| 1344 |
ENTRY (U"Behaviour") |
| 1345 |
NORMAL (U"Though all the contents of the Picture window are written to the PDF file, " |
| 1346 |
"only the part that you selected in the Picture window (the %viewport) will become visible in Word (or another program).") |
| 1347 |
ENTRY (U"Usage") |
| 1348 |
NORMAL (U"To import a PDF file in Word, choose #Insert \\-> #Picture \\-> ##From file...#. " |
| 1349 |
"Word will create a picture with the same size as the originally selected part of the Picture window (the %viewport).") |
| 1350 |
MAN_END |
| 1351 |
|
| 1352 |
MAN_BEGIN (U"Save as PNG file...", U"ppgb", 20140325) |
| 1353 |
INTRO (U"A command in the File menu of the @@Picture window@, on all platforms.") |
| 1354 |
NORMAL (U"It saves the picture to a PNG (“ping”) image file, " |
| 1355 |
"which can be imported by several other programs, such as Microsoft^\\re Word\\tm. " |
| 1356 |
"For the resolution you can choose between 600 dots per inch (very good quality even when printed) " |
| 1357 |
"and 300 dpi (enough for all web sites, even on retina displays).") |
| 1358 |
ENTRY (U"Usage in text processors") |
| 1359 |
NORMAL (U"On Windows, PNG files may sometimes have the best quality that you can get, " |
| 1360 |
"although you should also try @@Save as EPS file...@ and @@Copy to clipboard@. " |
| 1361 |
"On Macintosh or Linux, @@Save as PDF file...@ or @@Copy to clipboard@ is almost always better.") |
| 1362 |
ENTRY (U"Usage for publication") |
| 1363 |
NORMAL (U"Some publishers do not accept PDF pictures. In such a case, " |
| 1364 |
"they may accept 600-dpi or 300-dpi PNG pictures. If they accept TIFF pictures only, " |
| 1365 |
"then you can easily convert your PNG picture to a TIFF picture with any graphics converter program.") |
| 1366 |
ENTRY (U"Behaviour") |
| 1367 |
NORMAL (U"Only the contents of the part of the Picture window that you selected (the %viewport) " |
| 1368 |
"are written to the PNG file.") |
| 1369 |
ENTRY (U"Usage") |
| 1370 |
NORMAL (U"To import a PNG file in Word, choose #Insert \\-> #Picture \\-> ##From file...#. " |
| 1371 |
"Word will create a picture with the same size as the originally selected part of the Picture window (the %viewport).") |
| 1372 |
MAN_END |
| 1373 |
|
| 1374 |
MAN_BEGIN (U"Save as Praat picture file...", U"ppgb", 20110129) |
| 1375 |
INTRO (U"A command in the File menu of the @@Picture window@.") |
| 1376 |
NORMAL (U"It saves a picture in a format that can be imported into Praat later with @@Read from Praat picture file...@.") |
| 1377 |
ENTRY (U"Usage") |
| 1378 |
NORMAL (U"With the help of this command, you can transfer the contents of the picture window between computers or even between platforms, " |
| 1379 |
"for instance from a Macintosh to a Windows computer.") |
| 1380 |
MAN_END |
| 1381 |
|
| 1382 |
MAN_BEGIN (U"Save as Windows metafile...", U"ppgb", 20140325) |
| 1383 |
INTRO (U"A command in the File menu of the @@Picture window@, if you are on Windows.") |
| 1384 |
NORMAL (U"It saves the selected part of the picture in an “enhanced metafile” (.EMF) format, " |
| 1385 |
"which can be imported by many Windows programs, like Adobe^\\re Illustrator^\\tm or Microsoft^\\re Word^\\tm.") |
| 1386 |
ENTRY (U"Behaviour") |
| 1387 |
NORMAL (U"Though all the picture data will be written to the file, " |
| 1388 |
"only the part that you selected in the Picture window (the %viewport) may become visible in the other program.") |
| 1389 |
ENTRY (U"Usage") |
| 1390 |
NORMAL (U"You will not use this command very often, " |
| 1391 |
"because it is usually easier to copy the selection to the clipboard with the @@Copy to clipboard@ command, " |
| 1392 |
"and ‘Paste’ it into the other program. You may use a metafile instead of the clipboard if the clipboard is too large " |
| 1393 |
"for the other program to read, or if you want to transfer the picture to another computer.") |
| 1394 |
MAN_END |
| 1395 |
|
| 1396 |
} |
| 1397 |
|
| 1398 |
/* End of file manual_Picture.cpp */ |