X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=doc%2Fmiscref.tex;fp=doc%2Fmiscref.tex;h=44b0818d9e8e639163fea515bbf8953b4b6d46a3;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=0000000000000000000000000000000000000000;hpb=de22e45179cb3bafa490294d31d47f361047a30a;p=ion3.git diff --git a/doc/miscref.tex b/doc/miscref.tex new file mode 100644 index 0000000..44b0818 --- /dev/null +++ b/doc/miscref.tex @@ -0,0 +1,44 @@ + +\subsection{Size policies} +\label{sec:sizepolicies} + +Some functions accept a \var{sizepolicy} parameter. The possible +values are: + +\begin{flushleft} +\codestr{default}, +\codestr{full}, +\codestr{full\_bounds}, +\codestr{free}, +\codestr{free\_glue}, +\codestr{northwest}, +\codestr{north}, +\codestr{northeast}, +\codestr{west}, +\codestr{center}, +\codestr{east}, +\codestr{southwest}, +\codestr{south}, +\codestr{southeast}, +\codestr{stretch\_top}, +\codestr{stretch\_bottom}, +\codestr{stretch\_left}, +\codestr{stretch\_right}, +\codestr{free\_glue\_northwest}, +\codestr{free\_glue\_north}, +\codestr{free\_glue\_northeast}, +\codestr{free\_glue\_west}, +\codestr{free\_glue\_center}, +\codestr{free\_glue\_east}, +\codestr{free\_glue\_southwest}, +\codestr{free\_glue\_south}, and +\codestr{free\_glue\_southeast}. +\end{flushleft} + +The ``free'' policies allow the managed +object to be moved around, whereas the other versions do not. +The ``glue'' policies glue the object to some border, while allowing +it to be moved away from it by user action, but not automatically. +The ``stretch'' policies stretch the object along the given border, +while the coordinate-based policies simply place the object along +that border.