Re: Using tex macros in a multidoc

Scott Kostyshak via lyx-users <[email protected]> Sun, 17 May 2026 09:33:07 +0200
Newsgroups gmane.editors.lyx.general
Message-ID <agluurixk6-qc06S@jimmy>
--===============8307251802514721980==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="43xbug7hds3kyapz"
Content-Disposition: inline


--43xbug7hds3kyapz
Content-Type: text/plain; protected-headers=v1; charset=us-ascii
Content-Disposition: inline
Subject: Re: Using tex macros in a multidoc
MIME-Version: 1.0

On Sun, May 17, 2026 at 06:30:57AM +0000, Ehud via lyx-users wrote:
> Thank you. Not exactly related to this question but let me ask:
> Can I use those macros in text, outside of equations? I now insert them into my document inside ERT boxes.

Unfortunately not currently. I would also really like this feature.

My hack is that I define math macros that insert things like this:

  $\text{blah}$

i.e., I exploit the math macros to use pseudo text macros.

Scott

--43xbug7hds3kyapz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmoJbzMACgkQA4ZnarZH
C+u8Xgf8C1pboKN1gkkNEhdxQSx/gBRSbX8EwkBlqy0Lczz0A0pRk3eQLaUY/Bz8
57DMru7aohyVxv2Bo+XgZwNFQ6Ocie+gFInPwAUz4xJf0WVzMcyOAJIb7Ac5In2C
AAAVISNOn8ZNL89s7GRdHLcdWjQeUss9/F+29sSe3airyRamAksiHFz3zlzBPV6j
DoSvTpuuNfC7Iv3ne5/PTerQSBuiWck512gmlB8quikuda7L55eVwfflptuX1yw1
Rgw9JHqWt8t6eVNOqTsF8pcZkJtd9kBJOUGl3ogf2tnapvyFX9Mp2DfZ07JL8pzk
KA8kHdNpH2HqxFOvzvGTr8BhJNsXeQ==
=uaD9
-----END PGP SIGNATURE-----

--43xbug7hds3kyapz--

--===============8307251802514721980==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

--===============8307251802514721980==--