Devarim6:4

שְׁמַע יִשְׂרָאֵל יְהוָה אֱלֹהֵינוּ יְהוָה אֶחָד׃

Hear, Israel: the Eternal is our Almighty, the Eternal is One.

Devarim 6:4

שְׁמַע יִשְׂרָאֵל יְהוָה

Devarim / Deuteronomy 6:4 · Remez

Devarim 6:4

שְׁמַע יִשְׂרָאֵל יְהוָה אֱלֹהֵינוּ יְהוָה אֶחָד׃

Hear, Israel: the Eternal is our Almighty, the Eternal is One.

Remez רֶמֶז

Large letters

In a Torah scroll the last letter of the first word "hear" (שְׁמַע) and the last letter of the word "One" (אֶחָד) are written larger than the others. The sages read a whole teaching in these two letters.

Kitzur Baal HaTurim: the large ayin (ע) is seventy: Israel has seventy names, and the Torah has seventy faces. The large dalet (ד) is four: proclaim Him King in heaven, on earth and in the four directions, and do not confuse ד with ר ("other"). Together ע and ד spell "witness" (עֵד). "Hear" (שְׁמַע) is 410 in gematria, like the years of the First Temple. Midrash Aggadah: the dalet of "One" is drawn out in the voice and written with a jutting corner, so it is not read as ר.

How Kitzur Ba'al HaTurim and Midrash Aggadah explain it

Kitzur Ba'al HaTurim Hear, Israel

The ayin (ע) of "hear" (שְׁמַע) is large: Israel has seventy names, and He gave them the Torah, which has seventy names and is expounded in seventy faces, to set them apart from the seventy idolatrous nations. And there is a dividing mark between "the Eternal" and "One", to say: although you saw several images, and although with one I come with the attribute of justice and with another with the attribute of mercy, still all is one. In "One" (אֶחָד) the dalet (ד) is large, to tell you: proclaim Him King in heaven and on earth and in the four directions of the world, and also so as not to err and read resh (ר). And so the resh of "You shall not bow to another (אַחֵר) god" is large, so as not to err and read dalet. Another explanation: ayin and dalet are large, which makes "witness" (עֵד), and this is "You are My witnesses, says the Eternal", and the Holy One, blessed is He, is also a witness for Israel, as it is written: "And I will be a swift witness". "Hear" (שְׁמַע) is 410 in gematria: the First Temple stood four hundred and ten years. The verse begins with shin (ש) and ends with dalet (ד), which makes "demon" (שֵׁד): demons flee from one who reads the Shema with intent.

Midrash Aggadah The Eternal is One

And one must draw out the dalet, to proclaim Him King above and below and in the four directions of the world, only without swallowing the chet (ח). And the dalet of "One" must jut outward, that is, its corner, so that it does not look like a resh.

Takeaway

Gematria: ש 300 + מ 40 + ע 70 = 410. By the sages' reckoning, the First Temple stood 410 years.
Read ד as ר and you get אַחֵר ("other"): "the Eternal is other" instead of "the Eternal is One". That is why the dalet is written large and with a corner.
"You are My witnesses, says the Eternal" (Yeshayahu / Isaiah 43:10). "And I will be a swift witness" (Malachi 3:5).
The value of ד is 4: the four directions. Six directions with heaven and earth make up the whole space of the world.