Search found 9 matches

by loujing
Sat Oct 08, 2016 5:00 pm
Forum: Graphics, Figures & Tables
Topic: How to change the vspace of subfigures to a fixed value? Topic is solved
Replies: 2
Views: 8070

Re: How to change the vspace of subfigures to a fixed value? Topic is solved

How to change the vspace of subfigures and caption to a fixed value as shown in the uploaded figure (totally 4 places), e.g. 2pt? The center environment adds vertical space upon opening and closing. Within a float, such as figure , this vertical space is normally not wanted, because the float surro...
by loujing
Wed Oct 05, 2016 9:53 pm
Forum: Graphics, Figures & Tables
Topic: How to change the vspace of subfigures to a fixed value? Topic is solved
Replies: 2
Views: 8070

How to change the vspace of subfigures to a fixed value? Topic is solved

My demo code is as follows. How to change the vspace of subfigures and caption to a fixed value as shown in the uploaded figure (totally 4 places), e.g. 2pt? \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \begin{document} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla...
by loujing
Wed Oct 05, 2016 6:15 pm
Forum: Graphics, Figures & Tables
Topic: How to move the caption of a subfigure right? Topic is solved
Replies: 7
Views: 11355

Re: How to move the caption of a subfigure right? Topic is solved

It seems that you still load subfigure , so you get a clash with the subfig package (same commands, since it's the successor). Find where you load subfigure still, and remove it. If necessary, upload the full template as .zip file as attachment, if you like. Stefan Thank you for your code and sugge...
by loujing
Wed Oct 05, 2016 5:03 am
Forum: Graphics, Figures & Tables
Topic: How to move the caption of a subfigure right? Topic is solved
Replies: 7
Views: 11355

Re: How to move the caption of a subfigure right? Topic is solved

It seems that you still load subfigure , so you get a clash with the subfig package (same commands, since it's the successor). Find where you load subfigure still, and remove it. If necessary, upload the full template as .zip file as attachment, if you like. Stefan Thanks. My template is downloaded...
by loujing
Tue Oct 04, 2016 6:56 pm
Forum: Graphics, Figures & Tables
Topic: How to move the caption of a subfigure right? Topic is solved
Replies: 7
Views: 11355

Re: How to move the caption of a subfigure right? Topic is solved

How much does it hurt do change to subfig ? It only affects subfigures, so no worries about other things, and the changes are simple, as you can see above. That's easier than hacking the old unsupported subfigure package. Stefan Thanks for your suggestion. Sorry, I'm not familiar to LaTeX. I search...
by loujing
Tue Oct 04, 2016 5:54 pm
Forum: Graphics, Figures & Tables
Topic: How to move the caption of a subfigure right? Topic is solved
Replies: 7
Views: 11355

Re: How to move the caption of a subfigure right? Topic is solved

Very good minimal example! The subfigure package is obsolete, it's recommended to use the subfig package instead. You could use the \captionsetup command to define a margin for the shifting. You can call it before each sub float command to adjust as needed. \documentclass{article} \usepackage{subfi...
by loujing
Tue Oct 04, 2016 5:20 pm
Forum: Graphics, Figures & Tables
Topic: How to move the caption of a subfigure right? Topic is solved
Replies: 7
Views: 11355

How to move the caption of a subfigure right? Topic is solved

My demo code is as follows. Now the caption of each subfigure is displayed centered. How can I move each caption (including the counter) by 0.5cm right? [PS: I want the caption "(a) Data" is aligned centrally to the center of "Threshold".] 3.png Thanks for your help. \documentcla...
by loujing
Tue Jun 02, 2015 9:33 am
Forum: Math & Science
Topic: Align equations in pseudocode Topic is solved
Replies: 2
Views: 4982

Re: Align equations in pseudocode Topic is solved

Hi and welcome, very good that you provided an example code. It is much more comfortable if a helper does not have to retype text and knows exactely how the output is generated. So far, i could come up with the following. The symbols are not aligned to the right, but looks much better know. Maybe s...
by loujing
Mon Jun 01, 2015 8:04 pm
Forum: Math & Science
Topic: Align equations in pseudocode Topic is solved
Replies: 2
Views: 4982

Align equations in pseudocode Topic is solved

Hello, Sorry, my english is poor. I have written a pseudocode in which there are some equations like the figure blow. QQ截图20150602005659.png Now i would like the equations from lines #4-#7 to align at \leftarrow , and the symbols on the left size of \leftarrow are right aligned. The others remain un...

Go to advanced search