1 00:00:06,799 --> 00:00:08,148 Hi there! 2 00:00:08,148 --> 00:00:12,350 In this video we’re going to learn to type in the algebraic formulae in InDesign, so 3 00:00:12,350 --> 00:00:14,240 let’s get started. 4 00:00:14,240 --> 00:00:20,170 I already have a few formulae typed in here, but the squares and cubes, need to be superscripted, 5 00:00:20,170 --> 00:00:24,710 so we’re going to do that using styles, and since you’ve already done styles, you 6 00:00:24,710 --> 00:00:27,310 should not face difficulty following me. 7 00:00:27,310 --> 00:00:32,150 Let’s ensure that nothing is selected, and go to character styles, and click the small 8 00:00:32,150 --> 00:00:36,280 plus button at the bottom of the panel to create a new style. 9 00:00:36,280 --> 00:00:41,060 Double-click the new style, and rename it ‘superscript’, and then move on to ‘basic 10 00:00:41,060 --> 00:00:42,920 character formats.’ 11 00:00:42,920 --> 00:00:46,829 In the position dropdown, click either the ‘superscript’ option, or the ‘opentype 12 00:00:46,829 --> 00:00:50,899 superscript’ option, and hit okay. 13 00:00:50,899 --> 00:00:55,239 Now switch to ‘paragraph styles’ panel, and click the small plus button at the bottom 14 00:00:55,239 --> 00:00:58,010 of the panel, to create a new style. 15 00:00:58,010 --> 00:01:01,240 Double-click the new style, and rename it, should you want to. 16 00:01:01,240 --> 00:01:04,030 I’d leave it, as it is. 17 00:01:04,030 --> 00:01:08,820 Click the ‘GREP style’ option on the left, and then click the ‘new grep style.’ 18 00:01:08,820 --> 00:01:13,660 In the ‘apply style’ dropdown menu, select the only character style we made, which is 19 00:01:13,660 --> 00:01:18,520 ‘superscript’, and then click the ‘to text’ option, and this is a tricky bit cuz 20 00:01:18,520 --> 00:01:23,230 you need to type in a few characters, so pay close attention. 21 00:01:23,230 --> 00:01:26,110 Type in without any spaces these symbols: (?<=[+()a-z-])\d{1,2}(?=[\s{1}|)]) 22 00:01:26,110 --> 00:01:33,390 That’s left parenthesis, and then question mark, then less than sign, then equal sign, 23 00:01:33,390 --> 00:01:41,750 then open bracket, then plus, then open parenthesis, and then close parenthesis, then the letter 24 00:01:41,750 --> 00:01:50,230 a in lowercase, then a hyphen, then the letter z in lowercase, then another hyphen, then 25 00:01:50,230 --> 00:01:57,720 closed bracket, then close parenthesis, then backslash, then the letter d in lowercase, 26 00:01:57,720 --> 00:02:07,570 then open brace, then 1, then a comma, and then 2, then close brace, then open parenthesis, 27 00:02:07,570 --> 00:02:15,890 then a question mark, then equal sign, then open bracket, then backslash, then the letter 28 00:02:15,890 --> 00:02:26,520 s in lowercase, then open brace, then 1, then close brace, then pipe, then close parenthesis, 29 00:02:26,520 --> 00:02:31,790 then closed bracket, and finally, another close parenthesis. 30 00:02:31,790 --> 00:02:35,320 You don’t have to remember that, that’s why I just copied and pasted here, because 31 00:02:35,320 --> 00:02:37,080 even I don’t remember that. 32 00:02:37,080 --> 00:02:40,420 So once you’ve fed the code in, hit okay. 33 00:02:40,420 --> 00:02:45,950 Next, select the text box, and click the paragraph style you created, and the numbers shall be superscripted. 34 00:02:48,260 --> 00:02:49,260 Alright guys! 35 00:02:49,260 --> 00:02:53,070 That was a short one, so I’m going to see you in the next one, in just a bit. 36 00:02:53,070 --> 00:02:53,570 Good bye!