\documentclass[11pt]{book}
\usepackage[english]{babel}
\usepackage{ragged2e}
\usepackage{colortbl}
\usepackage{fancyhdr}
\usepackage{xcolor}
\usepackage[normalem]{ulem}
\usepackage{marginfix}
\usepackage[a4paper, twoside, top=25mm, bottom=35mm, outer=40mm, inner=20mm, heightrounded, marginparwidth=25mm, marginparsep=5mm]{geometry}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{hyperref}
\usepackage{ifxetex}
\usepackage{longtable}
\usepackage{tabu}
\usepackage[maxfloats=64]{morefloats}
\usepackage{listings}
\lstset{
basicstyle=\small\ttfamily,columns=flexible,breaklines=true}
\pagestyle{fancy}
\fancyhf{}
\def\theendnote{\@alph\c@endnote}
\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}
\hyperbaseurl{}
\graphicspath{{//data/}}
%\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}}
\thispagestyle{empty}

\catcode`|=4
% set left and right margin
\newenvironment{changemargin}[2]{%
\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
\setlength{\listparindent}{\parindent}%
\setlength{\itemindent}{\parindent}%
\setlength{\parsep}{\parskip}%
}%
\item[]}{\end{list}}
\def\signed #1{{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em
\hbox{}\nobreak\hfil#1%
\parfillskip=0pt \finalhyphendemerits=0 \endgraf}}
\newsavebox\mybox
\newenvironment{aquote}[1]
{\savebox\mybox{#1}\begin{quote}}
{\signed{\usebox\mybox}\end{quote}}
% Styles
\newcommand{\TeiName}[1]{\textcolor{green}{#1}}
\newcommand{\TeiTitleXI}[1]{\textit{#1}}
\newcommand{\TeiNoteIV}[1]{{\small #1}}
\newcommand{\TeiTitleVII}[1]{\textit{#1}}
\newcommand{\TeiTitleV}[1]{\textit{#1}}
\newcommand{\TeiPbI}[1]{\begin{changemargin}{0mm}{5px}{\fontsize{16px}{1.2em}\selectfont #1}\end{changemargin}
}
\newcommand{\TeiNoteIII}[1]{\begin{changemargin}{10px}{10px}{\small #1}\end{changemargin}
}
\newcommand{\TeiPersName}[1]{\textbf{#1}}
\newcommand{\TeiTitleIX}[1]{\textit{#1}}
\newcommand{\TeiRs}[1]{\textcolor{green}{#1}}

\begin{document}
%\tableofcontents
\mainmatter
\fancyhead[EL,OR]{\thepage}
\fancyhead[ER]{\leftmark}
\fancyhead[OL]{\leftmark}

\def\volume{Berkeley 08

\TeiPersName{Dādēn; Māhwindād, son of Zōrdār}
\TeiPersName{Frāy}
—
Spandarmad 49 PYE
701 CE

}




dʾṭyn' MN ZK Y ʿL
bwn' ZNH BYRḤ
spndrmṭ Y ŠNṬ
40–3-3–3 lwčyk
lʾd Ḥg G+3
ʿL mʾhwndʾṭ Y
zʾwldʾl YḤBWNṭ' čk'
plʾd ḤṬYMWNṭ

Dādēn az ān ī ō
bun ēn māh
Spandarmad ī sāl
49 rōzīg
rāy gandum 3 grīw
ō Māh-vindād
Zōrdār dād čak
Frāy āwišt

Dādēn, de ce qui (est) dans
le patrimoine, ce mois de
de Spandarmad de l’an
49, comme ration
a remis trois grīw de blé
à Māh-vindād fils de
Zōrdār. Le document,
Frāy l’a scellé.


\end{document}