如何更改标题的字体和大小,并在标题和其他项之间添加一些空格?
ui<-navbarPage(Title="Intervals",
tabPanel("Data Import",
sidebarLayout(sidebarPanel( fileInput("file","Upload your
CSV",multiple = FALSE),
tags$hr(),
h5(helpText("Select the read.table parameters below")),
checkboxInput(inputId = 'header', label = 'Header', value =
FALSE),
checkboxInput(inputId = "stringAsFactors", "stringAsFactors",
FALSE),
radioButtons(inputId = 'sep', label = 'Separator',
choices = c(Comma=',',Semicolon=';',Tab='\t', Space=''), selected
= ',')),
mainPanel(uiOutput("tb1")) ) ),
tabPanel("95% Continious RI",
sidebarLayout(sidebarPanel(
uiOutput("model_select"),
uiOutput("var1_select"),
uiOutput("rest_var_select")),
mainPanel( helpText("Selected variables and Fitted values"),
verbatimTextOutput("other_val_show")))),
tabPanel("Model Summary", verbatimTextOutput("summary")),
tabPanel("Scatterplot", plotOutput("scatterplot")))
答案 0 :(得分:0)
您可以按如下方式添加自定义CSS:
[coul@localhost ~]$ gfortran -g test.f90
[coul@localhost ~]$ ./a.out < d.dat
25
[coul@localhost ~]$ gdb a.out
GNU gdb (GDB) Fedora 7.10.1-31.fc23
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
(gdb) run d.dat
Starting program: /home/coul/a.out d.dat
25
(gdb)
这将使您的示例看起来如下:
您可能希望稍微调整一下数字,使其符合您的偏好。下面给出了重现上述图像的代码。希望这有帮助!
tags$head(tags$style(HTML('.navbar-brand {width: 300px; font-size:35px; text-align:center;}'))) )