From: Ian Jackson Date: Tue, 6 Mar 2012 14:33:33 +0000 (+0000) Subject: Rename \merge to \mergeof so we can have \merge X-Git-Tag: f0.2~144 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topbloke-formulae.git;a=commitdiff_plain;h=60aa55baf8cf0fcf284775fb5ddfc6135d253ad4;ds=sidebyside Rename \merge to \mergeof so we can have \merge --- diff --git a/article.tex b/article.tex index 20ab361..0e3732d 100644 --- a/article.tex +++ b/article.tex @@ -55,7 +55,8 @@ \newcommand{\pancsof}[2]{\pancs ( #1 , #2 ) } \newcommand{\pendsof}[2]{\pends ( #1 , #2 ) } -\newcommand{\merge}[4]{{\mathcal M}(#1,#2,#3,#4)} +\newcommand{\merge}{{\mathcal M}} +\newcommand{\mergeof}[4]{\merge(#1,#2,#3,#4)} %\newcommand{\merge}[4]{{#2 {{\frac{ #1 }{ #3 } #4}}}} \newcommand{\patch}{{\mathcal P}} @@ -154,7 +155,7 @@ patch is applied to a non-Topbloke branch and then bubbles back to the Topbloke patch itself, we hope that git's merge algorithm will DTRT or that the user will no longer care about the Topbloke patch. -\item[ $\displaystyle \merge{C}{L}{M}{R} $ ] +\item[ $\displaystyle \mergeof{C}{L}{M}{R} $ ] The contents of a git merge result: $\displaystyle D \isin C \equiv @@ -263,7 +264,7 @@ XXX proof TBD. If we are constructing $C$, given \gathbegin - \merge{C}{L}{M}{R} + \mergeof{C}{L}{M}{R} \gathnext L \le C \gathnext @@ -399,7 +400,7 @@ Used for removing a branch dependency. \gathnext \patchof{C} = \patchof{L} \gathnext - \merge{C}{L}{R^+}{R^-} + \mergeof{C}{L}{R^+}{R^-} \end{gather} \subsection{Conditions} @@ -450,7 +451,7 @@ Merge commits $L$ and $R$ using merge base $M$ ($M < L, M < R$): \gathnext \patchof{C} = \patchof{L} \gathnext - \merge{C}{L}{M}{R} + \mergeof{C}{L}{M}{R} \end{gather} \subsection{Conditions}