Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add input caption, especially for image? #119

Open
mrzResearchArena opened this issue Sep 15, 2021 · 3 comments
Open

How can I add input caption, especially for image? #119

mrzResearchArena opened this issue Sep 15, 2021 · 3 comments

Comments

@mrzResearchArena
Copy link

I need to add an image caption. Could you please assist me to add it?

@pranavkantgaur
Copy link

pranavkantgaur commented Sep 20, 2021

@mrzResearchArena The issue with using \caption and also \name command is that they are also defined in this package, see here:
https://github.com/HarisIqbal88/PlotNeuralNet/blob/master/layers/Ball.sty#L28
https://github.com/HarisIqbal88/PlotNeuralNet/blob/master/layers/Ball.sty#L29


I resolved the issue by renaming these commands.

@mrzResearchArena
Copy link
Author

Thanks for your response. I tried to add a caption in the image input. However, I could not do it yet.
In addition, it will be helpful for me if you assist more about it.

https://pastebin.com/NExDJAyY

@mrzResearchArena mrzResearchArena changed the title How can I add input caption? How can I add input caption, especially for image? Sep 20, 2021
@Sirius291
Copy link

Same problem here.
My workaround is this: I generate the tikzpicture depicting my architecture separately, as a single file.
I compile with pdflatex and treat the resulting pdf as an image in my actual latex document. When you use the package "graphicx", you can simply add pdfs as an image via the "\includegraphics" command and put a figure environment around it as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants