All Questions
Tagged with text-styling or font-style
945 questions
Advice
0
votes
2
replies
32
views
What is bold text? WCAG contrast requirements SC 1.4.3
Our internal tooling uses a secondary house style color as brand color. Often, the main navigation bar has that (blueish) color as background, with white navigation items. According to SC 1.4.3 the ...
0
votes
1
answer
90
views
Shopify Theme Dev: How to add strikethrough to text and textarea inputs?
Relevant Shopify theme docs
https://shopify.dev/docs/storefronts/themes/architecture/settings/input-settings#text
https://shopify.dev/docs/storefronts/themes/architecture/settings/input-settings#...
0
votes
0
answers
54
views
How can I make the white text-shadow around my clipped text appear more intense or "whiter"?
I am looking for the (2) effect where the white text-shadow looks near 100% white and makes the effect more sharp, but I seemingly need an opacity to create the middle part. (1) and (3) were my ...
2
votes
1
answer
149
views
Is there a way to remove the inline spacing at the start of the text inside an element?
I tried removing the ghost space by resetting margin, padding, letter-spacing, and even setting line-height to 1, but the space is still there. Is it even possible to completely remove that initial ...
0
votes
2
answers
105
views
how to add strike through without any third-party extension in vs code?
I wanted something like todo, to track progress, and i know about built in TODO: but now i wanted to strikethrough it, and when i try built in solutions (provided online) its not seem to be working.
I ...
0
votes
2
answers
229
views
SwiftUI - Strikethrough on TextField
Does anyone know how to achieve strikethrough effect that is constantly displayed in pure TextField ?
Sample code:
@State var textFieldText: String
var body: some View {
TextField("...
0
votes
0
answers
41
views
How to italicise a specfic part of a legend text in ggplot? [duplicate]
I want to italicise in the legend the Species name in "Rescued Species" and "Wild Species".
How can I achieve it? I have looked at ggtext and glue packages but I am not seeing how ...
-1
votes
1
answer
36
views
How to style Javascript display text?
I'm new to JS, and I just need to have a line of text on a client site that displays the delivery date in the header. I currently have this snippet, which displays perfectly, but I just want to style ...
0
votes
2
answers
77
views
Use formatted text in Excel cell when creating email
I have done VBA code to create e-mails automatically. The user texts what he wants to send in one cell. However, it is not capturing font formatting, such as bold, italic, underline or font color. I ...
0
votes
1
answer
419
views
How to specify a certain font for italics option?
The thing is, I have installed two 'variable' fonts to be used in my website. One, which is normal and displays 'Regular' and 'Bold' at the same time, and the other also has Regular and Bold, but with ...
0
votes
1
answer
228
views
Styling an inset shadow of a text
I'm trying to implement an inset shadow of text with CSS, but I've only reached a solution with setting a special attribute to HTML tag.
I've searched for different solution on the net, but they have ...
1
vote
1
answer
665
views
How to italicize a portion of a plot label while keeping the sans-serif font?
Currently I have this:
Current plot
I would only like a portion of a label, say c/R_p [-], to be italicized.
This is what I do in MATLAB to get the above upper x-label:
xlabel(ax2, '{\fontfamily{cmss}\...
1
vote
1
answer
76
views
How to change font properties of Excel data output in Outlook meeting request
This script works.
I want a particular range to be in bold and to change font color.
Sub SendMeeting()
Dim objOL 'As Outlook.Application
Dim objAppt 'As Outlook.AppointmentItem
Dim ...
2
votes
2
answers
2k
views
Font size and font styles in R plots (with R base plotting)
I am struggling to find a way to change font style and font size of figures in R. I want all text in the figure in Arial 12. I frequently use cex command for increasing and decreasing font but for now ...
0
votes
2
answers
246
views
How can I style text with image, stroke and shadow simultaneously?
I wan't to style my text with a background image, a text-stroke and also a text-shadow.
My problem is that the text-shadow comes on top of the background image. Does anybody know how I can put the ...
1
vote
1
answer
147
views
How to bold matched letters when typing in search box using javascript?
How can I type within a search box and have the letters I type turn bold from suggested words? For example, I type "he" in search bar and it looks like this as I type: help. Also, if I type ...
0
votes
1
answer
41
views
Multiple textstyles in Textfield in Flutter
In my app, users can write in English as well as Arabic. So for English, I want to use "Poppins" as font style, and for Arabic, I want to use "sfArabic". I did not find any proper ...
1
vote
1
answer
438
views
How can I use font Inter style in Jetpack compose for specific Text field
How can I use font Inter style in Jetpack compose:
Text(
text = "",
style = TextStyle(
fontSize = 14.sp,
lineHeight = 20.sp,
fontFamily = FontFamily.Default,
...
2
votes
1
answer
488
views
ggplot italicize single character in axis tick labels- previous posts suggestions not working
I am trying to italicize a single letter in x-axis tick labels in ggplot. I have tried all the previous suggestions in the posts found on stackoverflow, using multiple approaches
these are the ...
1
vote
0
answers
836
views
Pixelated CSS text-shadow issue on Safari/iOS but not Chrome
I have a strange problem with text-shadow on a large title in Safari. There seem to be pixelated boxes in the shadow on Safari, whilst on Chrome it looks great. Does anyone know why this might happen? ...
0
votes
1
answer
74
views
Vanilla JS - How to check if children contain color class, remove the actual class if it exists, then add new class?
I'm using this code:
if ( selectColor.value == "R" & selectDiv.value == "grandParent" ) {
grandParent.children[0].classList.add("red")
}
if ( selectColor.value == &...
0
votes
1
answer
289
views
Why does why configuring roboto flex using jetpack compose typography API's render differently than roboto using GenericFontFamily access?
The sample code is below, but as you can see in the image that is included the roboto font provided by the system using jetpack compose typography API's (last character) has a greater line height than ...
0
votes
2
answers
111
views
Italicize word to the left, but set continued typing not in italics
I've been working with ChatGPT to italicizes word to the left of cursor, but it sets continued typing not in italics in Word 2019. But after an hour, all we've been able to do is the following:
Sub ...
0
votes
2
answers
535
views
font-weight is not working properly --> css
I am trying to change the font weight of a paragraph in CSS. I have tried thin, bold, normal, 700, 800, 900, but the appearance is not changing.
.p1 {
font-weight: thin;
}
<p>It was the ...
1
vote
2
answers
203
views
How to strikethrough substrings without spaces in Sphinx?
I need to strike substrings without spaces in Sphinx .rst file to transform it to HTML in a similar manner as <span style="text-decoration: line-through;">strike</span>substring. ...