Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2023, 08:09 PM   #1
daiweisc
Junior Member
daiweisc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: PC
Have an example template or plugin for creating tables?

Have an example template or plugin for creating tables?
daiweisc is offline   Reply With Quote
Old 05-30-2023, 08:53 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Sure. See some of my previous posts in:

And welcome to MobileRead!
Tex2002ans is offline   Reply With Quote
Advert
Old 05-31-2023, 08:08 AM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by daiweisc View Post
Have an example template or plugin for creating tables?
Welcome to MR!!

Tex has several good examples on how to design your table - definitely take a look at those threads.

As for the mechanics of adding a table into Sigil - I use clips and then copy paste as necessary.

I set the clip bars to be visible just below the icons then set a 'Table' clip to:
Code:
<table class="">
 <thead>
  <tr><th colspan="2"></th></tr>
 </thead>
 <tfoot>
  <tr><td colspan="2"></td></tr>
 </tfoot>
 <tbody>
  <tr><td></td><td></td></tr>
  <tr><td></td><td></td></tr>
 </tbody>
</table>
Then I can insert this template wherever the cursor is placed.

You might need to use copy/paste to adjust the number of columns/rows of your table...and of course use CSS to style the table according to your wishes.

Cheers!
Turtle91 is offline   Reply With Quote
Old 05-31-2023, 10:02 AM   #4
daiweisc
Junior Member
daiweisc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2023
Device: PC
Your answer is very useful.
daiweisc is offline   Reply With Quote
Old 05-31-2023, 01:56 PM   #5
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
As for the mechanics of adding a table into Sigil - I use clips and then copy paste as necessary.

I set the clip bars to be visible just below the icons then set a 'Table' clip[...]:
Yep, exactly what I do too. I have a simple "Table" HTML clip saved, then click that + copy/paste more rows as needed.
Tex2002ans is offline   Reply With Quote
Advert
Old 05-31-2023, 04:25 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
@daiweisc you can also generate simple tables with the HTML Tables Generator website.
Doitsu is offline   Reply With Quote
Old 05-31-2023, 04:52 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Libre Office Calc can export a spreadsheet as XHTML (it contains table code).
theducks is offline   Reply With Quote
Reply

Tags
sigil table


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI plugin] Extract tables of contents Phssthpok Plugins 3 02-11-2024 07:47 AM
Help Creating Save to Disk template Proteus2626 Library Management 1 11-13-2022 06:47 PM
creating template EricAriens Library Management 1 08-31-2013 02:39 PM
Set template for device in plugin matyilona Plugins 1 05-04-2013 11:10 PM
Trouble creating a plugin. A0tmsk Plugins 2 04-26-2011 12:19 AM


All times are GMT -4. The time now is 12:53 PM.


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