4
$\begingroup$

In text mode, i.e. characters enclosed by " ", brackets do not adapt to the content. How can I achieve this? Actually I want to write a text that includes formulas. Without " " the variables are differently colored, depending if they are assigned or not. With " " they have the same color but brackets look disgusting.

enter image description here

$\endgroup$
3

2 Answers 2

3
$\begingroup$

Following the comments one has to place such expressions not within " " but in an inline cell that can be get by Strg+9

enter image description here

$\endgroup$
3
$\begingroup$

In V13, you can also use Insert > Inline TeX Input (CTRL-4):

   " $\left(\frac{a}{b}\right)$ "
(*  ^ Insert > Inline TeX Input after typing " *)
(*                             ^ click outside TeX box to continue *)

and it will be typeset for you.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.