Selecting a substring in \mathbb{xxxxxxx} or boldsymbol{xxxxx}

Kornel Benko <[email protected]> Tue, 7 Jul 2026 10:01:35 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <20260707100135.3b4812a9@admin1-desktop>
Suppose we have
	$\mathbb{ABD}$
now try to select 'B' and use it somewhere. We only get 'B' instead of $\mathbb{B}$
This is a problem while searching in adv. find for $\mathbb{B}$.

One solution would be to use mathbb and boldsymbol like an accent, so that in the lyx
file would be
	$\mathbb{A}\mathbb{B}\mathbb{D}$

I tried to handle it inside lyxfind.cpp, but the search in parts of the parameter only
sees ascii.

The latex-output looks is OK with this change, but lyx preview displays extra spaces (see
the attached).
	

	Kornel

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
Bildschirmfoto_2026-07-07_09-56-35.png (image/png, 1.2 KB) - not displayed
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE75EqQxV38F6szpLQb1AEVgNfRFsFAmpMsl8ACgkQb1AEVgNf
RFvO0Qf9FKj4fb0NYE/zC63kG7otf/BF676s8n7t89rpXZQSKIigjVZV1D6XALMN
uQiCQD2xHIjDSLKpp4ZZdqOxUUEzzwCAlrfqvdrL8vcPtMkI+h08rgV9WNmwNWYC
vWvjkEnU9VlJZ4NZBm6MbxJ42R+6sOj24xAbrPTe98cPhV1WKBBinmybcU+5qR6x
ClZDIFz4a5lQQPwczd+a/jXeh8CxeaiA0HD536Z0dlRRnUvQmdI/2W/jqiKLP5Wp
7IXTKhocAjDrg3b3tQSDn/9av/ANCW9REtBPbV3jP5WBXohL4N1Djmovv1uBHQGc
8WIRdDqTgdk4v10qjccPt71QxaUzXA==
=2SwF
-----END PGP SIGNATURE-----