codespell -w -i 3 -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,wit,nd,numer src/mathed/
Angus:
-- make math lables editable
+- make math labels editable
CellInfo();
/// multicolumn flag
Multicolumn multi;
- /// special multi colums alignment
+ /// special multi columns alignment
docstring align;
};
};
public:
- /// sets nrows and ncols to 1, vertical alingment to 'c'
+ /// sets nrows and ncols to 1, vertical alignment to 'c'
explicit InsetMathGrid(Buffer * buf);
/// Note: columns first!
InsetMathGrid(Buffer * buf, col_type m, row_type n);
pi.pain.text(x, y, from_ascii(":"), labelFont);
x += strw2;
- // draw paramter
+ // draw parameter
cell(i).draw(pi, x, y);
// next line
void write(std::ostream & os) const;
///
void write(WriteStream & os) const;
- /// Output LaTeX code, but assume that the macro is not definied yet
+ /// Output LaTeX code, but assume that the macro is not defined yet
/// if overwriteRedefinition is true
int write(WriteStream & os, bool overwriteRedefinition) const;
/// Nothing happens. This is simply to suppress the default output.
case LFUN_INSET_INSERT: {
// Don't test createMathInset_fromDialogStr(), since
// getStatus is not called with a valid reference and the
- // dialog would not be applyable.
+ // dialog would not be applicable.
string const name = cmd.getArg(0);
flag.setEnabled(name == "ref" || name == "mathspace");
break;
MathData const & c1 = inset->cell(s1.idx());
if (s1.idx() == s2.idx() && &c1 == this) {
- // selection indide cell
+ // selection inside cell
Dimension const dim = bv->coordCache().getArrays().dim(&c1);
int const beg = c1.pos2x(bv, s1.pos());
int const end = c1.pos2x(bv, s2.pos());
//
-// split scripts into seperate super- and subscript insets. sub goes in
+// split scripts into separate super- and subscript insets. sub goes in
// front of super...
//
if (!testIntegral(*it))
continue;
- // core ist part from behind the scripts to the 'd'
+ // core is part from behind the scripts to the 'd'
auto p = make_unique<InsetMathExInt>(buf, from_ascii("int"));
// handle scripts if available
/*!
* Add the row \p cellrow to \p grid.
- * \returns wether the row could be added. Adding a row can fail for
+ * \returns whether the row could be added. Adding a row can fail for
* environments like "equation" that have a fixed number of rows.
*/
bool addRow(InsetMathGrid & grid, InsetMathGrid::row_type & cellrow,
/*!
* Add the column \p cellcol to \p grid.
- * \returns wether the column could be added. Adding a column can fail for
+ * \returns whether the column could be added. Adding a column can fail for
* environments like "eqnarray" that have a fixed number of columns.
*/
bool addCol(InsetMathGrid & grid, InsetMathGrid::col_type & cellcol)
{
if (!t.cs().empty()) {
docstring const & cs = t.cs();
- // FIXME: For some strange reason, the stream operator instanciate
+ // FIXME: For some strange reason, the stream operator instantiate
// a new Token before outputting the contents of t.cs().
// Because of this the line
// os << '\\' << cs;
TEXTMODE = 0x01,
/// Parse verbatim.
VERBATIM = 0x02,
- /// Quiet operation (no warnigs or errors).
+ /// Quiet operation (no warnings or errors).
QUIET = 0x04,
/// Wrap unicode symbols in \text{}.
USETEXT = 0x08,
MathClass mclass;
/// the spacing around the element
int before, after;
- /// count wether the current mathdata is nested in macro(s)
+ /// count whether the current mathdata is nested in macro(s)
int macro_nesting;
/// Marker type
InsetMath::marker_type marker;
set value 0
set ascent 0
set descent 0
- set widht 0
+ set width 0
set f [open $filebase.tex w 0600]
puts $f "\\nonstopmode"