Misaligned ColumnsHow can I make two columns in two columnsColumns within columnsAutomatic table generationhow to insert two columns in latex?Dividing a page into independent parts/columns with different widthsBeamer columns misaligned verticallyHow to divide columns into even more columns?Divide document by two independent columnsSet single column fragment inside two columns documentProblem with beamer columns
Auto replacement of characters
My players like to search everything. What do they find?
Does this circuit have marginal voltage level problem?
Can you use a reaction to affect initiative rolls?
Show that there are infinitely more problems than we will ever be able to compute
Can the word "coexist" be used for more than two things/people/subjects/... etc?
How is /a/ pronounced before n/m in French?
How come having a Deathly Hallow is not a big deal?
What caused the flashes in the video footage of Chernobyl?
Performance of loop vs expansion
Who pays for increased security measures on flights to the US?
Need SQL Server VLAN advice.. is it best practice to have all SQL Servers under 1 VLAN/network zone?
C++20 with u8, char8_t and std::string
Was Wolfgang Unzicker the last Amateur GM?
What could a Medieval society do with excess animal blood?
How might boat designs change in order to allow them to be pulled by dragons?
Birthday girl's casino game
Misaligned Columns
What is meaning of 4 letter acronyms in Roman names like Titus Flavius T. f. T. n. Sabinus?
Fine-tuning parameters for existing methods
Should I hide my travel history to the UK when I apply for an Australian visa?
Can I deep fry food in butter instead of vegetable oil?
How did sloshing prevent the Apollo Service Module from moving safely away from the Command Module and how was this fixed?
How to widen the page
Misaligned Columns
How can I make two columns in two columnsColumns within columnsAutomatic table generationhow to insert two columns in latex?Dividing a page into independent parts/columns with different widthsBeamer columns misaligned verticallyHow to divide columns into even more columns?Divide document by two independent columnsSet single column fragment inside two columns documentProblem with beamer columns
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am working on a larger Latex file and am trying to divide one section of that document into two columns. The page that I am dividing into two columns contains six images, so three are displayed in each column. Because only this section of my document is in two columns I used the twocolumn command to create two columns.
chapterExperiments
twocolumn
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
Unfortunately the two columns are slightly misaligned; the second column sits slightly higher on the page than the first.
Does anybody know how to fix this?
Thank you guys very much for your help in advance.
columns
add a comment |
I am working on a larger Latex file and am trying to divide one section of that document into two columns. The page that I am dividing into two columns contains six images, so three are displayed in each column. Because only this section of my document is in two columns I used the twocolumn command to create two columns.
chapterExperiments
twocolumn
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
Unfortunately the two columns are slightly misaligned; the second column sits slightly higher on the page than the first.
Does anybody know how to fix this?
Thank you guys very much for your help in advance.
columns
4
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting withdocumentclassand ending withenddocument.
– marmot
8 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago
add a comment |
I am working on a larger Latex file and am trying to divide one section of that document into two columns. The page that I am dividing into two columns contains six images, so three are displayed in each column. Because only this section of my document is in two columns I used the twocolumn command to create two columns.
chapterExperiments
twocolumn
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
Unfortunately the two columns are slightly misaligned; the second column sits slightly higher on the page than the first.
Does anybody know how to fix this?
Thank you guys very much for your help in advance.
columns
I am working on a larger Latex file and am trying to divide one section of that document into two columns. The page that I am dividing into two columns contains six images, so three are displayed in each column. Because only this section of my document is in two columns I used the twocolumn command to create two columns.
chapterExperiments
twocolumn
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
beginfigure
includegraphics[width=linewidth]example.png
captionexample
labelfig:example
endfigure
Unfortunately the two columns are slightly misaligned; the second column sits slightly higher on the page than the first.
Does anybody know how to fix this?
Thank you guys very much for your help in advance.
columns
columns
edited 7 hours ago
Fee
asked 8 hours ago
FeeFee
112 bronze badges
112 bronze badges
4
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting withdocumentclassand ending withenddocument.
– marmot
8 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago
add a comment |
4
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting withdocumentclassand ending withenddocument.
– marmot
8 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago
4
4
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting with
documentclass and ending with enddocument.– marmot
8 hours ago
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting with
documentclass and ending with enddocument.– marmot
8 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago
add a comment |
3 Answers
3
active
oldest
votes
With floatrow, you get a correct alignment:
documentclassbook
usepackage[showframe]geometry
usepackage[demo]graphicx
usepackagefloatrow
begindocument
beginfigure
beginfloatrow
ffigbox[FBwidth] captionexample1 labelfig:example1%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample2 labelfig:example2%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth]captionexample3 labelfig:example3%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample4 labelfig:example4%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth] captionexample5 labelfig:example5%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample6 labelfig:example6%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
endfigure
enddocument

add a comment |
documentclass[twocolumn]book
usepackage[demo]graphicx
usepackageblindtext
begindocument
Blindtext
clearpage
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
newpage%%%%%%%%%%%%%%
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
enddocument

Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the[twocolumn]and start the image part withtwocolumnchapter...
– Red-Cloud
7 hours ago
add a comment |
With minipages you can also get the desired result:

documentclassbook
usepackagegeometry
usepackage[demo]graphicx
begindocument
beginfigure
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example1
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example2
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example3
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example4
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example5
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example6
endminipage%
endfigure
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f498251%2fmisaligned-columns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
With floatrow, you get a correct alignment:
documentclassbook
usepackage[showframe]geometry
usepackage[demo]graphicx
usepackagefloatrow
begindocument
beginfigure
beginfloatrow
ffigbox[FBwidth] captionexample1 labelfig:example1%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample2 labelfig:example2%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth]captionexample3 labelfig:example3%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample4 labelfig:example4%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth] captionexample5 labelfig:example5%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample6 labelfig:example6%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
endfigure
enddocument

add a comment |
With floatrow, you get a correct alignment:
documentclassbook
usepackage[showframe]geometry
usepackage[demo]graphicx
usepackagefloatrow
begindocument
beginfigure
beginfloatrow
ffigbox[FBwidth] captionexample1 labelfig:example1%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample2 labelfig:example2%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth]captionexample3 labelfig:example3%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample4 labelfig:example4%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth] captionexample5 labelfig:example5%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample6 labelfig:example6%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
endfigure
enddocument

add a comment |
With floatrow, you get a correct alignment:
documentclassbook
usepackage[showframe]geometry
usepackage[demo]graphicx
usepackagefloatrow
begindocument
beginfigure
beginfloatrow
ffigbox[FBwidth] captionexample1 labelfig:example1%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample2 labelfig:example2%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth]captionexample3 labelfig:example3%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample4 labelfig:example4%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth] captionexample5 labelfig:example5%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample6 labelfig:example6%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
endfigure
enddocument

With floatrow, you get a correct alignment:
documentclassbook
usepackage[showframe]geometry
usepackage[demo]graphicx
usepackagefloatrow
begindocument
beginfigure
beginfloatrow
ffigbox[FBwidth] captionexample1 labelfig:example1%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample2 labelfig:example2%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth]captionexample3 labelfig:example3%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample4 labelfig:example4%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
bigskip
beginfloatrow
ffigbox[FBwidth] captionexample5 labelfig:example5%
includegraphics[width=0.9linewidth]img/example.png%
ffigbox[FBwidth] captionexample6 labelfig:example6%
includegraphics[width=0.9linewidth]img/example.png
endfloatrow
endfigure
enddocument

answered 6 hours ago
BernardBernard
183k7 gold badges83 silver badges216 bronze badges
183k7 gold badges83 silver badges216 bronze badges
add a comment |
add a comment |
documentclass[twocolumn]book
usepackage[demo]graphicx
usepackageblindtext
begindocument
Blindtext
clearpage
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
newpage%%%%%%%%%%%%%%
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
enddocument

Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the[twocolumn]and start the image part withtwocolumnchapter...
– Red-Cloud
7 hours ago
add a comment |
documentclass[twocolumn]book
usepackage[demo]graphicx
usepackageblindtext
begindocument
Blindtext
clearpage
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
newpage%%%%%%%%%%%%%%
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
enddocument

Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the[twocolumn]and start the image part withtwocolumnchapter...
– Red-Cloud
7 hours ago
add a comment |
documentclass[twocolumn]book
usepackage[demo]graphicx
usepackageblindtext
begindocument
Blindtext
clearpage
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
newpage%%%%%%%%%%%%%%
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
enddocument

documentclass[twocolumn]book
usepackage[demo]graphicx
usepackageblindtext
begindocument
Blindtext
clearpage
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
newpage%%%%%%%%%%%%%%
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
beginfigure[!htb]
includegraphics[width=linewidth]img/example.png
captionexample
labelfig:example
endfigure
enddocument

answered 8 hours ago
Red-CloudRed-Cloud
4,5182 silver badges17 bronze badges
4,5182 silver badges17 bronze badges
Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the[twocolumn]and start the image part withtwocolumnchapter...
– Red-Cloud
7 hours ago
add a comment |
Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the[twocolumn]and start the image part withtwocolumnchapter...
– Red-Cloud
7 hours ago
Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
Hi, thank you for your reply. However, only the section I discuss in the OG post is in two columns, the remaining text and pages of my document are one column so I didn't use the "documentclass[twocolumn]" command. I tried inserting "newpage" after the third image, but it did not seem to change the position of images the second column
– Fee
7 hours ago
then delete the
[twocolumn] and start the image part with twocolumnchapter...– Red-Cloud
7 hours ago
then delete the
[twocolumn] and start the image part with twocolumnchapter...– Red-Cloud
7 hours ago
add a comment |
With minipages you can also get the desired result:

documentclassbook
usepackagegeometry
usepackage[demo]graphicx
begindocument
beginfigure
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example1
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example2
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example3
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example4
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example5
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example6
endminipage%
endfigure
enddocument
add a comment |
With minipages you can also get the desired result:

documentclassbook
usepackagegeometry
usepackage[demo]graphicx
begindocument
beginfigure
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example1
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example2
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example3
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example4
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example5
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example6
endminipage%
endfigure
enddocument
add a comment |
With minipages you can also get the desired result:

documentclassbook
usepackagegeometry
usepackage[demo]graphicx
begindocument
beginfigure
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example1
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example2
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example3
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example4
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example5
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example6
endminipage%
endfigure
enddocument
With minipages you can also get the desired result:

documentclassbook
usepackagegeometry
usepackage[demo]graphicx
begindocument
beginfigure
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example1
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example2
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example3
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example4
endminipage
medskip
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example5
endminipage%
beginminipage0.5textwidth
includegraphics[width=0.9linewidth]img/example.png
captionexample1 labelfig:example6
endminipage%
endfigure
enddocument
answered 6 hours ago
leandriisleandriis
15.2k1 gold badge11 silver badges36 bronze badges
15.2k1 gold badge11 silver badges36 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f498251%2fmisaligned-columns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
What is the relation between the above code and the output you show? You show a code that includes one graphics, how can this be misaligned? If you want help, post the code that produces the output, starting with
documentclassand ending withenddocument.– marmot
8 hours ago
Hi @marmot, as I said the rest of the relevant code is more images, so the above code five more times. The page I show is one section of a very large document and does not itself contain the begin and end document commands.
– Fee
7 hours ago
This still means you dump the construction of an example on others, and, what is even more important, things do depend on the specifics of your document. If you want to get an answer that is useful for you, provide a starting point that explains what you are doing. It seems the answer you got precisely suffers from insufficient information from your side.
– marmot
7 hours ago