...

StyleCode Property: textItalic

textItalic

If set to true, will render the text with an italic emphasis.

Applies to Type Default
assert
label
menu > entry
scalar
scalar > entry > value
summary > entry
summary > entry > value
table > column > append
table > column > header
table > column > prepend
table > column > value
Boolean false

Examples

// Example: assert
myAssertion = false

{ textItalic: true }
show assert "My Assert" a1b1 with
  myAssertion

// Example: label
{ textItalic: true }
show label "My Label" a1b1

// Example: menu > entry
show menu "" a1b3 with
  "Section" { textItalic: true }

// Example: scalar
myValue = 123

{ textItalic: true }
show scalar "My Scalar" a1b1 with
  myValue

// Example: scalar > entry > value
myValue = 123

show scalar "My Scalar" a1b1 with
  myValue { value { textItalic: true } }

// Example: summary > entry
table Sales = with
  [| as Quantity, as NetAmount |]
  [| 10, 40 |]
  [| 2, 10 |]
  [| 1, 20 |]
    
show summary "My Summary" a1b3 with
  sum(Sales.Quantity) { textItalic: true }
  sum(Sales.NetAmount)

// Example: summary > entry > value
table Sales = with
  [| as Quantity, as NetAmount |]
  [| 10, 40 |]
  [| 2, 10 |]
  [| 1, 20 |]
    
show summary "My Summary" a1b3 with
  sum(Sales.Quantity) { value { textItalic: true } }
  sum(Sales.NetAmount)

// Example: table > column > append
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" a1c4 with
  Orders.Date { append { textItalic: true } }
  Orders.Quantity

// Example: table > column > header
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" a1c4 with
  Orders.Date { header { textItalic: true } }
  Orders.Quantity

// Example: table > column > prepend
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" a1c4 with
  Orders.Date { prepend { textItalic: true } }
  Orders.Quantity

// Example: table > column > value
table Orders = with
  [| as Date, as Quantity |]
  [| date(2023,02,21), 150 |]
  [| date(2023,02,22), 250 |]

show table "My Table" a1c4 with
  Orders.Date { value { textItalic: true } }
  Orders.Quantity

User Contributed Notes
0 notes + add a note