41
questions
0
votes
1
answer
29
views
verbatimTextOutput for multiple languages programming code
I have this shiny app:
library(shiny)
# Define UI
ui <- fluidPage(
tags$head(
tags$style(
HTML(
"
.form-control {
border-radius: 4px 4px 4px 4px;
...
2
votes
3
answers
702
views
SwiftUI how to change font and color for email address in Text
If I didn't use verbatim with Text
Ex:
Text("Reach out to us on [email protected] for any queries!")
.foregroundColor(Color.white)
.font(Font.custom("...
0
votes
0
answers
262
views
R Shiny: Hiding and showing verbatimTextOutput
I am currently trying to create an R Shiny app with multiple tab panels.
On one tab panel I would like to enter some numbers and then depending on a button show and hide the numbers entered.
I use ...
1
vote
1
answer
859
views
Verbatim code chunks with double quotation marks in RMarkdown
As demonstrated in 4.7 Verbatim code chunks in @Yihui 's R Markdown Cookbook, we can show a verbatim inline expression,
`r knitr::inline_expr("coef(summary(model))")`, for example, in our ...
2
votes
1
answer
1k
views
Latex verbatim: show characters using a fallback font?
I use a specific monofont for verbatim blocks. In one of my verbatim block, some characters are not included in the font. As suggested in this post, one can use either a different font, or use ...
0
votes
1
answer
734
views
LuaLaTeX: horitontal alignment of verbatim-environments inside a tabularx-environment
First, I'm fully aware that my code is probably not the ideal way to realize what I want to do. However I'm not a professional LaTeX User and this is the way I figured out.
I made a minimal example ...
5
votes
0
answers
617
views
code chunk following verbatim inline code breaks slide separator
In a xaringan presentation I want to show how to put R Code in an R Markdown document. Which leads me to the dangerous waters of verbatim R Markdown in an xaringan (R Markdown) document.
Displaying ...
2
votes
1
answer
1k
views
Latex verbatim:how to show the file directoy created by tree command?
I want to insert a file directory diagram created by tree command using verbatim enviroment. But in the output document, only file names are kept, and the connection lines are disapeared.
\...
2
votes
2
answers
4k
views
LaTeX newcommand with verbatim or listings : problem with `#` (hash key)
I'm trying to define a macro with \newcommand using verbatim or listings environment. It seems that the hash key in #1 (standing for the argument) is escaped, due to verbatim and listings.
I'm new to ...
3
votes
1
answer
1k
views
How to fold verbatim text (not code) in R bookdown?
In my document, I want to show some info, using ``` block, such as:
```
bruin@c7 ~ $ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
bruin@c7 ~ $
```
For large output chunks, I want to ...
0
votes
1
answer
2k
views
r shiny make shiny print messages to user interface
I have a simple shiny app.
First, I generated 2 csv files in my working directory:
write.csv(data.frame(a = 1:4, b = 2:5), "x.csv", row.names = F)
write.csv(data.frame(a = 1:4, c = 11:14), "y.csv", ...
0
votes
5
answers
342
views
How to define a string like: sss" + str1 + "ddd
string str1="xxx";
string str2=@"sss" + str1 + "ddd";
Console.WriteLine(str2);
The above code gives:
sssxxxddd
But what I want is:
sss" + str1 + "ddd
How to do that?
1
vote
1
answer
512
views
Using twig translations inside Moustache inside Twig
I have a moustache template inside my twig template. I use the moustache template in javascript and it contains some text and JS variables.
{# _partial.html.twig #}
{% verbatim %}
<script id="...
6
votes
2
answers
6k
views
Bash printf literal verbatim string
To make my code portable, I try to use printf rather than echo. But then
printf "-dogs-cats"
returns an error. A workaround in the present case is:
printf "-";printf "dogs-cats"
But is there a ...
-2
votes
1
answer
4k
views
When and why we use the verbatim in jsf?
As i am now working on jsf i want to know why we use the tag verbatim in jsf and what is the significance of it ?
Any help would be of great appreciation.
4
votes
0
answers
458
views
Twig: Render block multiple times: parsed, escaped, verbatim
I’m building a pattern library that displays my production twig partials with some additional information. Under each pattern, I want to have two code snippets that I want to be generated from my ...
0
votes
1
answer
117
views
Django treat all templates as VERBATIM for sharing resources with ionic & web
We're building a website with an ionic app, using a django backend (django_rest_framework & traditional responsive templates) & Angular.
We'd ideally like to share the mobile templates ...
1
vote
1
answer
338
views
knitr: print text but get rid of verbatim in the tex file
I am using knitr to produce automatic reports of my studies.
I want to print or not print some text depending on different variables in the final document.
I got rid of the "##" using comment=NA, but ...
0
votes
1
answer
69
views
Verbatim-tag in Google App Engine not working
I want to serve some Polymer-code via Django in a Google App Engine.
The problem is, that Polymer uses double curly braces, as does Django. In newer Django versions, one can use the verbatim-tag, ...
1
vote
2
answers
990
views
LaTeX: appending verbatim lines to an out file
I'm trying to create an environment in latex that writes the lines that are between the \begin{environment} and \end{environment} verbatim in a TeX file.
I have tried the fancyvrb package, it works ...
2
votes
0
answers
1k
views
orgmode: inlining verbatim material
I use verbatim mode to inline code and simple expressions. The problem I have is that some tags cause the verbatim mode not to be recognized. When I type =(a b)= I see (a b) look right, but when I ...
1
vote
2
answers
2k
views
Verbatim Tag inside IF statement
I am new to Twig and AngularJS. So, please be easy on me. Here is the case, I read it somewhere that if statement in Twig only works outside verbatim tag. So, that's why I endverbatim right before the ...
5
votes
1
answer
4k
views
C# verbatim string literal not working. Very Strange backslash always double
I've tried for quite a long time to figure out whats going on but I've not found anything anywhere that someone besides me has ran into this issue.
I'm simply trying to hard code a path into a ...
50
votes
4
answers
83k
views
How to not-analyze in ElasticSearch?
I've got a field in an ElasticSearch field which I do not want to have analyzed, i. e. it should be stored and compared verbatim. The values will contain letters, numbers, whitespace, dashes, slashes ...
1
vote
1
answer
323
views
how can I use handle Verbatim String Literals?
I have below oracleCommand and like to change below but having error...doesn't except my +item+ and + txtSrcUserID.Text.ToUpper() + . in the oracleCommand. How can I add them to my command?
Original
...
1
vote
1
answer
277
views
knitr + lyx: an error in practice of exact logistic regression
As you may know, there is a technique, called exact logistic regression. The idre from UCLA provides excellent analysis example. (http://www.ats.ucla.edu/stat/r/dae/exlogit.htm)
When I exercise with ...
0
votes
1
answer
111
views
Verbatim PHP code works on current, live site, but not new site (local or live)
MySQL
Server: mysql.mysite.com via TCP/IP Server version: 5.1.56-log
Protocol version: 10 User: username@__.dreamhost.com MySQL charset:
UTF-8 Unicode (utf8)
Web server
Apache ...
11
votes
3
answers
5k
views
Verbatim string literals v escape sequences
Is there any difference in how the C# compiler or .NET run-time handles verbatim string literals versus using escape sequences (i.e. performance) or is it just a matter of design time style? E.G.:
...
3
votes
1
answer
3k
views
verbatim text stored in Bash variable
I want to store verbatim text in Bash variables. I have an approach described here and I would like criticism and suggestions on improving this approach. Currently, the specific application is to have ...
4
votes
5
answers
16k
views
new to C# - unable to get File.Copy to work
This is a code sample from Microsoft, with a different file location, that just won't work:
string fileName = "test1.txt";
string sourcePath = @"C:\";
string targetPath = @"C:\Test\";
// Use ...
5
votes
1
answer
6k
views
How to force Console.WriteLine() to print verbatim strings? [duplicate]
Possible Duplicate:
Can I convert a C# string value to an escaped string literal
How can I print a string (via Console.WriteLine()) such that any/all escape sequences that may exist in the string ...
0
votes
1
answer
289
views
C# Verbatim doesn't seem to work with .startinfo.arguments?
I have an app with which i can select from multiple MSI's (same msi, different versions) in a directory, and i will be able to install or uninstall from this app.
I pull in the list of MSI's, ...
4
votes
1
answer
634
views
why is this verbatim string not working as I expect for a unit test assert and showing a strange value in debugger?
QUESTION: Why does the debugger show "directagents\a\aanodide" instead of the value of the verbatim string @"directagents\aanodide".
UPDATE
This seems to be a ReSharper quirk.
To Reproduce:
Enter a ...
2
votes
3
answers
2k
views
Getters inside f:verbatim called before form submission
I have the following page:
<h:form id="gameSelectionForm">
<h:selectOneMenu id="gameSelection">
<f:selectItems value="#{gameBean.gameIds}" />
</h:selectOneMenu>...
2
votes
2
answers
4k
views
user defined commands in verbatim environment
is it possible to create a new command with a parameter in a verbatim environment and some indentation?
\newcommand{codeblock}[1]{\begin{quote}\begin{verbatim}#1\end{verbatim}\end{quote}}
This does ...
21
votes
1
answer
47k
views
Latex: how to draw box around text that contains a verbatim block
Typically, to box in some text, I use the following:
\fbox {
\parbox{\linewidth}{
This is some text! Blah blah blah...
}
}
However, say I have a verbatim block within that. It will never ...
2
votes
1
answer
2k
views
Why we should write @ before sql queries in asp.net?
Suppose we want to select the data from the database then we write the query for that .
Example:
SqlConnection con=new SqlConnection(Connetion name)
string selectPkId = @"SELECT PK_ID FROM TABLE"
...
8
votes
6
answers
12k
views
how write this in verbatim latex
i have a little question about the verbatim environment in latex.....
my problem is how can i write "\end{verbatim}" inside of a verbatim environment, it supposed that everything inside a verbatim is ...
8
votes
3
answers
9k
views
Latex two captioned verbatim environments side-by-side
How to get two verbatim environments inside floats with automatic captioning side-by-side?
\usepackage{float,fancyvrb}
...
\DefineVerbatimEnvironment{filecontents}{Verbatim}%
{fontsize=\small,
...
5
votes
1
answer
21k
views
Advanced table in LaTeX with multiline cells
I'm trying to achieve something like this in LaTeX: http://sorenhaagerup.dk/files/table-sample.pdf (sample made in OpenOffice.org)
The most important part is the multiline verbatim-environment inside ...
7
votes
5
answers
5k
views
Using Unicode in fancyvrb’s VerbatimOut
Problem
VerbatimOut from the “fancyvrb” package doesn’t play nicely with UTF-8 characters.
Minimal working example:
\documentclass{minimal}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\...