Se’if 1א׳
הַבָּא לִמְדֹּד אַלְפַּיִם אַמָּה שֶׁל תְּחוּם הָעִיר, אִם הָיְתָה הָעִיר אֲרִיכָא וּקְטִינָא, אוֹ שֶׁהָיְתָה מְרֻבַּעַת לֹא לְרִבּוּעַ הָעוֹלָם, הוֹאִיל וְיֵשׁ לָהּ אַרְבַּע זָוִיּוֹת שָׁווֹת, מַנִּיחִים אוֹתָהּ כַּמּוּת שֶׁהִיא, וּמוֹדְדִים לָהּ אַלְפַּיִם אַמָּה לְכָל רוּחַ מֵאַרְבַּע רוּחוֹתֶיהָ.
When one comes to measure the 2000 amot teḥum of a city, if the city was long and narrow, or if it was square but not aligned with the square of the earth [i.e. the cardinal directions], but it has four square corners, we leave the size of the city as it is and measure 2000 amot in every direction from its four sides.
Se’if 2ב׳
הָיְתָה עֲגֻלָּה, עוֹשִׂין לָהּ זָוִיּוֹת וְרוֹאִין אוֹתָהּ כְּאִלּוּ הִיא בְּתוֹךְ הַמְּרֻבָּע, וּמוֹדְדִין חוּץ מִצַּלְעוֹת אוֹתוֹ מְרֻבָּע אַלְפַּיִם אַמָּה לְכָל רוּחַ שֶׁנִּמְצָא מִשְׂתַּכֵּר הַזָּוִיּוֹת; וְכֵן אִם הָיְתָה הָעִיר מְשֻׁלֶּשֶׁת אוֹ שֶׁיֵּשׁ לָהּ צְלָעוֹת רַבּוֹת, מְרַבְּעִים אוֹתָהּ וְאַחַר כָּךְ מוֹצִיאִין חוּץ לַמְּרֻבָּע אַלְפַּיִם אַמָּה לְכָל רוּחַ.
If the city was round, we make corners for it and view it as if it was inscribed in a rectangle, and measure 2000 amot in every direction from the sides of the rectangle. It is thus found that the corners [of the circumscribed rectangle] increase the size of the city. So too, if the city was triangular or if it had many sides, we circumscribe a rectangle around it and afterwards extend 2000 amot in every direction from outside the rectangle.
Se’if 3ג׳
כְּשֶׁהוּא מְרַבְּעָהּ, מְרַבְּעָהּ בְּרִבּוּעַ הָעוֹלָם, כְּדֵי שֶׁתְּהֵא כָּל רוּחַ מִמֶּנּוּ מְשׁוּכָה כְּנֶגֶד רוּחַ מֵרוּחוֹת הָעוֹלָם וּמְכֻוֶּנֶת כְּנֶגְדָּהּ.
When one circumscribes a rectangle [around a city], one circumscribes it according to the cardinal directions, so that each of its sides extends according to one of the cardinal directions and is parallel to it.
Se’if 4ד׳
הָיְתָה רְחָבָה מִצַּד אֶחָד וּקְצָרָה מִצַּד אֶחָד, רוֹאִין אוֹתָהּ כְּאִלּוּ כֻּלָּהּ רְחָבָה. הָיְתָה עֲשׂוּיָה כְּמִין גַּם אוֹ כְּקֶשֶׁת, אִם יֵשׁ בֵּין שְׁנֵי רָאשֶׁיהָ פָּחוֹת מֵאַרְבַּע אֲלָפִים אַמָּה מוֹדְדִין לָהּ מִן הַיָּתֵר וְרוֹאִין אֶת כָּל הָרֹחַב שֶׁבֵּין הַיָּתֵר וְהַקֶּשֶׁת כְּאִלּוּ הוּא מָלֵא בָּתִּים; וְאִם הָיוּ בֵּין שְׁנֵי רָאשֶׁיהָ ד' אֲלָפִים, אֵין מוֹדְדִין לָהּ אֶלָּא מִן הַקֶּשֶׁת. הַגָּה: וְיֵשׁ אוֹמְרִים מִן הַמָּקוֹם שֶׁנִּתְקַצֵּר שָׁם הַקֶּשֶׁת שֶׁאֵין בּוֹ אַרְבַּע אֲלָפִים אַמָּה. וְכָל זֶה שֶׁיֵּשׁ בֵּין הַקֶּשֶׁת וְהַיָּתֵר יוֹתֵר מֵאַלְפַּיִם, אֲבָל (אִם) אֵין בֵּינֵיהֶם אַלְפַּיִם מוֹדְדִין בְּכָל עִנְיָן מִן הַיָּתֵר, וְכֵן נִרְאֶה לְהָקֵל. (הַגָּהוֹת מַיְמוֹנִי פֶּרֶק כ"ה מֵהִלְכוֹת שַׁבָּת וְהָרֹא"שׁ וְהַטּוּר).
If a city was wide on one end and narrow on another end, we view it as if it was entirely the maximal width. If it was shaped like the letter gamma (Γ) or like an archer's bow, if there were less than 4000 amot between the tips of the arc, we measure the teḥum from the chord of the arc and view it as if all the space between the chord and arc were full of houses. If there were [at least] 4000 amot between the tips of the arc, we measure the teḥum only from the arc itself. Rema: Some say that [in this case where the tips of the arc are at least 4000 amot apart] we measure the teḥum from the place at which the chord would be less than 4000 amot long. This is only when there is at least 2000 amot between the apex of the arc and the chord, however if there is less than 2000 amot, we measure in any case from the chord, and it is acceptable to be lenient (Hagahot Maimoniot chapter 25 from the laws of Shabbat, and the Rosh and the Tur).
Se’if 5ה׳
כָּל בֵּית דִּירָה שֶׁהוּא יוֹצֵא מֵהָעִיר, אִם הָיָה בֵּינוֹ וּבֵין הָעִיר שִׁבְעִים אַמָּה וּשְׁנֵי שְׁלִישִׁים שֶׁהוּא צֶלַע בֵּית סְאָתַיִם הַמְּרֻבָּעוֹת אוֹ פָּחוֹת מִזֶּה, הֲרֵי זֶה מִצְטָרֵף לָעִיר וְנֶחְשָׁב מִמֶּנָּה וּכְשֶׁמּוֹדְדִין לָהּ אַלְפַּיִם אַמָּה לְכָל רוּחַ מוֹדְדִין חוּץ מִבֵּית דִּירָה זֶה. הַגָּה: וְיֵשׁ אוֹמְרִים שֶׁאֵין מַתְחִילִין לִמְדֹּד מִיָּד מִן הַבַּיִת אֶלָּא מוֹתְחִין חוּט עַל פְּנֵי רֹחַב הָעִיר נֶגֶד הַבַּיִת וּמַרְחִיקִין מִשָּׁם שִׁבְעִים אַמָּה וְשִׁירַיִם וּמַתְחִילִין, וְכֵן בְּכָל מָקוֹם שֶׁמּוֹדְדִין (טוּר). וְכֵן נִרְאֶה לִי לְהָקֵל.
Every apartment that is located outside the city, if there is a distance of 70 and two-thirds cubits between it and the city, which is equivalent to the diagonal of a side of 50 square cubits (Beit sasaim) or less, then it is considered part of the city, and when measuring the city's boundaries, it is included, except for this apartment. Rema: Some say that one should not start measuring immediately from the apartment, but rather stretch a string across the width of the city opposite the apartment and move it seventy cubits and two-thirds away from there, and start measuring from that point. This is done in every place where measuring is done (Tur). This is my opinion to be lenient.