private int paragraphHandler(char[] chars, int i) {

        String plainWord = "";
        i++;
        while (chars[i] != '}' && i < chars.length) {
            plainWord = plainWord + chars[i];
            i++;
        }
        if (plainWord == " ")
            basicText.append("\\par ");
        else {
            basicText.append("\\par ");
            basicText.append(plainWord);
        }

        return i;
    }