LaTeX forum ⇒ LyXHelp centering legend

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
sousou
Posts: 1
Joined: Tue Sep 18, 2018 10:24 am

Help centering legend

Postby sousou » Tue Sep 18, 2018 11:40 am

I am new with LATEX and I am writing my report with LYX but I find huge difficulties in making the legend centered ! here is an exemple of my figures ( fig 1 ) , the legend is extending all the page ! I want it to be centered like (fig 2) ! I've tried the command \centering but in vain .
Attachments
Capture du 2018-09-18 10-37-25.png
fig 2
Capture du 2018-09-18 10-37-25.png (143.42 KiB) Viewed 251 times
Capture du 2018-09-18 09-22-23.png
fig 1
Capture du 2018-09-18 09-22-23.png (139.24 KiB) Viewed 251 times

Tags:

diazdeus
Posts: 5
Joined: Fri Sep 28, 2018 9:34 pm

Postby diazdeus » Sat Sep 29, 2018 3:48 am

With the caption package you can do that you needs... See the documentation.


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 2 guests