I want to display correctly formula in Shiny title, like in Latex:
X_n=X_{n-1}-\varepsilon_n
shinyUI(pageWithSidebar(
headerPanel("Display formula in heading X_n=X_{n-1}-\varesilon"),
sidebarPanel( ),
mainPanel( )
))
You can use withMathJax
require(shiny)
runApp(
list(ui = pageWithSidebar(
headerPanel(withMathJax("$$\\text{Display formula in heading }X_n=X_{n-1}-\\varepsilon$$")),
sidebarPanel( ),
mainPanel( )
),
server= function(input, output, session){
}
)
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With