Thread: Regex examples
View Single Post
Old 04-08-2012, 07:10 AM   #51
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Right, create a new style in the css (or adapt your existing one)
Code:
.let3{
  display      : block;
  float        : left;
  margin-left  : 0.28em;
  margin-top   : -0.18em; /* essayer -0.20em pour deux lignes */
  margin-right : 0.0em;
  font-family  : 'Times New Roman';
  font-size    : 4.6em;   /* essayer 3.33em pour deux lignes */
  height       : 1em;
}
Edit: I don't know if you want to change the french comments

Then using
Code:
<p class="let">([A-Z])([^ ]{0,20}\s)(([^ ]{0,20}\s){3})
Code:
<p class="let"><span class="let3">\1</span><span class="smcpTypeV">\2\3</span>

Last edited by Perkin; 04-08-2012 at 07:15 AM.
Perkin is offline   Reply With Quote