אָמַר רַבִּי חֲנִינָא בַּר פָּפָּא, דָּרֵשׁ רַבִּי שֵׁילָא אִישׁ כְּפַר תְּמַרְתָּא: כּל הַשִּׁירוֹת כּוּלָּן נִכְתָּבוֹת אָרִיחַ עַל גַּבֵּי לְבֵינָהRabbi Chanina (...) says all songs are written a small brick (writing) above a brick (blank space), and a brick above a small brick.
The Talmud here is referring to the classic brick-and-mortar layout which is featured in all Torah Scrolls throughout time - 30 lines beggining with Az Yashir ending at Betoch Hayam. The layout is easily attainable up to the last two lines, which are much longer and therefore present a problem for the scribe - how should they be written?
Looking at historical and more recent scrolls, one can find three completely different arrangements of the last two lines, and the underlying discussion is if the two last lines are at all part of the Shirat Hayam. Unlike the other lines, the last two are not written in poetic language, and seem to revert back to the narrative preceding the Shirat Hayam - perhaps an indication that this section is different from the rest.
The first Mesora we have relies on this understanding and it has the last two lines written in regular prose, without any special layout or spacing. This tradition was popular in earlier times specially in Ashkenaz and proponents of this opinion bring a proof from our prayers in Shacharit, which repeats Hashem Yimloch LeOlam Vaed in the 27th line. This repetition indicates the ending of the song, similar to Psalm 150 which has the last pasuk repeated in morning prayers כל הנשמה תהלל יה הללו־יה, indicating the end of the psalms of praise. In any event, this structure is straightforward and easy to write - see below some examples:
The Yemenite Torah scrolls have this layout too, and that's always a reliable indication of how ancient and well established this Mesora was in earlier times.
We now turn to the third layout, mentioned by Rabbi Menachem Meiri in his scribal work Keriat Sefer. The Meiri brings that Rabbi Meir Halevy Aboulafia (source here) he had in his possesion a booklet that was allegedly a reliable copy of the Rambam's text but Rabbi Aboulafia was unconfortable about the featured layout of the last two lines of Shirat HaYam found there, which looked like this:
Rabbi Aboulafia (known as the "Rama") held that this layout cannot be correct because in all preceding 3 stanza lines lines of the Shira, the first and last stanzas only have only one word, and in this layout there are three (את מי הים) in the beggining and two words in the end (בתוך הים). He therefore used a different but similar layout when writing his own two Torahs, in this way:
His influential scribal work Masoret Seyag LaTorah championed this layout and discussed it in detail, and being very well respected by Sephardic and Ashkenazi communities alike, Rabbi Aboulafia's layout quickly became the dominant layout in the Jewish world, even though today there are many questions surrounding this custom.
Here are some examples of scroll utilizing the Rama's layout:
13th century Sephardic scroll sold by Sotheby's:
Another 13th century Sephardic scroll, sold by Sotheby's for 250,000usd, and in the item's description it is noted that the scribe followed Rabbi Aboulafia's layout:
The Sefer Torah of another rishon, the Rabbeinu Nissim of Girona (Ran) has survived (although recent scholarship challenges this attribution - see here for a detailed analysis) and we can see this layout there too - an indication that in Sepharadic lands this layout was already widespread at this time. It's interesting to note that Rabbeinu Nissim actually tweaked the layout just a little - the very last word of the Shira - הים - is not written all the way in the end of the page, but indented a little before. Professor Penkower (here, page 25) explains that this was done in the context of creating a Parasha Petucha, but that's beyond the scope of our discussion. See here a pic I took years back when visiting the National Library of the Hebrew University, and look closely at the very last word - it's written before the end of the line:
Coming back to the second layout, we should revisit the Rambam's opinion. As we have seen, Rabbi Aboulafia's booklet was attributed to the Rambam and it allegedly featured the last line divided in three, but this booklet seems to be problematic at least in this very specific instance.
Scholars today agree that the Rambam used the second layout in the Mishne Torah and not the Rama's, as he based his text on the famous Aleppo Codex. While the Shirat Hayam part of the Aleppo Codex dissapeared in 1948, research has shown conclusively that the codex had the same layout as the other ancient scrolls we have today (Leningrad, Bologna) and therefore it's no surprise that the Yemenite tradition follows that same layout.
However when you look at our versions of the Mishne Torah, you don't see the second layout - you see the Meiri's layout. See below:
Rabbi Menachem di Lonzano wrote in his Or Torah: Don't heed to the layout found in (other) editions of the Rambam because they are mistaken and are not the layout written by the Rambam - the printers made the layout from their own heart.*In this edition we have printed the correct layout as seen in Or Torah (the publishers)
Clearly Rabbi di Lonzano, an influential Masora expert of the 16th century, was sure that the Rambam had the Ashkenazi/Sephardi (Aboulafia) layout, but this is most certainly incorrect as we mentioned above. And by the same token, the printers' correction of the layout was a mistake too, in effect causing a censhorship of the original design used by the Rambam - similar to the censorship of Shirat Haazinu discussed in my previous post.
"The fact that the present scroll presents the Maimonidean division of the Song at the Sea and the Abulafian version of the Song of Moses is a clear indication that it was written in Spain. In Sephardic Torah-scrolls written after the expulsion in the lands of the Sephardic diaspora, both songs are always according to Meir ha-Levi Abul'afia, while only the Yemenites follow Maimonides' order in both songs."