From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.help Subject: how to delete unwanted space with a function or macro Date: Sat, 08 Jan 2022 08:59:11 +0100 Message-ID: <87iluuirow.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22146"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:TLyyAEsG977iAzVHIpIKgiQkbQw= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 08 09:38:04 2022 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 1n67Ei-0005dw-02 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 08 Jan 2022 09:38:04 +0100 Original-Received: from localhost ([::1]:52602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67Eg-0007uy-TJ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 08 Jan 2022 03:38:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n66dH-0005Ck-QZ for help-gnu-emacs@gnu.org; Sat, 08 Jan 2022 02:59:23 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:58676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n66dF-00061Z-VG for help-gnu-emacs@gnu.org; Sat, 08 Jan 2022 02:59:23 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n66dA-0000Jy-62 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2022 08:59:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:135127 Archived-At: Hi I just used plain align on the table below. \begin{tabular}{|l|l|} \hline \(f(t)=\mathcal{L}^{-1}\{F(s)\}\) & \(F(s)=\mathcal{L}\{f(t)\}\) \\ \hline 1. & \(\frac{1}{s},\quad s>0\) \\ \hline 2.\(e^{a t}\) & \(\frac{1}{s-a} \qquad s>a\) \\ \hline 3. \(t^{n}, \quad n=\) positive integer & \(\frac{n !}{s^{n+1}}, \quad s>0\) \\ \hline 4. \(t^{p},\quad p>-1\) & \(\frac{\Gamma(p+1)}{s^{p+1}} \quad s>0\) \\ \hline 5. \(\sin (a t)\) & \(\frac{a}{s^{2}+a^{2}} \quad s>0\) \\ \hline 6. \(\cos (a t)\) & \(\frac{s}{s^{2}+a^{2}}, \quad s>0\) \\ \hline 7. \(\sinh (a t)\) & \(\frac{a}{s^{2}-a^{2}}, \quad s> a\) \\ \hline 8. \(\cosh (a t)\) & \(\frac{s}{s^{2}-a^{2}}, \quad s> a\) \\ \hline 9. \(e^{a t} \sin b t\) & \(\frac{b}{(s-a)^{2}+b^{2}}, \quad s>a\) \\ \hline 10. \(e^{a t}\cos (b t)\) & \(\frac{s-a}{(s-a)^{2}+b^{2}}, \quad s>a\) \\ \hline 11. \(t^{n} e^{a t},\quad n=\) positive integer & \(\frac{n !}{(s-a)^{n+1}}, \quad s>a\) \\ \hline 12. \(u_{c}(t)\) & \(e^{-c s}F(s)\) \\ \hline 13. \(u_{c}(t) f(t-c)\) & \(e^{-c s}F(s)\) \\ \hline 14. \(e^{c t} f(t)\) & \(F(s-c)\) \\ \hline 15. \(f(c t)\) & \(\frac{1}{c} F\left(\frac{s}{c}\right), \quad c>0\) \\ \hline 16. \(\int_{0}^{t} f(t-\tau) g(\tau)d \tau\) & \(F(s) G(s)\) \\ \hline 17. \(\delta(t-c)\) & \(e^{-c s}\) \\ \hline 18. \(f^{(n)}(t)\) & \(s^{n} F(s)-s^{n-1} f(0)-\cdots-f^{(n-1)}(0)\) \\ \hline 19. \((-t)^{n} f(t)\) & \(F^{(n)}(s)\) \\ \hline \end{tabular} It has a lot of unwanted space as in \(e^{a t}\) how can I delete this space in a convient way, whitespace-cleanup for example ignores this space. Any ideas? Regards Uwe Brauer