Questions tagged [italics]

This tag should not be used. Use typography instead.

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

72 questions
48
votes
6 answers

vimrc make comments italic

How do I change the ~/.vimrc to have the comments in my code italicized? In my ~/.vimrc file I have: highlight Comment ctermfg=blue that makes the comments blue. What do I need to do differently to make them italic?
john-jones
  • 7,490
  • 18
  • 53
  • 86
19
votes
3 answers

italics and normal text in a main plot title

I am plotting a graph in R but the italics function and it is being pretty frustrating under the main title: Mapped territories of different C. austriacus individuals at the Far Gardens coral reef site Any help would be appreciated.
user3170629
  • 489
  • 3
  • 12
  • 21
16
votes
3 answers

Can I write italics to the Python shell?

Is it possible to write something like this: >>> text_output = "Hello World." >>> print text_output ...where if the text_output is printed to the Python Shell, it is printed in italics?
user1852430
  • 161
  • 1
  • 1
  • 3
16
votes
4 answers

Make text bold and italic

Is there anyway to make Android text in the xml file both bold and italics? SAMPLE
Jeremy
  • 3,620
  • 9
  • 43
  • 75
13
votes
7 answers

Enabling italics in vim syntax highlighting for mac terminal

I'd like to have vim display my comments in italics, and I understand I need to place cterm=italic in the hi Comment line in the color.vim file I'm using. This, however, is having no effect on the text display, which I suspect has to do with some…
daltonb
  • 635
  • 8
  • 26
11
votes
2 answers

Typeface.ITALIC not working on Galaxy Note 2

I'm making an app where sometimes I want to change the font of a textview to italics, depending on the data to show. On my Galaxy Nexus, it's simply a case of textView.setTypeface(font, iWantItalics ? Typeface.ITALIC : Typeface.NORMAL); and it…
Serandel
  • 417
  • 5
  • 20
10
votes
2 answers

How to italicize one category in a legend in ggplot2

For my legend in ggplot2 I have 2 categories, how do I italicize only 1 category and not the other? As an example, consider the following plot. How can I set "Manual" in italics? library(ggplot2) ggplot(data = mtcars, aes(x = as.factor(am), fill =…
Eswim
  • 101
  • 1
  • 1
  • 3
10
votes
3 answers

Android Textview Italic and wrap_contents

I am using 3 italic textviews with different colors
d-man
  • 57,473
  • 85
  • 212
  • 296
10
votes
3 answers

why are the first characters in my asp login labels in italics?

I can't work out why the first characters of all the labels on my asp login forms are showing in italics: The code looks like this: When I…
ryanthescot
  • 327
  • 4
  • 16
8
votes
1 answer

How to do italic node labels with GraphViz dot?

I'm trying to draw some graph using graphviz with dot. It works fine. However, I would like to set the font to italic for letters (a,b,c...). Here is my code: digraph mygraph{ node [shape=plaintext] "Ø" -> "{a}" "Ø" -> "{b}" "Ø" -> "{c}" "Ø"…
Phil
  • 3,375
  • 3
  • 30
  • 46
7
votes
3 answers

Conflict between line-height and actual height when Italics are used

I have the following problem: I have a span element with line-height 18px and font-size 16px. This works great when the text inside is not italics; the span remains 18 pixels tall. The problem arises when the text within the span is in italics or…
Edsfault
  • 71
  • 2
6
votes
2 answers

How to print an String variable as italicized text

I have the following statements inside my class: String myName = "Joe"; System.out.println("My name is " +myName); I need the value on the variable myName to be printed as italic text.
LH7
  • 1,385
  • 2
  • 12
  • 16
6
votes
6 answers

All browsers displaying italic text when not supposed to

I am having a problem with my browsers (Safari, Chrome, and FF) displaying text in italics when it's not supposed to be italicized. This is happening on multiple sites including Google sites (Google, YouTube) as well as sites I have built and others…
timatgetdim
  • 191
  • 3
  • 5
  • 16
4
votes
1 answer

Shiny renderText: half italicized, half not?

In my shiny app, I have a textOutput named acronym where I would like to renderText some text which is half non-italicized, half-italicized. I tried doing it like this: output$acronym_1 <- renderText(paste("SID SIDE:", tags$em("Siderastrea…
John Smith
  • 393
  • 1
  • 6
  • 17
4
votes
2 answers

Python-Docx Inserting HTML into Docx

Is it possible to insert HTML into a Document using python-docx with styling applied? The only thing I need to work are italics. For example how to insert "Today is Saturday." with Saturday actually being inserted with italics? Thanks!
Tyler Bell
  • 837
  • 10
  • 30
1
2 3 4 5