Questions tagged [italics]

This tag should not be used. Use typography instead.

This tag is under discussion here: A [bold] initiative.

72 questions
3
votes
3 answers

Latex Beamer: How is it possible to make piece of text in a frame in italics?

I am using Beamer in order to make a presentation. In one of the frames I want to write something like this: "Italics is like that" I used a command \it of Beamer for doing this: \it{Italics} is like that But as a result I get: "Italics is like…
Timofey
  • 2,478
  • 3
  • 37
  • 53
3
votes
1 answer

Tkinter: italicizing already bold text (overlapping tags)

I have a Python Tkinter program where I can select text, press a shortcut and it will make the selected text bold. You can use different shortcuts for other styles such as italics. However, I'm having a problem while as a user in the running program…
Brōtsyorfuzthrāx
  • 4,387
  • 4
  • 34
  • 56
3
votes
1 answer

How to make comments Italic in gVim?

I am fairly new to Vim and mainly use gVim for most of my coding purposes. I am trying to figure out what to add in my _vimrc (in windows) to make my comments italic. I tried adding highlight Comment cterm=italic but that didn't work. My…
wrahim
  • 1,158
  • 4
  • 16
  • 33
3
votes
3 answers

how to change font style of text in textbox on click?

how can i do this using javascript? my textbox has a default value which is italic but when it is clicked the textbox will be cleared and the fontstyle should be normal.
noob
  • 4,699
  • 10
  • 33
  • 32
2
votes
1 answer

How do you make just the x-lab label italics and NOT the y-lab label as well? (in R)

How do you make just the x-lab label italics and NOT the y-lab label as well? The only command I can find (font.lab=3) makes both the x-lab and y-lab labels italics. I am creating barplots in R that have specific names on the x and y…
user1165442
  • 23
  • 1
  • 3
2
votes
2 answers

R language italicize iteratively gera

Sorry for the very stupid question, I have been googleing for a while without finding a solution. I need to create several plots iteratively, whose titles are (1) picked from a previously created vector and (2) must be italicized. I have tried…
perep1972
  • 147
  • 1
  • 9
2
votes
4 answers

How to select portion of array element after plus operator

I'm almost done with my random quote machine I'm creating for FreeCodeCamp, but I'd like to italicize the second portion of each array item. I looked it up and found that wasn't working for me. Is there an easier way to target the 2nd portion of…
M.M.
  • 21
  • 1
2
votes
2 answers

How do you display part of text field in italics in android?

I am developing an Android app which takes some data from text fields entered by the user, and outputs a single string in a new text field based on this data. Simple enough, however I need parts of the string to be in italics. I have found out how…
petehallw
  • 1,014
  • 6
  • 21
  • 49
1
vote
2 answers

Locating tags in a string in PHP (with respect to the string with tags removed)

I want to create a function that labels the location of certain HTML tags (e.g., italics tags) in a string with respect to the locations of characters in a tagless version of the string. (I intend to use this label data to train a neural network for…
Robert K S
  • 23
  • 7
1
vote
1 answer

How to create a partial italic axis title in ggplot

I am trying to make part of my title in italics (M.alfredi) but cant figure out how? Can anyone help? Thanks. library(tidyverse) library(reshape2) dat <- read_xlsx("ReefPA.xlsx") names(dat) <- str_replace_all(names(dat), " ", "_") dat1 <- dat…
1
vote
1 answer

Google Docs Apps Script Find and Replace with Italics

Is there a code for google apps script that finds and replaces a specific word with the italic version in a document?
Peony L.
  • 21
  • 1
1
vote
1 answer

Make an annotation in ggplot with applying styles on the certain symbols

I am trying to put the r2 value and p-value in the same annotation in a graph. The r and the p needs to be italicized with a comma in between the two values so r^2 = 0.26, p = 0.005. I have looked up suggestions but I can't get everything I want.…
Michael
  • 17
  • 3
1
vote
1 answer

Column name formatting in KableExtra in R

Latex command are not formatting the column names as I intended. library(kableExtra) kable(test,"latex", col.names = c('Mean','\\textit{N}' ,'Strongly\nDisagree','Disagree','Neither Agree\norDisagree','Agree','Strongly\nAgree')) The output I am…
asokol
  • 119
  • 1
  • 16
1
vote
1 answer

Django, best way to render italics in html for empty text field

I have a field called notes in a model. If the field is empty, I want to output 'No notes' and I want to do it in italics. You can set the text to be 'No Notes' by using a get command in the models.py def get_notes(self): if len(self.notes) ==…
Micah Pearce
  • 1,805
  • 3
  • 28
  • 61
1
vote
1 answer

tachyons.io: emphasize a single word in italics

My problem I am using the tachyons.io framework to style an HTML page. I would like to emphasize a single word in a sentence with italics fonts, without discontinuing the sentence flow by a line break. The manual The manual suggests using
Adam Matan
  • 128,757
  • 147
  • 397
  • 562