Cannot group image and caption together

%3CLINGO-SUB%20id%3D%22lingo-sub-2627064%22%20slang%3D%22de-DE%22%3ECannot%20group%20image%20and%20caption%20together%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2627064%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20writing%20my%20masters%20thesis%20and%20experience%20the%20following%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20several%20images%20in%20my%20document%20(all%20with%20text%20wrapping%2C%20NOT%20in%20line)%20and%20want%20to%20add%20numbered%20captions%20for%20my%20automatically%20generated%20table%20of%20figures.%3C%2FP%3E%3CP%3EThe%20problem%20is%2C%20when%20right-clicking%20on%20an%20image%20and%20selecting%20%22add%20caption%22%2C%20the%20text%20box%20of%20the%20caption%20is%20not%20groupable%20with%20the%20image.%20The%20text%20box%20has%20a%20different%20kind%20of%20border%20than%20one%20would%20expect%2C%20see%20image%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22osto1017_0-1628507256689.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301748iD053DB583FC0EBC3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22osto1017_0-1628507256689.png%22%20alt%3D%22osto1017_0-1628507256689.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20reference%2C%20I%20tried%20to%20recreate%20the%20issue%20in%20a%20new%20document%2C%20and%20there%20the%20caption%20has%20a%20%22normal%22%2C%20groupable%20textbox%2C%20see%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22osto1017_1-1628507323312.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301749iD6EE7671B27BAA8B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22osto1017_1-1628507323312.png%22%20alt%3D%22osto1017_1-1628507323312.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20any%20one%20of%20you%20have%20an%20idea%20how%20to%20move%20forward%20and%20fix%20this%20issue%3F%20The%20upper%20version%20of%20the%20caption%20box%20isnt%20groupable%20and%20moveable%2C%20so%20it%20is%20very%20hard%20to%20work%20with%20and%20it%20messes%20up%20the%20document%20at%20serveral%20points.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot%20and%20have%20a%20great%20day!%3C%2FP%3E%3CP%3ETobi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2627064%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3ECaption%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eimage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etextbox%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWord%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2630973%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20group%20image%20and%20caption%20together%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2630973%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1123869%22%20target%3D%22_blank%22%3E%40osto1017%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3Ebefore%20I%20give%20you%20my%20reply%2C%20let%20me%20please%20ask%20you%20-%20what%20are%20you%20trying%20to%20achive%20by%20%22grouping%22%20the%20caption%20with%20the%20image%3F%20Why%20is%20your%20caption%20a%20text%20box%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20reason%20I%20ask%20is%20that%20you%20seem%20to%20be%20trying%20to%20achieve%20something%20I%20would%20expect%20to%20see%20in%20PowerPoint%20rather%20than%20in%20Word.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20captions%20are%20fields%20and%20can%20be%20styled%20as%20they%20are%20essentially%20text%20(well%2C%20not%20really%2C%20but%20for%20the%20sake%20of%20this%20conversation%20yes).%20Pictures%20and%20tables%20are%20objects.%26nbsp%3BYou%20don't%20%22group%22%20captions%20(%3D%20paragraphs)%20with%20pictures.%20That's%20a%20thing%20you%20do%20in%20PowerPoint%20but%20not%20in%20Word.%20Grouping%20works%20for%20objects%20only.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20you%20do%3A%3C%2FP%3E%3CP%3E-%20You%20'insert'%20captions.%20You%20find%20them%20in%20the%20'References'%20ribbon.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20To%20make%20them%20%22stick%22%20with%20the%20picture%2Ftable%2Fobject%20below%20them%2C%20you%20mark%26nbsp%3B%3CEM%3Ethe%20paragraph%20of%20the%20caption%3C%2FEM%3E%20(and%20%3CSTRONG%3Ethat%20only%3C%2FSTRONG%3E)%20with%20Keep%20with%20next%20(Home%20%E2%86%92%20Paragraph%20%E2%86%92%20Line%20and%20Page%20breaks).%3C%2FP%3E%3CP%3E%3CU%3ENote%3C%2FU%3E%3A%20The%20above%20works%20only%20IF%20a%20caption%20is%20ABOVE%20an%20object%20(which%20is%20what%20you%20are%20doing%2C%20seeing%20the%20screen-shot).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20us%20know%20if%20this%20helped%20you.%20L.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello,

 

I am writing my masters thesis and experience the following issue:

 

I have several images in my document (all with text wrapping, NOT in line) and want to add numbered captions for my automatically generated table of figures.

The problem is, when right-clicking on an image and selecting "add caption", the text box of the caption is not groupable with the image. The text box has a different kind of border than one would expect, see image:

 

osto1017_0-1628507256689.png

 

 

For reference, I tried to recreate the issue in a new document, and there the caption has a "normal", groupable textbox, see:

 

osto1017_1-1628507323312.png

 

Does any one of you have an idea how to move forward and fix this issue? The upper version of the caption box isnt groupable and moveable, so it is very hard to work with and it messes up the document at serveral points.

 

Thanks a lot and have a great day!

Tobi

 

3 Replies

Hello @osto1017 ,

before I give you my reply, let me please ask you - what are you trying to achive by "grouping" the caption with the image? Why is your caption a text box?

 

The reason I ask is that you seem to be trying to achieve something I would expect to see in PowerPoint rather than in Word.

 

The captions are fields and can be styled as they are essentially text (well, not really, but for the sake of this conversation yes). Pictures and tables are objects. You don't "group" captions (= paragraphs) with pictures. That's a thing you do in PowerPoint but not in Word. Grouping works for objects only.

 

What you do:

- You 'insert' captions. You find them in the 'References' ribbon. 

- To make them "stick" with the picture/table/object below them, you mark the paragraph of the caption (and that only) with Keep with next (Home → Paragraph → Line and Page breaks).

Note: The above works only IF a caption is ABOVE an object (which is what you are doing, seeing the screen-shot).

 

Let us know if this helped you. L.

Hi, did you figure this out? It has also happened to my document for my dissertation. Like yourself it works properly on other documents and was working properly prior to it not.
I strongly recommend that you have the layout of all images set so that they are In-line with Text as then, your document will be far less likely to becoming corrupted as a result of mis-matched xml tag errors.
When images are set with that layout, they will be inserted into a paragraph which can be formatted so that it is kept with the next paragraph into which you can insert the caption.
If you want the caption above the image, format the paragraph containing the caption so it is kept with the next paragraph that contains the image.