In the first parasha there is one letter: the closed mem of "miyamim," upon it are three zayin-marks. In the second parasha there are five letters and all of them are heh, and upon each one are four zayin-marks, and these are they: the heh of "u-netanah lach," and the hehs of "hikshah Pharoah": the first heh and the last heh of "hikshah," and the heh of "va-yaharog," and the heh of "yadchah." In the third parasha of "Shema" there are five letters: the kof of "u-vekumecha" has three zayin-marks, and the kof of "u-keshartam" has three zayin-marks, and the tet-tet-peh of "totafot," each letter of them has four zayin-marks. In the fourth parasha there are five letters: the peh of "ve-asafta" has three zayin-marks, the tav of "ve-asafta" has one zayin-mark, and the tet-tet-peh of "totafot" has four zayin-marks for each of the three of them. And all the tagged letters are sixteen. And if he did not tag them—he did not invalidate them. And this is the tradition of the Rambam. However, in the Shimusha Rabba, and the Tur brought it, it is stated, and this is its wording: All the alphabet of the letters of the tags you find in the tefillin, and these are they: chet-tzadi, vav-samech, shin-yod, lamed-mem-ayin-tav in the parasha of "Kadesh." Beit-peh-resh, heh-zayin-mem, aleph-kaf, dalet-kof-chet, kaf-heh, tet-tet in the parasha of "Ve-hayah Ki Yeviacha." Shaatnez Getz in the parashiot of "Shema" and "Ve-hayah Im Shamoa." And this is its explanation: chet-tzadi, the chet of "chametz" has one tag, the tzadi has five tags. Vav-samech of "ha-Yevusi" have three tags each. (And he should be careful with the tags of the vav to make them very thin, and likewise upon the yods so that he does not ruin the form of the letters.) The shin of "asher" has two tags. The yod of "li" has three tags. Lamed-mem-ayin of "lema'an" have four tags each. The tav of "Torat" has three tags (it requires investigation which tav). The beit of "yeviacha," peh-resh of "peter" have three-three-three tags. Heh-zayin-mem of "ha-zecharim" have three tags each. Aleph-kaf of "yishalcha" have four tags each. The dalet of "yad," the kof of "hikshah," the chet of "le-shallechenu," the kaf-heh of "yadchah" have three tags each. Tet-tet of "le-totafot" have five tags each. Shaatnez Getz, the shin-ayin of "Shema," the tet-tet of "le-totafot," the nun of "nafshecha," the zayin-zayin of "mezuzot," the gimmel of "deganecha," the tzadi of "ha-aretz," have three tags each. Thus far its words. And the Tur wrote that he should not have mentioned shaatnez getz, see there. And in truth he mentioned them only to complete the alphabet.
בפרשה ראשונה יש אות אחת: מ"ם סתומה של "מימים", עליה" שלוש זייני"ן. פרשה שנייה חמש אותיות וכולן ה"א, ועל כל אחד ארבע זייני"ן, ואלו הן: ה"א של "ונתנה לך", וההי"ן של "הקשה פרעה": ה"א ראשונה וה"א אחרונה של "הקשה", וה"א של "ויהרג", וה"א של "ידכה". פרשה שלישית של "שמע" יש בה חמש אותיות: קו"ף של "ובקומיך" שלוש זייני"ן, וקו"ף של "וקשרתם" שלוש זייני"ן, וטט"פ של טוטפות, כל אות מהם ארבע זייני"ן. פרשה רביעית חמש אותיות: פ"א של "ואספת" שלוש זייני"ן, תי"ו של "ואספת" זיי"ן אחד, וטט"פ של "טוטפות" ארבע זייני"ן כל אחד משלושתן. וכל אותיות המתוייגות הם ט"ז. ואם לא תייגן – לא פסלן. וזהו קבלת הרמב"ם. אמנם בשימושא רבה והביאו הטור איתא, וזה לשונו: כל אלפא ביתא דאתוותא דתגי אתה מוצא בתפילין, ואלו הן: ח"ץ, ו"ס, ש"י, למע"ת בפרשה "קדש". בפ"ר, הז"ם, א"ך, דק"ח, כ"ה, ט"ט בפרשה "והיה כי יביאך". שעטנ"ז ג"ץ בפרשיות "שמע", "והיה אם שמע". והכי פירושו: ח"ץ חי"ת של "חמץ" חד תגי, צד"י חמש תגי. וי"ו סמ"ך ד"היבוסי" שלוש-שלוש תגי. (ויזהר בתגין של וי"ו לעשותן דקים מאוד, וכן על היודי"ן שלא תקלקל צורת האותיות.) שי"ן ד"אשר" שתי תגי. יו"ד של "לי" שלוש תגי. למ"ע ד"למען" ארבע-ארבע תגי. תי"ו ד"תורת" שלוש תגי (צריך עיון איזה תי"ו). בי"ת ד"יביאך", פ"ר ד"פטר" שלוש-שלוש-שלוש תגי. הז"ם ד"הזכרים" שלוש-שלוש תגי. א"ך ד"ישאלך" ארבע-ארבע תגי. דלי"ת ד"יד", קו"ף ד"הקשה", חי"ת ד"לשלחנו", כ"ה ד"ידכה" שלוש-שלוש תגי. ט"ט ד"לטוטפות" חמש-חמש תגי. שעטנ"ז ג"ץ, ש"ע ד"שמע", ט"ט ד"לטוטפות", נו"ן ד"נפשך", ז"ז ד"מזוזת", גימ"ל ד"דגנך", צד"י ד"הארץ, שלוש-שלוש תגי. עד כאן לשונו. וכתב הטור דלא היה לו להזכיר שענט"ז ג"ץ, עיין שם. ובאמת הזכירם רק להשלמת האל"ף בי"ת.