Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2013, 12:12 PM   #1
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Display simple math expressions with CSS

Doing a little thing for my brother and it has some fairly simple math expressions in it (sub/super scripts. fractions, etc.) that I can handle (or at least I think I can) just be changing in CV.

There's a few that are right now seem to require a screen shot to capture an image from the .docx, save as image file and then add it to the epub.

So when he changes, I have to go through the screen capture process again (and again)

Question1: is there any CSS (or other) alternatives beside the 'Add Image' approach? The one structure that seems to be used the most is the square root (radical) sign.

Question2: I found some CSS for super/subscripts that looks good in Sigil, but seems to be ignored (except for the 70%) by ADE. I like the class approach since it seems to not increase line spacing to accomodate the sub or superscript. However, using ADE the small numbers seems to rest on the baseline. Is that an ADE limitation or incompatibility? I use ADE to preview before converting to Kindle

Code:
.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
}

Thanks for any suggestions, comments, or critiques

Paul
Attached Thumbnails
Click image for larger version

Name:	ADE Screen Shot.jpg
Views:	92
Size:	148.6 KB
ID:	107006  
Attached Files
File Type: epub epub_math.epub (6.2 KB, 23 views)

Last edited by phossler; 06-15-2013 at 05:52 PM.
phossler is online now   Reply With Quote
Old 06-15-2013, 01:42 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,725
Karma: 5072190
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Set the line-height to 0 and then retry ADE.

Dale
DaleDe is offline   Reply With Quote
 
Advertisement
Old 06-15-2013, 05:54 PM   #3
elibrarian
Connoisseur
elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.
 
elibrarian's Avatar
 
Posts: 99
Karma: 59964
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: Sony PRS-T1, iPad
Nothing regarding the css, but a tip for Word: Don't use screendumps - use the equation editor and save as HTML, then you'll find the equations as nice images in a subdirectory with the same name as the html-file. (The same principle works for OpenOffice/LibreOffice - came in handy for me, when I made Jules Verne's From the Earth to the Moon and Round the Moon)

Regards

Kim
elibrarian is offline   Reply With Quote
Old 06-15-2013, 06:01 PM   #4
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Quote:
Originally Posted by DaleDe View Post
Set the line-height to 0 and then retry ADE.
Dale
Thanks for the suggestion, but I didn't see any difference in the way ADE displayed the sub and super scripts

Possibly did it wrong

Code:
.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
	line-height:0;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
	line-height:0;
}
The subscripts (using .sub above seem to sit on the baseline, and not 'sub' to it.)

Paul
phossler is online now   Reply With Quote
Old 06-15-2013, 06:25 PM   #5
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 472
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by phossler View Post
Question1: is there any CSS (or other) alternatives beside the 'Add Image' approach? The one structure that seems to be used the most is the square root (radical) sign.

Question2: I found some CSS for super/subscripts that looks good in Sigil, but seems to be ignored (except for the 70%) by ADE. I like the class approach since it seems to not increase line spacing to accomodate the sub or superscript. However, using ADE the small numbers seems to rest on the baseline. Is that an ADE limitation or incompatibility? I use ADE to preview before converting to Kindle
Well, with pure .css is not much what you can do and results are not so good. Below you can see some screenshots of .css code that works also in ADE. If you are going to work of this way, it good be a good idea to use Clips and the Clips Editor of Sigil.

Also I post an epub so you can see better what I did. But maybe you should seek the solution in LaTeX. After that you can convert your TeX/LaTeX files in .xhtml files and with them, build your .epub with Sigil.
Attached Thumbnails
Click image for larger version

Name:	Math1.jpg
Views:	58
Size:	39.0 KB
ID:	107024   Click image for larger version

Name:	Math2.jpg
Views:	54
Size:	51.1 KB
ID:	107025   Click image for larger version

Name:	Math3.jpg
Views:	52
Size:	48.8 KB
ID:	107026  
Attached Files
File Type: epub Some Maths.epub (3.1 KB, 22 views)

Last edited by RbnJrg; 06-16-2013 at 10:16 AM.
RbnJrg is offline   Reply With Quote
Old 06-15-2013, 06:36 PM   #6
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 472
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
@phossler: Remember that you can control the space between greek letters by using -for example- the css style:

Code:
.ls {
  letter-spacing: 0.2em;
}

Last edited by RbnJrg; 06-15-2013 at 06:40 PM.
RbnJrg is offline   Reply With Quote
Old 06-15-2013, 07:10 PM   #7
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Quote:
Originally Posted by RbnJrg View Post
@phossler: Remember that you can control the space between greek letters by using -for example- the css style:
Remember assumes that I ever knew it

There's SO much to learn

Thanks

Paul
phossler is online now   Reply With Quote
Old 06-15-2013, 10:39 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,725
Karma: 5072190
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by phossler View Post
Thanks for the suggestion, but I didn't see any difference in the way ADE displayed the sub and super scripts

Possibly did it wrong

Code:
.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
	line-height:0;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
	line-height:0;
}
The subscripts (using .sub above seem to sit on the baseline, and not 'sub' to it.)

Paul
I think you need to set the line height on the regular text to 0, not in the sub and sup. Anyway try playing with various line-height values.
DaleDe is offline   Reply With Quote
Old 06-15-2013, 11:15 PM   #9
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Quote:
Originally Posted by DaleDe View Post
I think you need to set the line height on the regular text to 0, not in the sub and sup. Anyway try playing with various line-height values.
Actually, I tried that also, but a lot of the text seemed to overlay

Code:
p {
	text-indent:2em;
	text-align: left;
	font-size: 1em;
	margin-top:0;
	margin-bottom: 1em;
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	line-height:0;
}

.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
}


Paul
Attached Thumbnails
Click image for larger version

Name:	try 2.jpg
Views:	35
Size:	89.9 KB
ID:	107032  
phossler is online now   Reply With Quote
Old 06-16-2013, 02:51 AM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,086
Karma: 5658305
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
If I need to do quotations, I always use the site of Codecogs to create SVG code of it. You can just paste that into the text (CV of course). I will give nice results, that scale with you.
Toxaris is offline   Reply With Quote
Old 06-16-2013, 03:53 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,253
Karma: 4801165
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by phossler View Post
Code:
.sup {
	vertical-align: baseline;
  	position: relative;
  	top: -0.4em;
	font-size: 70%;
	line-height:0;
}
.sub {
	vertical-align: baseline;
	position: relative;
	top: 0.4em;
	font-size: 70%;
	line-height:0;
}
The subscripts (using .sub above seem to sit on the baseline, and not 'sub' to it.)
You are relying on "position: relative", that's not a very wise choice... You should use "line-height: 0" with "vertical-align: sub" and "vertical-align: super" instead, or simply with <sub> and <sup>.
Jellby is offline   Reply With Quote
Old 06-16-2013, 09:44 AM   #12
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 472
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by phossler View Post
Actually, I tried that also, but a lot of the text seemed to overlay

Paul
Hi Paul;

It seems that you didn't watch my epub Superscripts and underscripts are not problems any more in ADE with the following styles:

Code:
sup, sub {
  font-size: 50%;
  line-height: 0.5em;
}
Also, instead of using <sup>anything</sup> or <sub>anything</sub> you can also use directly the following characters:

º ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ª ⁿ ----> for superscripts
₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ----> for underscripts

Of the same way, you can construct fractions by:

Code:
<sup>any numbers</sup>&nbsp;/&nbsp;<sub>any numbers</sub>
Or by employing:

º ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ª ⁿ / ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉

You can construct square roots by using the following style:

Code:
.overline {
  display: inline-table;
  text-indent: 0;
  border-top: 1px solid black;
  text-align: left !important;
  padding-left: 0.5em;
}
and writting in the .html file -for example:

Code:
<p>c = √<span class="overline">a<sup>2</sup> + b<sup>2</sup>&nbsp;</span></p>
or

Code:
<p>c = √<span class="overline">a² + b²&nbsp;</span></p>
Finally, as I told you before, you can control the spaces between letters by:

Code:
.ls {
  letter-spacing: 0.2em; /* of course, instead of 0.2em you'll use the value of your convenience, even negative values*/
}
All of that works in ADE.

Regards

Last edited by RbnJrg; 06-16-2013 at 10:13 AM.
RbnJrg is offline   Reply With Quote
Old 06-16-2013, 11:06 AM   #13
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
@RbnJrg --

Quote:
It seems that you didn't watch my epub Superscripts and underscripts are not problems any more in ADE with the following styles:
No, I really did review the epub you put together to explain (and thanks again). Still looking through it to see what else I can learn.

DaleDe suggested trying line-spacing = 0 and that didn't seem to help doing just that

I'm still working through your sample, but so far I think that the classes for sup and sub work best for inline text, and the font superscript and subscript characters for the hopefully few instances where there's a square root sign. For those the font characters looks much better.

The letter-spacing was a great tip (as I said in #7) and fixes the 'too close' characters. I might do that everywhere since it seems to improve readability.

The text-decoration: overline; was also new to me, and combining with the radical sign does make it look much nicer.

I'll add some new clips for these, but I wonder if there's a way to allow the user to select their own glyphs for [Insert Symbol]?? That would make it more convienent.

So here's where I am for now, thanks to your and Jellby and DaleDe's suggestions

Code:
p {
  font-size: 1em;
  text-align: left;
  margin: 0 0 0.25em;
  text-indent: 0;
}

.indent {
  text-indent: 2em;
}

.overline {
  text-decoration: overline;
}

.underline {
  text-decoration: underline;
}

.jump {
  margin-bottom: 2em;
}

.ls {
  letter-spacing: 0.2em;
}

sup {
	line-height: 0;
	vertical-align: super;
   font-size: 60%;
}

sub {
	line-height: 0;
	vertical-align: sub;
    font-size: 60%;
}
So here's the current version in ADE. There's no line spacing changes caused by tghe sub/super scripts (a good thing), the sub/super scripts are readable, the square root looks nice. Only small thing is the line break between the a and the superscript 2 towards the end. I checked and there is no space between.


All I can say is that I'm glad I don't do this for a living. This whole project started out as doing a favor for my brother, and I wanted to make it look as nice as I could (easily )

Paul
Attached Thumbnails
Click image for larger version

Name:	three.jpg
Views:	43
Size:	116.7 KB
ID:	107050  

Last edited by phossler; 06-16-2013 at 11:16 AM.
phossler is online now   Reply With Quote
Old 06-16-2013, 12:02 PM   #14
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 472
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by phossler View Post
@RbnJrg --

So here's the current version in ADE. There's no line spacing changes caused by tghe sub/super scripts (a good thing), the sub/super scripts are readable, the square root looks nice. Only small thing is the line break between the a and the superscript 2 towards the end. I checked and there is no space between.

Paul
Hi Paul;

If instead of:

Code:
.overline {
  text-decoration: overline;
}
you use:

Code:
.overline {
  display: inline-table;
  text-indent: 0;
  border-top: 1px solid black;
  text-align: left !important;
  padding-left: 0.5em;
}
I think the "line break" should disappear.

And instead of:

Code:
sup {
  line-height: 0;
  vertical-align: super;
  font-size: 60%;
}

sub {
    line-height: 0;
    vertical-align: sub;
    font-size: 60%;
}
do just one try with:

Code:
sup, sub {
   font-size: 60%;
   line-height: 50%;
}
I also think here you'll like the result.
RbnJrg is offline   Reply With Quote
Old 06-16-2013, 01:02 PM   #15
phossler
Addict
phossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensionsphossler can understand the language of future parallel dimensions
 
Posts: 350
Karma: 51406
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Quote:
Originally Posted by RbnJrg View Post
I also think here you'll like the result.
Will do, and thanks again. But it's already looking much better from when I began.

Paul
phossler is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How simple should I make the CSS? Kasper Hviid ePub 9 06-05-2013 08:24 PM
Touch Success with a Nook Simple Touch replacement display. New_Folder Kobo Reader 2 05-25-2013 12:16 PM
Simple Question for the CSS experts out there... Japes Calibre 2 06-24-2011 12:12 AM
css pseudo elements and adjacent combinators in extra css? ldolse Calibre 2 12-21-2010 06:09 PM
Tweak epub and Simple CSS Editor Shadowman123 Calibre 11 09-30-2010 11:07 AM


All times are GMT -4. The time now is 10:47 AM.


MobileRead.com is a privately owned, operated and funded community.