2
* =========================================================================
3
* This file is part of the JLaTeXMath Library - http://forge.scilab.org/jlatexmath
5
* Copyright (C) 2009 DENIZET Calixte
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or (at
10
* your option) any later version.
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
17
* A copy of the GNU General Public License can be found in the file
18
* LICENSE.txt provided with the source distribution of this program (see
19
* the META-INF directory in the source jar). This license can also be
20
* found on the GNU website at http://www.gnu.org/licenses/gpl.html.
22
* If you did not receive a copy of the GNU General Public License along
23
* with this program, contact the lead developer, or write to the Free
24
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
29
package org.scilab.forge.jlatexmath;
32
* An atom representing vdots.
34
public class VdotsAtom extends Atom {
39
public Box createBox(TeXEnvironment env) {
40
Box dot = new TeXFormula("\\ldotp").root.createBox(env);
41
VerticalBox vb = new VerticalBox(dot, 0, TeXConstants.ALIGN_BOTTOM);
42
Box b = new SpaceAtom(TeXConstants.UNIT_MU, 0, 4, 0).createBox(env);
47
float d = vb.getDepth();
48
float h = vb.getHeight();