Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:rich_text_bibliography [2009/08/29 10:35] komradekb:rich_text_bibliography [2020/01/14 18:56] (current) dstillman
Line 1: Line 1:
-==== Can have special formatting in the bibliographye.g. italic for foreign wordssubscript in a chemical formula? ====+==== How do use rich text formatting, like italics and sub/superscript, in titles? ====
  
-Basic formatting is [[dev/csl_syntax_summary#formatting|supported]] in bibliographies at present, but must apply to the whole field  (e.g. the whole title will be in italic).+You can apply rich text formatting by manually adding the following HTML-like tags to fields in your Zotero library:
  
-Spacing, line breaks and indents are also [[dev/csl_syntax_summary#bibliography_only_options|supported]].+  * <nowiki><i></nowiki> and <nowiki></i></nowiki> for //italics// 
 +  * <nowiki><b></nowiki> and <nowiki></b></nowiki> for **bold** 
 +  * <nowiki><sub></nowiki> and <nowiki></sub></nowiki> for <sub>subscript</sub> 
 +  * <nowiki><sup></nowiki> and <nowiki></sup></nowiki> for <sup>superscript</sup> 
 +  * <nowiki><span style="font-variant:small-caps;"></nowiki> and <nowiki></span></nowiki> for <html><span style="font-variant: small-caps;">smallcaps</span></html> 
 +  * <nowiki><span class="nocase"></nowiki> and <nowiki></span></nowiki> to <html><span class="nocase">suppress capitalization rules (e.g., for foreign phrases within English titles)</span></html>
  
-Special formatting for individual words or characters within fields - such as SmallCaps, <sub>subscript</sub><sup>superscript</sup> and //italic// - is not yet supported, though this should be possible in upcoming releases of the CSL  +Zotero will automatically replace these tags by the specified formatting in bibliographic output. E.g. "<nowiki><i>Pseudomonas aureofaciens</i></nowikinov. spec. and its pigments" will become "//Pseudomonas aureofaciens// novspec. and its pigments".
-Here's a [[/forum/3875#Item_11|workaround]] which may help you for now.+
  
-{{tag>kb csl_faq}}+Note that if rich text formatting has to be applied indiscriminately to entire fields (e.g. a style guide may dictate that titles should be in italics), you can modify the relevant Citation Style Language (CSL) style (see the [[dev/citation_styles|CSL documentation]] and the [[http://citationstyles.org/downloads/specification.html#formatting|CSL field formatting options]]). 
 + 
 +A future version of Zotero will allow visual rich-text editing without manually adding HTML tags. 
 + 
 +{{tag>kb styles}}
kb/rich_text_bibliography.1251556503.txt.gz · Last modified: 2009/08/29 10:35 (external edit)