From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Latex superscripts, subscripts and curly braces Date: Mon, 02 Jan 2023 20:01:29 +0100 Message-ID: <87y1qkahh2.fsf@dataswamp.org> References: <1340099776.589320.1672406590250@fidget.co-bxl> <87358vcn0n.fsf@dataswamp.org> <1857439239.722101.1672523846071@ichabod.co-bxl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15803"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:R2M/N4dcbdeHDJ5n0YQPTHv1j8c= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 02 22:12:36 2023 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 1pCS6m-0003tE-7s for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Jan 2023 22:12:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCS69-0004ms-2i; Mon, 02 Jan 2023 16:11:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCQ45-0004q3-1S for help-gnu-emacs@gnu.org; Mon, 02 Jan 2023 14:01:47 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCQ43-0008Mm-CV for help-gnu-emacs@gnu.org; Mon, 02 Jan 2023 14:01:40 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pCQ40-0008MV-Qp for help-gnu-emacs@gnu.org; Mon, 02 Jan 2023 20:01:36 +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: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 02 Jan 2023 16:11:56 -0500 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142098 Archived-At: Hans Lonsdale wrote: >> Are we talking when you edit the source? > > Yes. After editing the source I would like to see a hint of > how things would look like, and also to make it easy for me > to follow the latex code itself. I also use it in > conjunction with prettify-symbols. But that's the whole point, you have one language to express what should be shown and then a compiler to produce a document according to what you express in that language. There is no bridging those to in an Emacs buffer to any extent that will ever matter, sorry. But you can have a layer in between, some WYSIWYG editor that can also produce LaTeX which in turn is compiled, but then you loose the only edge there really is to LaTeX, namely the ability to get it exactly the way you want it down to the tiniest detail - so if you let that go, you are better of with something else anyway - I don't know - Markdown, Org-mode etc? >> What do you input then, exactly? > > For instance, consider > > {\begin{aligned} > \langle \psi _{{jk}},\psi _{{lm}}\rangle > &= \int _{{-\infty }}^{\infty }\psi _{{jk}}(x)\overline {\psi _{{lm}}(x)}dx\\ > &= \delta _{{jl}}\delta _{{km}} > \end{aligned}} > > I would not like to have the _ and {} showing in the > expression \psi_{jk} It's possible but I don't believe it this whole idea or attitude, it is such an uphill battle it is insane, you need to let that go or approach it in another way. > But for industrial applications [...] In industrial > applications, equations are customarily very terse with lot > of spaces wasted printing _ ^ { } I don't think there are industrial applications of LaTeX that differ in this sense from any one else's applications, sorry. -- underground experts united https://dataswamp.org/~incal