Knowledge (XXG)

Template:Prime

Source 📝

37: 68: 375:) is a single letter which determines the amount of space to provide. This defaults to the last letter of the first argument, but if the preceding text ends with markup rather than a letter to be displayed, that won't work right. Normally if the second argument is supplied, the first one is omitted. That is, people normally find 481:
argument allows you to explicitly specify the space, overriding the internal computation. Values around 0.1em normally work well. If this is supplied, the first argument is of little use, and the second is ignored
501:
The extra space is most needed after tall letters which, in italic, extend far to the top right. Here is a table illustrating various combinations, to help decide:
326:: it ensures the apostrophe is not interpreted as wiki markup. For example, it can be written immediately after the wiki markup for italics as 1611: 52: 357:), in which case is simply displays a prime symbol with the maximum space. It may be a bit wide in some cases, but will be intelligible. 1644: 1607: 48: 1593: 260:
for comparison, without the leading space, in some browsers you end up with the prime symbol being almost indistinguishable from the
1660: 1552: 307:), used to provide a single quote with extra space, but provides the prime (minutes of arc) symbol instead of an apostrophe, 56: 426:
argument allows a different symbol, such as a double (″) or triple (‴) prime, to be substituted. For example,
261: 78: 74: 1581: 301: 1640: 1601: 44: 86: 1597: 67: 1570: 587: 573: 559: 545: 116: 1654: 529: 513: 491: 294: 109: 311:
it can take the preceding letter into account when deciding how much space to add.
96: 1520:
are the worst cases; they require the full 0.15em of space. Other letters like
101: 1540:
look worse with any extra space. Unfortunately there's no HTML equivalent of
31: 17: 364:) is preceding text. This is displayed before the prime symbol, and the 368:
letter of this text is used to determine the amount of space to provide.
486:
Note that, although Greek letters are supported, it currently does
82: 73:
This template should not be used in citation templates such as
1541: 62: 1548:
italic correction, so this uses a crude approximation (from
99:
with leading space so it does not collide with a preceding
1632: 1624: 1620: 351:
The template may be used without any arguments (a bare
129:(which is easier to find on a keyboard). For example: 1558:) which does not take the user's font into account. 1528:
need some space, but not as much. And letters like
341:, without being interpreted as wiki markup for bold 427: 398: 376: 342: 327: 171: 133: 81:, because it includes markup that will pollute the 1617:Editors can experiment in this template's sandbox 8: 503: 478: 423: 372: 361: 7: 25: 397:more legible than the equivalent 293:The space provided is similar to 66: 35: 318:has a second function which is 105:character (such as produced by 115:). It is known by two names, 1: 324:{{prime}} 490:work with the corresponding 85:metadata they produce; see 1677: 1591: 520: 1645:Subpages of this template 525: 522: 509: 506: 354:{{′}} 316:{{'}} 295:{{'}} 117:{{′}} 95:This template produces a 1661:Quotation mark templates 119:(which is shorter), and 1553:Italics correction/calc 1639:Add categories to the 40:Template documentation 1587:might be worth adding 466:renders as 12°34 371:The second argument ( 198:''('' 151:''('' 87:Knowledge (XXG):COinS 360:The first argument ( 1602:Template:Prime/doc 1516:, and upper-case 1506: 1505: 93: 92: 16:(Redirected from 1668: 1636: 1628: 1615: 1586: 1580: 1575: 1569: 1557: 1551: 1547: 1502: 1501: 1497: 1490: 1484: 1480: 1468: 1467: 1463: 1456: 1450: 1446: 1432: 1431: 1427: 1420: 1414: 1410: 1398: 1397: 1393: 1386: 1380: 1376: 1362: 1361: 1357: 1350: 1344: 1340: 1328: 1327: 1323: 1316: 1310: 1306: 1292: 1291: 1287: 1280: 1274: 1270: 1258: 1257: 1253: 1246: 1240: 1236: 1222: 1221: 1217: 1210: 1204: 1200: 1188: 1187: 1183: 1176: 1170: 1166: 1152: 1151: 1147: 1140: 1134: 1130: 1118: 1117: 1113: 1106: 1100: 1096: 1082: 1081: 1077: 1070: 1064: 1060: 1048: 1047: 1043: 1036: 1030: 1026: 1012: 1011: 1007: 1000: 994: 990: 978: 977: 973: 966: 960: 956: 942: 941: 937: 930: 924: 920: 908: 907: 903: 896: 890: 886: 872: 871: 867: 860: 854: 850: 838: 837: 833: 826: 820: 816: 802: 801: 797: 790: 784: 780: 768: 767: 763: 756: 750: 746: 732: 731: 727: 720: 714: 710: 698: 697: 693: 686: 680: 676: 662: 661: 657: 650: 644: 640: 628: 627: 623: 616: 610: 606: 592: 586: 578: 572: 564: 558: 550: 544: 534: 528: 518: 512: 504: 497: 480: 473: 469: 465: 464: 460: 457: 454: 450: 447: 444: 440: 437: 434: 431: 425: 418: 417: 414: 410: 407: 404: 401: 396: 395: 392: 388: 385: 382: 379: 374: 363: 356: 355: 346: 345: 340: 339: 336: 333: 330: 325: 317: 306: 300: 289: 256: 253: 246: 238: 231: 219: 218: 215: 212: 208: 205: 202: 199: 196: 192: 189: 186: 183: 180: 177: 174: 169: 168: 165: 161: 158: 155: 152: 149: 145: 142: 139: 136: 128: 122: 114: 108: 79:Citation Style 2 75:Citation Style 1 70: 63: 60: 41: 39: 38: 29: 21: 1676: 1675: 1671: 1670: 1669: 1667: 1666: 1665: 1651: 1650: 1649: 1648: 1638: 1630: 1618: 1616: 1605: 1590: 1584: 1578: 1573: 1567: 1564: 1555: 1549: 1545: 1499: 1495: 1493: 1488: 1482: 1478: 1465: 1461: 1459: 1454: 1448: 1444: 1429: 1425: 1423: 1418: 1412: 1408: 1395: 1391: 1389: 1384: 1378: 1374: 1359: 1355: 1353: 1348: 1342: 1338: 1325: 1321: 1319: 1314: 1308: 1304: 1289: 1285: 1283: 1278: 1272: 1268: 1255: 1251: 1249: 1244: 1238: 1234: 1219: 1215: 1213: 1208: 1202: 1198: 1185: 1181: 1179: 1174: 1168: 1164: 1149: 1145: 1143: 1138: 1132: 1128: 1115: 1111: 1109: 1104: 1098: 1094: 1079: 1075: 1073: 1068: 1062: 1058: 1045: 1041: 1039: 1034: 1028: 1024: 1009: 1005: 1003: 998: 992: 988: 975: 971: 969: 964: 958: 954: 939: 935: 933: 928: 922: 918: 905: 901: 899: 894: 888: 884: 869: 865: 863: 858: 852: 848: 835: 831: 829: 824: 818: 814: 799: 795: 793: 788: 782: 778: 765: 761: 759: 754: 748: 744: 729: 725: 723: 718: 712: 708: 695: 691: 689: 684: 678: 674: 659: 655: 653: 648: 642: 638: 625: 621: 619: 614: 608: 604: 590: 584: 576: 570: 562: 556: 548: 542: 532: 526: 516: 510: 495: 471: 467: 462: 458: 455: 452: 448: 445: 442: 438: 435: 432: 429: 415: 412: 408: 405: 402: 399: 393: 390: 386: 383: 380: 377: 353: 352: 344:''' 343: 337: 334: 331: 328: 323: 315: 304: 298: 280: 251: 244: 241: 236: 229: 216: 214:'') ≥ 0 213: 210: 206: 203: 200: 197: 194: 190: 187: 184: 181: 178: 175: 172: 167:'') ≥ 0 166: 163: 159: 156: 153: 150: 147: 143: 140: 137: 134: 126: 120: 112: 106: 61: 42: 36: 34: 27: 23: 22: 15: 12: 11: 5: 1674: 1672: 1664: 1663: 1653: 1652: 1629:and testcases 1589: 1588: 1576: 1563: 1560: 1504: 1503: 1491: 1486: 1474: 1469: 1457: 1452: 1440: 1434: 1433: 1421: 1416: 1404: 1399: 1387: 1382: 1370: 1364: 1363: 1351: 1346: 1334: 1329: 1317: 1312: 1300: 1294: 1293: 1281: 1276: 1264: 1259: 1247: 1242: 1230: 1224: 1223: 1211: 1206: 1194: 1189: 1177: 1172: 1160: 1154: 1153: 1141: 1136: 1124: 1119: 1107: 1102: 1090: 1084: 1083: 1071: 1066: 1054: 1049: 1037: 1032: 1020: 1014: 1013: 1001: 996: 984: 979: 967: 962: 950: 944: 943: 931: 926: 914: 909: 897: 892: 880: 874: 873: 861: 856: 844: 839: 827: 822: 810: 804: 803: 791: 786: 774: 769: 757: 752: 740: 734: 733: 721: 716: 704: 699: 687: 682: 670: 664: 663: 651: 646: 634: 629: 617: 612: 600: 594: 593: 582: 579: 568: 565: 554: 551: 540: 536: 535: 524: 521: 519: 508: 484: 483: 475: 420: 369: 358: 291: 290: 264:of the italic 258: 257: 221: 220: 91: 90: 71: 33: 32: 24: 14: 13: 10: 9: 6: 4: 3: 2: 1673: 1662: 1659: 1658: 1656: 1646: 1642: 1634: 1626: 1622: 1613: 1609: 1603: 1599: 1595: 1594:documentation 1583: 1577: 1572: 1566: 1565: 1561: 1559: 1554: 1543: 1539: 1535: 1531: 1527: 1523: 1519: 1515: 1511: 1492: 1487: 1485: 1475: 1473: 1470: 1458: 1453: 1451: 1441: 1439: 1436: 1435: 1422: 1417: 1415: 1405: 1403: 1400: 1388: 1383: 1381: 1371: 1369: 1366: 1365: 1352: 1347: 1345: 1335: 1333: 1330: 1318: 1313: 1311: 1301: 1299: 1296: 1295: 1282: 1277: 1275: 1265: 1263: 1260: 1248: 1243: 1241: 1231: 1229: 1226: 1225: 1212: 1207: 1205: 1195: 1193: 1190: 1178: 1173: 1171: 1161: 1159: 1156: 1155: 1142: 1137: 1135: 1125: 1123: 1120: 1108: 1103: 1101: 1091: 1089: 1086: 1085: 1072: 1067: 1065: 1055: 1053: 1050: 1038: 1033: 1031: 1021: 1019: 1016: 1015: 1002: 997: 995: 985: 983: 980: 968: 963: 961: 951: 949: 946: 945: 932: 927: 925: 915: 913: 910: 898: 893: 891: 881: 879: 876: 875: 862: 857: 855: 845: 843: 840: 828: 823: 821: 811: 809: 806: 805: 792: 787: 785: 775: 773: 770: 758: 753: 751: 741: 739: 736: 735: 722: 717: 715: 705: 703: 700: 688: 683: 681: 671: 669: 666: 665: 652: 647: 645: 635: 633: 630: 618: 613: 611: 601: 599: 596: 595: 589: 583: 580: 575: 569: 566: 561: 555: 552: 547: 541: 538: 537: 531: 515: 505: 502: 499: 493: 492:HTML entities 489: 479:|sp= 476: 421: 370: 367: 359: 350: 349: 348: 321: 312: 310: 303: 296: 287: 283: 278: 274: 271: 270: 269: 267: 263: 254: 247: 239: 232: 226: 225: 224: 132: 131: 130: 125: 118: 111: 104: 103: 98: 88: 84: 80: 76: 72: 69: 65: 64: 58: 54: 50: 46: 30: 19: 1585:}} 1579:{{ 1574:}} 1568:{{ 1556:}} 1550:{{ 1537: 1533: 1529: 1525: 1521: 1517: 1513: 1509: 1507: 1476: 1471: 1442: 1437: 1406: 1401: 1372: 1367: 1336: 1331: 1302: 1297: 1266: 1261: 1232: 1227: 1196: 1191: 1162: 1157: 1126: 1121: 1092: 1087: 1056: 1051: 1022: 1017: 986: 981: 952: 947: 916: 911: 882: 877: 846: 841: 812: 807: 776: 771: 742: 737: 706: 701: 672: 667: 636: 631: 602: 597: 591:}} 585:{{ 577:}} 571:{{ 563:}} 557:{{ 549:}} 543:{{ 533:}} 527:{{ 517:}} 511:{{ 500: 487: 485: 477:An optional 424:|c= 422:An optional 373:|2= 365: 362:|1= 319: 313: 308: 305:}} 299:{{ 292: 285: 281: 276: 272: 265: 259: 249: 242: 234: 227: 222: 127:}} 123: 121:{{ 113:}} 107:{{ 100: 97:prime symbol 94: 26: 1598:transcluded 1508:Lower-case 523:Italic text 507:Italic text 496:α 482:completely. 223:generates: 55:] [ 51:] [ 47:] [ 1592:The above 416:'' 400:'' 394:'' 378:'' 329:'' 322:needed by 302:apostrophe 240:) ≥ 0 or 182:'' 135:'' 18:Template:′ 1643:subpage. 430:° 279:) ≥ 0 or 1655:Category 1562:See also 297:(a.k.a. 262:ascender 1623:| 1612:history 1610:| 1582:ppprime 53:history 1637:pages. 1633:create 1625:mirror 1621:create 1571:pprime 102:italic 1600:from 1489:z′ Z′ 1472:z′ Z′ 1455:m′ M′ 1438:m′ M′ 1419:y′ Y′ 1402:y′ Y′ 1385:l′ L′ 1368:l′ L′ 1349:x′ X′ 1332:x′ X′ 1315:k′ K′ 1298:k′ K′ 1279:w′ W′ 1262:w′ W′ 1245:j′ J′ 1228:j′ J′ 1209:v′ V′ 1192:v′ V′ 1175:i′ I′ 1158:i′ I′ 1139:u′ U′ 1122:u′ U′ 1105:h′ H′ 1088:h′ H′ 1069:t′ T′ 1052:t′ T′ 1035:g′ G′ 1018:g′ G′ 999:s′ S′ 982:s′ S′ 965:f′ F′ 948:f′ F′ 929:r′ R′ 912:r′ R′ 895:e′ E′ 878:e′ E′ 859:q′ Q′ 842:q′ Q′ 825:d′ D′ 808:d′ D′ 789:p′ P′ 772:p′ P′ 755:c′ C′ 738:c′ C′ 719:o′ O′ 702:o′ O′ 685:b′ B′ 668:b′ B′ 649:n′ N′ 632:n′ N′ 615:a′ A′ 598:a′ A′ 494:like 446:prime 436:prime 406:prime 384:prime 335:' 288:) ≥ 0 255:) ≥ 0 124:prime 83:COinS 59:] 57:purge 43:[ 1641:/doc 1608:edit 1536:and 1524:and 530:mvar 514:mvar 443:}}{{ 366:last 176:math 110:mvar 77:and 49:edit 45:view 1596:is 1544:'s 1542:TeX 488:not 409:|]| 381:]{{ 347:.) 320:not 309:and 170:or 1657:: 1604:. 1546:\/ 1532:, 1512:, 498:. 470:56 463:}} 451:56 441:34 433:{{ 428:12 413:}} 403:{{ 391:}} 387:|| 338:}} 332:{{ 286:x′ 282:f′ 277:x′ 273:f′ 268:: 217:}} 211:}} 201:{{ 195:}} 185:{{ 173:{{ 164:}} 154:{{ 148:}} 138:{{ 89:. 1647:. 1635:) 1631:( 1627:) 1619:( 1614:) 1606:( 1538:L 1534:A 1530:o 1526:V 1522:j 1518:T 1514:l 1510:f 1500:′ 1498:Z 1496:′ 1494:z 1483:′ 1481:Z 1479:′ 1477:z 1466:′ 1464:M 1462:′ 1460:m 1449:′ 1447:M 1445:′ 1443:m 1430:′ 1428:Y 1426:′ 1424:y 1413:′ 1411:Y 1409:′ 1407:y 1396:′ 1394:L 1392:′ 1390:l 1379:′ 1377:L 1375:′ 1373:l 1360:′ 1358:X 1356:′ 1354:x 1343:′ 1341:X 1339:′ 1337:x 1326:′ 1324:K 1322:′ 1320:k 1309:′ 1307:K 1305:′ 1303:k 1290:′ 1288:W 1286:′ 1284:w 1273:′ 1271:W 1269:′ 1267:w 1256:′ 1254:J 1252:′ 1250:j 1239:′ 1237:J 1235:′ 1233:j 1220:′ 1218:V 1216:′ 1214:v 1203:′ 1201:V 1199:′ 1197:v 1186:′ 1184:I 1182:′ 1180:i 1169:′ 1167:I 1165:′ 1163:i 1150:′ 1148:U 1146:′ 1144:u 1133:′ 1131:U 1129:′ 1127:u 1116:′ 1114:H 1112:′ 1110:h 1099:′ 1097:H 1095:′ 1093:h 1080:′ 1078:T 1076:′ 1074:t 1063:′ 1061:T 1059:′ 1057:t 1046:′ 1044:G 1042:′ 1040:g 1029:′ 1027:G 1025:′ 1023:g 1010:′ 1008:S 1006:′ 1004:s 993:′ 991:S 989:′ 987:s 976:′ 974:F 972:′ 970:f 959:′ 957:F 955:′ 953:f 940:′ 938:R 936:′ 934:r 923:′ 921:R 919:′ 917:r 906:′ 904:E 902:′ 900:e 889:′ 887:E 885:′ 883:e 870:′ 868:Q 866:′ 864:q 853:′ 851:Q 849:′ 847:q 836:′ 834:D 832:′ 830:d 819:′ 817:D 815:′ 813:d 800:′ 798:P 796:′ 794:p 783:′ 781:P 779:′ 777:p 766:′ 764:C 762:′ 760:c 749:′ 747:C 745:′ 743:c 730:′ 728:O 726:′ 724:o 713:′ 711:O 709:′ 707:o 696:′ 694:B 692:′ 690:b 679:′ 677:B 675:′ 673:b 660:′ 658:N 656:′ 654:n 643:′ 641:N 639:′ 637:n 626:′ 624:A 622:′ 620:a 609:′ 607:A 605:′ 603:a 588:′ 581:′ 574:′ 567:′ 560:′ 553:′ 546:′ 539:′ 474:. 472:″ 468:′ 461:″ 459:= 456:c 453:| 449:| 439:| 419:. 411:π 389:π 314:( 284:( 275:( 266:f 252:′ 250:x 248:( 245:′ 243:f 237:′ 235:x 233:( 230:′ 228:f 209:x 207:| 204:′ 193:f 191:| 188:′ 179:| 162:x 160:| 157:′ 146:f 144:| 141:′ 28:′ 20:)

Index

Template:′
view
edit
history
purge

Citation Style 1
Citation Style 2
COinS
Knowledge (XXG):COinS
prime symbol
italic
mvar
{{′}}
prime
ascender
{{'}}
apostrophe
HTML entities
mvar
mvar




TeX
Italics correction/calc
pprime
ppprime
documentation

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.