From 4b197c6c584a4c83686cd337d900f644c9bd101f Mon Sep 17 00:00:00 2001 From: jemmybutton Date: Mon, 7 Feb 2022 22:30:01 +0300 Subject: [PATCH] cleanup in docs --- byrne-latex.tex | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/byrne-latex.tex b/byrne-latex.tex index 70999d5..bbd12af 100644 --- a/byrne-latex.tex +++ b/byrne-latex.tex @@ -604,7 +604,7 @@ \subsubsection{byNamedCircle(CIRCLES\_LIST)}\label{byNamedCircle} \subsection{Arbitraty figures} -\subsubsection{byArbitraryFigureDefine.ArbitraryFigureName(figurePath, color, dashed, thick)}\label{byArbitraryFigureDefine} +\subsubsection{byArbitraryFigureDefine.ArbitraryFigureName(figurePath, col\-or, dashed, thick)}\label{byArbitraryFigureDefine} Defines an arbitrary figure (basically, any path). Returns nothing. @@ -618,7 +618,7 @@ \subsubsection{byArbitraryFigureDefine.ArbitraryFigureName(figurePath, color, da \texttt{thick}~— is figure line thick. \texttt{0} for regular line and \texttt{1} for thin line \ref{lineWidth}. -\subsubsection{byArbitraryFigure.ArbitraryFigureName(figurePath, color, dashed, thick)}\label{byArbitraryFigure} +\subsubsection{byArbitraryFigure.ArbitraryFigureName(figurePath, color, dash\-ed, thick)}\label{byArbitraryFigure} Defines an arbitrary figure. Returns nothing. @@ -740,7 +740,7 @@ \subsubsection{byAngleDefineExtended.AngleName(A, B, C, color, style)(OPTIONAL\_ \texttt{OPTIONAL\_COLORS\_LIST}~— a comma-separated list of optional color names. See \ref{AngleStyles} for details. -\subsubsection{byAngleExtended.AngleName(A, B, C, color, style)(OPTIONAL\_COLORS\_LIST)}\label{byAngleExtended} +\subsubsection{byAngleExtended.AngleName(A, B, C, color, style)(OPTION\-AL\_COLORS\_LIST)}\label{byAngleExtended} Defines and draws an angle based on three points. Returns a picture of the angle. @@ -968,7 +968,11 @@ \section{\LaTeX\ part reference} \subsection{General purpose} -\subsubsection{\textbackslash defineNewPicture[offspringPictureScaleFactor] [mainPictureScaleFactor] \{\METAPOST\ code\}}\label{defineNewPicture} +\sloppy + +\subsubsection{\textbackslash defineNewPicture [offspringPicture\-Sca\-leFactor] [mainPicture\-Sca\-le\-Factor] \{\METAPOST\ code\}}\label{defineNewPicture} + +\fussy This macro is used to describe a main diagram. @@ -994,8 +998,12 @@ \subsubsection{\textbackslash drawCurrentPicture} % \addToUndefineList +\sloppy + \subsubsection{\textbackslash defineFromCurrentPicture \{verticalAlignment\} \{PictureName\} \{\METAPOST\ code\}} +\fussy + This macro is used to describe a diagram, based on the main diagram. \texttt{verticalAlignment}~— vertical alignment declaration. \texttt{middle} to align the picture with the middle of the line, anything else for bottom alignment. @@ -1006,8 +1014,12 @@ \subsubsection{\textbackslash defineFromCurrentPicture \{verticalAlignment\} \{P Can be drawn using \texttt{\textbackslash PictureName}. -\subsubsection{\textbackslash drawFromCurrentPicture[verticalAlignment] [PictureName] \{\METAPOST\ code\}} +\sloppy +\subsubsection{\textbackslash drawFromCurrentPicture [verticalAlignment] [PictureName] \{\METAPOST\nolinebreak\ code\}} + + \fussy + This macro is used to describe and draw a diagram, based on the main diagram. \texttt{verticalAlignment}~— optional vertical alignment declaration. \texttt{middle} to align the picture with the middle of the line, anything else for bottom alignment. @@ -1134,7 +1146,7 @@ \subsubsection{\textbackslash drawAngleWithSides \{AngleName\}} Can be called later using \texttt{\textbackslash anglewithsidesAngleName}. -\subsubsection{\textbackslash drawPolygon[verticalAlignment][PolygonNewName]\{PolygonName\}} +\subsubsection{\textbackslash drawPolygon[verticalAlignment][PolygonNewName] \{Poly\-gon\-Na\-me\}} Draws a polygon. @@ -1214,7 +1226,7 @@ \subsubsection{\textbackslash drawPointL[verticalAlignment][LinesToOmit]\{PointN \texttt{PointName}~— name of the point to reference in the main diagram. - If a list of lines to omit is given, can be called later using \texttt{\textbackslash pointlPointNameMinusLinesToOmit}, otherwise~— \texttt{\textbackslash pointlPointName}. + If a list of lines to omit is given, can be called later using \texttt{\textbackslash pointl\-Point\-Name\-Minus\-Lines\-To\-Omit}, otherwise~— \texttt{\textbackslash pointlPointName}. \subsubsection{\textbackslash drawPoint[verticalAlignment][LinesToOmit]\{PointName\}} @@ -1222,7 +1234,7 @@ \subsubsection{\textbackslash drawPoint[verticalAlignment][LinesToOmit]\{PointNa Arguments are the same as in \texttt{drawPointL} \ref{drawPointL}. - If a list of lines to omit is given, can be called later using \texttt{\textbackslash pointPointNameMinusLinesToOmit}, otherwise~— \texttt{\textbackslash pointPointName}. + If a list of lines to omit is given, can be called later using \texttt{\textbackslash point\-Point\-Name\-Minus\-Lines\-To\-Omit}, otherwise~— \texttt{\textbackslash pointPointName}. %\drawMagnitude