GLE icon indicating copy to clipboard operation
GLE copied to clipboard

Latex command symbols

Open John-Pontin opened this issue 1 year ago • 3 comments

I'm trying to figure out how to include symbols in key entries on graphs. For some reason the < > text symbols produce inverted ! ? symbols. Normally I'd use /textgreater as a workaround but this gives an unrecognised control sequence. Attempting to a math environment also seems to not work as it simply prints the $$s.

John-Pontin avatar Aug 07 '24 15:08 John-Pontin

Hi, it's best to ask this question on the gle mailing list and post some example code. The list address cab be found on the gle webpage.

vlabella avatar Aug 07 '24 21:08 vlabella

Apologies, I've asked here because the GLE mailing lists show very little activity and require one to subscribe to post.

The issue I've mentioned is due to the Latex encoder GLE is using being fairly out of date: https://tex.stackexchange.com/questions/2369/why-do-the-less-than-symbol-and-the-greater-than-symbol-appear-wrong-as

Does GLE do the Latex compile internally or is it looking somewhere else on the machine for this?

John-Pontin avatar Aug 08 '24 11:08 John-Pontin

I believe it uses the external latex, but you might need to enclose it in \tex{}

vlabella avatar Aug 08 '24 13:08 vlabella

use write "\tex{\textgreater}" greater than > and write "\tex{\textless}" for less than <

vlabella avatar Nov 13 '24 00:11 vlabella