From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: michael-franzese@gmx.com Newsgroups: gmane.emacs.help Subject: subscript and superscript taken from tex-mode.el Date: Tue, 12 Jan 2021 16:06:05 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15721"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 16:07:14 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzLGL-0003tR-Tu for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 16:07:13 +0100 Original-Received: from localhost ([::1]:56664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzLGK-00023b-TU for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 10:07:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzLFN-000236-HH for help-gnu-emacs@gnu.org; Tue, 12 Jan 2021 10:06:15 -0500 Original-Received: from mout-xforward.gmx.net ([82.165.159.14]:52799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzLFI-00089b-Ab for help-gnu-emacs@gnu.org; Tue, 12 Jan 2021 10:06:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610463965; bh=c3vt9NBD5ExybO3Y00q1VwK7u+tFDmu1SY7k9Kjmgwk=; h=X-UI-Sender-Class:From:To:Subject:Date; b=GW8OmiNyY+BrYEU7dTuEGQrlD1Zsfon8nXj7hE3Tfb4ofKV3PWbrRXcqUg1okx7cz BzveF3AV8LQi6zPvBUXigpo0hCEIhBxNGyXasNqT6RHZWQL+rVgGTNvFRQUuH8OH57 GLpTbaQZZf071b+jzDpIqLhEPWy3YTlvnw/f9+JU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [185.244.212.219] ([185.244.212.219]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Tue, 12 Jan 2021 16:06:05 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:D9sDoxBe5ZL+eY/yyiXBfj72+olE9rke/Mbl3ltjmYrQ6r9OLKsCP7x4YNu0jsmHw3JVV ASZ9GfIGE5xGwOactgyyJ1XxXYSZVuWZHRvpAlHJtQqs4PPLPoroVsunr8Qtl48FPX4dNl9kI9af iS1mUmFkuScMARuseOcCuPGOIPfhLW/BPEbD1JLb9JX9QwBE6SKpQc6r5vDlj5LWCWKkSWtA1jBy M/+BN986+ggMB8hcQQyK5+GK80ASve6KgsbTwgW+V8A7VRnO0yvsupL4E/pKyv0pFjGQB43U03ym uY= X-UI-Out-Filterresults: junk:10;V03:K0:f0SFckntx+k=:dXqvtRuut3rvSBd8CCTRAu2b kdAKk3zIpd1s2hlTnDdAk5Ew2xTWtgsGlTvvuOqTFhCVFbFMj3kgL8ZIJv8pTN5Dis6UhTqf3 RP5MnU7znkB4owyT8oui94PuENbEB+MthD/tO7jAJjdht3ihqUjVcQRLk7f50z0XyG6UZMtrm t3OLaicAJBhpzENdWLrMg4ELUwpkRUeiQdo1oKX2wpQnbFscgG/DNeJOxg/2ADkQ5ex2MV5+y I6ULLKSthWjNZfhmktS4eY7qFGVBq7mnkUomzCTcmjBV7t9SKrqvMJvXvU/9mf6CYqke0Y26p qGdVWU1oaRIXvpqMLTduvX/sGijLuynHhhsST02IABfeEw2GSH2O4/qJRLyy4xMWRlzNHeByJ Ueqz5nt+FDmBypvfqii2QnWYX5HXA204vmqj1itqjObuUNCREYY0IELuR3di0pNPbYnqMOl4F kfqyBPSlhMpTpLcMisPQh002y/oy4rVKATEM/SrOkYVM1yeAy9YB1pMbVrwis9Ull+0FUs5SA e6xEFM5eNOs/fIZRUir/kNxPuj5SCoR0RT91QkB+cWIG5tA7OKNW9f2eTl29xlJ3v7bICW7b6 Rn4QzHhUAC7m/QgGZE0P53WpCZDiWWniKOB8jitCAZxc7XHo8K0adg== Received-SPF: pass client-ip=82.165.159.14; envelope-from=michael-franzese@gmx.com; helo=mout-xforward.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127201 Archived-At: Am trying to implement subscript and superscript mode (i.e. subscripts displayed downwards, superscripts displayed upwards) taken from tex-mode.el. What else do I have to do? (defun tex-font-lock-suscript (pos) (defun tex-font-lock-match-suscript (limit) (defun tex-font-lock-unfontify-region (beg end) (defcustom tex-suscript-height-ratio 0.8 (defcustom tex-suscript-height-minimum 0.0 (defun tex-suscript-height (height) (defface superscript (defface subscript