LyXhow to make word table bold

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
besbesmany
Posts: 9
Joined: Wed Jul 18, 2012 1:09 am

how to make word table bold

Post by besbesmany »

I want to make word table bold and put caption below word table, also i want both word table and caption to be most left justified with left border of table , like this

Table1
This is table1 caption

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

how to make word table bold

Post by Stefan Kottwitz »

You could load the caption package with the desired settings. For this, add to your document preamble:

Code: Select all

\usepackage[labelfont=bf, labelsep=newline, justification=raggedright,
  singlelinecheck=false]{caption}
Open it via the LyX main menu, Document / Settings / LaTeX preamble:
caption.png
caption.png (38.46 KiB) Viewed 6438 times
Stefan
LaTeX.org admin
besbesmany
Posts: 9
Joined: Wed Jul 18, 2012 1:09 am

how to make word table bold

Post by besbesmany »

Thanks it works but i still have some problems

I want size of word Table1 be small as caption

also there is a big space like a new line between caption text and table top frame
is there any solution for that??
besbesmany
Posts: 9
Joined: Wed Jul 18, 2012 1:09 am

how to make word table bold

Post by besbesmany »

I tried this

Code: Select all

\usepackage[labelfont=bf,labelsep=newline,justification=raggedright,singlelinecheck=false,font=small]{caption}
but stil word Table1 are bigger thatn caption text
Last edited by cgnieder on Tue Aug 28, 2012 3:24 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: how to make word table bold

Post by Stefan Kottwitz »

Perhaps post a small working example, because the solution may depend for example on the class which your LyX document bases on. With a standard document, my solution works as expected. I know, that for example with KOMA classes it can be different, since they have a different caption handling.

Stefan
LaTeX.org admin
besbesmany
Posts: 9
Joined: Wed Jul 18, 2012 1:09 am

Re: how to make word table bold

Post by besbesmany »

I want table to be like picture wanted.png to be like the other

also i want to ask if i can make table bigger like the other attached table, I see that table take the full width of the page while mine is small width
what i can do?
Attachments
wanted.png
wanted.png (29.69 KiB) Viewed 6433 times
want to modify.png
want to modify.png (32.74 KiB) Viewed 6433 times
besbesmany
Posts: 9
Joined: Wed Jul 18, 2012 1:09 am

Re: how to make word table bold

Post by besbesmany »

I use elsarticle class with 2 column document but i made span columns so table will span over 2column document
Post Reply