Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
57 views

I am trying to display a LaTeX-style equation in a Matplotlib plot using a custom font (Algerian). I want both the equation and the surrounding text to use the same upright (non-italic) font. Using ...
taiwan12's user avatar
  • 111
3 votes
1 answer
151 views

I am trying to create a 3D plot with plotly. In the plotting area, I want a grid of floating text annotations. This is my MWE: import plotly.graph_objs as go import dash from dash import html, dcc, ...
Raphael_Ratz's user avatar
0 votes
1 answer
96 views

not sure how to categorize the following issue, I thought about relating it to BASH or Python first, but actually it's rather language-independent imo... Anyway, I was searching but couldn't find any ...
SevenChalices's user avatar
2 votes
2 answers
180 views

I have spent about 2 hours today working on a script to query specific Domain Controllers on the network, then verify if a service account is locked or not. And before anyone asks, I am aware of the ...
FlyingSubieSTi's user avatar
3 votes
1 answer
100 views

I am using the OpenAI completions API to write text like how ChatGPT does it in the user/system message back and forth. But this is for Arabic text, and explanation of text comes back in mixture of ...
Lance Pollard's user avatar
0 votes
1 answer
106 views

I’m working on a Python script to extract content from a Word document (.docx) and insert it into a SQL Server database. The challenge is that I need to preserve text styles like bold and italic, as ...
Zahra's user avatar
  • 119
0 votes
0 answers
37 views

"Streaming Text Formatting" – Formatting text that arrives in chunks from a stream. "Real-time Text Structuring" I am creating a web app using next.js and openai When I use openai ...
Zainy Shorts's user avatar
0 votes
0 answers
150 views

I’m using Quill.js and need to: Make "small" the default text size when the editor loads. Ensure the text size persists when the user types. Keep the selected size after pressing Enter (...
Yara Abd's user avatar
0 votes
0 answers
132 views

Can I make the <Span/> elements inherit styles from parent <Label/> or freely apply styles in some way? I've been trying to use <Span/> elements to format <Label.FormattedText/>...
user avatar
0 votes
1 answer
108 views

I need to transform text from one field to a new one. Currently the TEXTVALUE is "202411219999". The NEWVALUE to obtain must be like this: "2024-11-21" I managed to use substring(&...
Turpan's user avatar
  • 537
1 vote
2 answers
645 views

I am trying to return the time value as a string, with no ":" or "AM/PM". I do not want the value returned as a decimal. If it is currently 7:53 PM, I want "195300". A ...
Liberty's user avatar
  • 23
0 votes
4 answers
79 views

The actual issue: I'm trying to rearrange a bunch of names, street addresses, states, etc. into a nice list of addresses without any weird bracketed [row numbers], quotation marks, awkward breaks, etc....
silima's user avatar
  • 1
1 vote
0 answers
51 views

clean.txt file having data without any double quotes below. [wladmin@linuxhost ~]$ cat clean.txt REPL session history will not be persisted. WDA-EMEA-PROD { db: 'WDA-EMEA-PROD', collections: 53, ...
Ashar's user avatar
  • 3,195
-1 votes
3 answers
45 views

I have a text file containing a small piece of data on each line: Maybe it's a word, or a single number. For simplicity let's assume there are no empty lines and no headers within that file. For ...
einpoklum's user avatar
  • 137k
2 votes
2 answers
149 views

I've written a function for my little JavaScript project that prints text to a div akin to a dialog in an old-school game. I've included the code for this function in the snippet below, although I ...
KundaliniSin's user avatar
0 votes
0 answers
311 views

I use vim to write my commit messages, which means they get formatted "the right way" automatically. That is, as I write, my messages are formatted more or less as described in the classic ...
vicvicvic's user avatar
  • 6,274
1 vote
1 answer
180 views

The purpose of this VBA is to find the text "Something" in the document, insert a space after it, add a mail merge field named "address" and then format the inserted field with ...
smolo's user avatar
  • 901
1 vote
2 answers
64 views

I am looking for a little assistance. I am new to C# and am trying to build a simple addition/ subtraction game for my kid to practice his skills. I have the basics working (more to develop on it) so ...
Michael McKeehan's user avatar
4 votes
2 answers
6k views

I'm trying to add validator warning messages to the front-end of my signup form. My application is a React.js app that's styled using Chakra UI. My validator hook function looks as follows: const ...
Dan Gray's user avatar
0 votes
1 answer
370 views

I know that the text of the TextBlock element can be formatted (italic, bold, underlined, etc.) using both C# code and XAML markup, which is very convenient. Here is an example from the MSDN site. <...
Георгий Попов's user avatar
0 votes
0 answers
90 views

I have some asciidoc documentation with tables, and I would like to render them for output to a text console. I'm looking for a rendition something like markdown: | Item | Price | # In ...
Travis Well's user avatar
1 vote
1 answer
274 views

I'm trying to underline my headers for my columns of my forestplot, which I've created with the forestplot() function from the library(forestplot) package. this is a excerpt of the settings i already ...
dkong's user avatar
  • 13
2 votes
1 answer
51 views

from bs4 import BeautifulSoup import requests def scraper(url): url = "https://www.folhape.com.br/economia/preco-da-gasolina-cai-apos-duas-semanas-de-alta-nos-postos-diz-anp/280763/" ...
george Vasconcelos's user avatar
-3 votes
1 answer
1k views

*this text is bold*, _this text is italic_, ~this text is strikethrough~. ~_*this text is bold, italic and strike-through*_~ I want these text to be presented as, <b>this text is bold<...
Sayad Ahmed Shaurov's user avatar
1 vote
1 answer
1k views

I am making a book blogging app where a user can fill out a form that includes a textarea field for the book review. I added a pre-wrap class to the paragraph element meant to display the review text ...
cnharmon's user avatar
1 vote
0 answers
236 views

Vim/neovim's automatic line wrapping feature is great for writing reports in Markdown, but sometimes it kicks in when I don't want it to. Is there a setting somewhere that I can set a regex pattern to ...
Emerson Harkin's user avatar
1 vote
1 answer
683 views

I have a Watcher action to message a Teams channel. To create a nested bullet list I added the following TextBlock to my AdaptiveCard body: "body":[ { "type": "...
runnerpaul's user avatar
  • 7,564
0 votes
2 answers
1k views

I'm trying to format textformfield while typing. I've managed to get it working...well sort of. Currently the textformfield takes in number and works like this: user types in number for example "...
Quentinio's user avatar
1 vote
4 answers
3k views

I'm trying to make a crossword in google sheets, and would like the clue numbers to be as far up in the top left of the cell as possible. Using the normal alignment buttons puts in in the corner, but ...
SarlCagan93's user avatar
3 votes
3 answers
3k views

Currently, I'm looking at a TextFormField restriction. My requirement is Allow single 0 in TextFormField If it is 099, I want to remove the leading 0. So, it's 99 Do not allow symbols or special ...
vandet's user avatar
  • 49
0 votes
0 answers
27 views

I have a dataframe, where certain columns have array type data, this array has elements separated by semicolon(;) ie when i print df'column_name'[0] i.e first element in the array it will print all ...
aditG23's user avatar
-2 votes
2 answers
2k views

I have a text file I've been viewing in visual studio code: here is one line problem path: path1 another line value line more info value problem path: path2 incredible data line problem path: path3 ...
POVR2's user avatar
  • 85
1 vote
1 answer
547 views

Using the Python library Panel, I'm trying to format an IntSliderRange to f"{the_slider_number} kr" but the formatting argument in that class is not doing anything with the python text ...
Henrik's user avatar
  • 703
2 votes
1 answer
353 views

I have a Google Forms where I'm capturing data in the following format. Name:Karslten [0023] Level:1 You managed to complete: Burpies:30 Squats:45 Bench:29 Crunch:43 TotalLoss: 981 Name:Jaeger [0119] ...
Nadeem Muhammad's user avatar
0 votes
1 answer
556 views

I am using a fragment list, so I have a child .xml to manage the formatting of each bit of text within each drop down. How do I manipulate my code to embold my heading? ItemClass override fun ...
james's user avatar
  • 15
0 votes
1 answer
554 views

So the actual height of an inline text element is not simply the font-size value, but is determined by the individual font's metrics, as explained in this answer (see also this article). So for the ...
curiousdannii's user avatar
0 votes
1 answer
851 views

When I use ="""" & TEXT("1468", "# ###") & """", "1 468" is returned. Perfect. However, once 4 digits become 3 digits, I ...
user avatar
1 vote
1 answer
53 views

Sorry that this is probably a really basic question - it seems like it ought to be easy, but I just can't figure it out. I'm trying to write a function that, given a stream of alphabetical characters ...
chickazee4's user avatar
1 vote
1 answer
189 views

this is a part of my program which generates * patterns from 4 user inputs total= progresscount + trailercount + retrivercount + excludecount print("..................................................
Yasiru Ruwantha Weerakoon's user avatar
4 votes
1 answer
3k views

I am currently working on setting up ci/cd pipeline for pushing nuget packages. I want to use the built-in CI_COMMIT_TIMESTAMP for version suffix however its ISO 8601 format is not valid for this. ...
dev01's user avatar
  • 197
1 vote
3 answers
67 views

I have a file as below "time":"2022-03-01T12:00:25.388Z","duration":0.8255,"error":0 "time":"2022-03-01T12:00:26.809Z","duration":...
Annalakshmi M's user avatar
3 votes
2 answers
20k views

How do I Bold my PrintF? .. ( I am new in C) #include <stdio.h> int main() { int i; for (i=1; i<=5; i++) { printf("Md.Mehedi hasan"); } return 0; }
Md. Mehedi hasan's user avatar
0 votes
2 answers
963 views

I have a webpage containing a text editor(tinymce), which does nice formatting to the text and then stores it in the database. The server retrieves this formatted text from database and sends it to a ...
Tharun Vemula's user avatar
1 vote
1 answer
954 views

Working on a responsive white paper for an open-source project. Research has proven that this challenge has yet to be taken down clearly by anyone on the internet. My original intention was to create ...
Lucian's user avatar
  • 24
-3 votes
1 answer
1k views

So I was formatting the text of a Readme.md file on GitHub. I wanted one portion of the heading [styled as heading1], to reduce in size and come right below that heading in order to just beautify the ...
Sahil Dhanjal's user avatar
1 vote
1 answer
2k views

I am working on a route that displays information about my flutter app. I've used RichText and TextSpan widgets in order to display inline hyperlinks to my email and github repo. This made it easy to ...
John Harrington's user avatar
1 vote
1 answer
265 views

Sample File Users add new values by copying them from an external source. It creates a visual effect of a small leading space. Usual formulas can delete this space: =""&A1" ↑ will ...
Max Makhrov's user avatar
  • 18.9k
0 votes
0 answers
568 views

This is my html code: <td> <pre style="white-space: pre;" id="Comments" class="value"> text here </pre> </td> I have used pre tag to take care of ...
Khusbu Sinha's user avatar
-3 votes
3 answers
638 views

I have a tab-delimited table that looks like this: chr1 100 110 + 2 3 0 8 6 chr1 150 200 + 1 4 0 2 0 chr1 200 220 + 1 4 2 0 0 chr1 250 260 + 4 2 6 1 3 I would like to count how many zeros are in ...
Billy Mills's user avatar
1 vote
3 answers
1k views

I was learning nested loops, and ran into this problem with line spacing between each of x's lines. numbers = [2, 2, 2, 2, 7, 7] for i in numbers: for j in range(0, i): print("x"...
Aryan Bakshi's user avatar

1
2 3 4 5
9