Hello TextPad-World,
I am using TextPad for editing LaTeX-files. The Highlight-Syntax works fine.
But there is one wish:
How can TextPad highlight equations (inline $...$, and as a block \begin{equation} ... \end{equation}) with a background-color, without loosing the nomal highlightning of the text?
sample (bold as a different bgcolor in TextPad):
bla bla bla $ \delta x = \beta^{2}$ bla bla \em{Thank you}
instead of
bla bla bla $\deltax = \beta^{2}$ bla bla \em{Thank you}
Highlight for LaTeX-equations
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
If you want to change the background colour for a complete inline equation
do the following:
Menu: Configure, Preferences, Document Classes and click on the +.
Select LaTeX, Colors. Next select Comments 2 and then change the background colour.
You can change the background colour of all syntax highlighted keywords
just by going through the Menu: Configure, Preferences, Document Classes, click on the + and then select LaTeX, Colors and start changing.
If you want to change the background colour for math commands such as
\alpha etc. it would be best to gather all these commands and put them in a separate keyword section of latex.syn (create a new one before you start changing). Then change the colours for that keyword section.
Berend
do the following:
Menu: Configure, Preferences, Document Classes and click on the +.
Select LaTeX, Colors. Next select Comments 2 and then change the background colour.
You can change the background colour of all syntax highlighted keywords
just by going through the Menu: Configure, Preferences, Document Classes, click on the + and then select LaTeX, Colors and start changing.
If you want to change the background colour for math commands such as
\alpha etc. it would be best to gather all these commands and put them in a separate keyword section of latex.syn (create a new one before you start changing). Then change the colours for that keyword section.
Berend
sorry but thats not the answer I looked for...
Thx for your message. I know how to change colors/bgcolors of keywords and so on. I allready did that.
But what i want is that the whole equation is highlighted with a special bgcolor and that the LaTeX-Code inside the equation has the normal highlightning.
If i put all my mathematic keywords in different Keywordclases, i can highlight them and i can change the bgcolor of them.
But text, thats not a keyword would be without the bgcolor.
Billi
But what i want is that the whole equation is highlighted with a special bgcolor and that the LaTeX-Code inside the equation has the normal highlightning.
If i put all my mathematic keywords in different Keywordclases, i can highlight them and i can change the bgcolor of them.
But text, thats not a keyword would be without the bgcolor.
Billi
Ist i t really so difficult?
I never expected to get no helpful answers... but maybe it's nt possible...ANY IDEAS OUT THERE ?
Thanks Billi
Thanks Billi