1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) INRIA -
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17 xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
18 xmlns:db="http://docbook.org/ns/docbook" xml:lang="en" xml:id="justify">
20 <refname>justify</refname>
21 <refpurpose>aligns texts in columns to the left, center, or right</refpurpose>
25 <synopsis>Tj = justify(T, position)</synopsis>
28 <title>Arguments</title>
33 <para>a matrix of character strings.</para>
40 a matrix of character strings. The justified result.
49 <table cellspacing="0" cellpadding="0">
50 <tr><td><term>'l' or 'left'</term></td><td>: left justification</td></tr>
51 <tr><td><term>'c' or 'center'</term></td><td>: centering</td></tr>
52 <tr><td><term>'r' or 'right'</term></td><td>: right justification</td></tr>
60 <title>Description</title>
62 The <function>justify</function> function justifies the column of a
63 matrix of string according to the given <varname>position</varname>.
67 <title>Examples</title>
68 <programlisting role="example"><![CDATA[
69 t=['1234','x','adfdfgdfghfgj'
78 <refsection role="see also">
79 <title>See also</title>
80 <simplelist type="inline">
82 <link linkend="length">length</link>
85 <link linkend="part">part</link>