# Note Component Interpolation

Note content sinks are obsolete! You can now directly interpolate CL variables into a note. Interpolation supports string, number, and latex types. For example, you can define the following variables on your note component:

myVariable = when c1.number("a") > 0 "positive" otherwise "negative or 0"
anotherVariable = c2.content
number = 0
latex = \sin x


Then, you can select myVariable, anotherVariable, number, or latex after pressing the { # } button or typing \${ into the note’s text area. You can mix interpolated variables with regular text and even style them. The values of these variables will be displayed to your students.

3 Likes

Do you have any examples of this in action?