New command based on subpicture packageExtra command in subfig packageNew line with subfig's subfloatsubfig package displays “figure” below captionSubfig package: Undefined control sequence includegraphicsError on including subfig packageSubcaption package not doing what I want it to doSubcaption package (problem with vfill)How to include two subfigures using the subfig-package instead of subcaption packagethe problem about package subfloatsubfig package in nature document class

When were female captains banned from Starfleet?

How could a planet have erratic days?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Biological Blimps: Propulsion

Does the Linux kernel need a file system to run?

What if you are holding an Iron Flask with a demon inside and walk into Antimagic Field?

Open a doc from terminal, but not by its name

How can mimic phobia be cured?

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

Why is short-wave infrared portion of electromagnetic spectrum so sensitive to fire?

Using substitution ciphers to generate new alphabets in a novel

Can disgust be a key component of horror?

How can I write humor as character trait?

Why "had" in "[something] we would have made had we used [something]"?

Pre-mixing cryogenic fuels and using only one fuel tank

Quasinilpotent , non-compact operators

Make a Bowl of Alphabet Soup

Add big quotation marks inside my colorbox

Is this toilet slogan correct usage of the English language?

Temporarily disable WLAN internet access for children, but allow it for adults

Can a college of swords bard use blade flourish on an OA from dissonant whispers?

How do you make your own symbol when Detexify fails?

Does IPv6 have similar concept of network mask?

Plot of a tornado-shaped surface



New command based on subpicture package


Extra command in subfig packageNew line with subfig's subfloatsubfig package displays “figure” below captionSubfig package: Undefined control sequence includegraphicsError on including subfig packageSubcaption package not doing what I want it to doSubcaption package (problem with vfill)How to include two subfigures using the subfig-package instead of subcaption packagethe problem about package subfloatsubfig package in nature document class













0















I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you my trials here:



documentclass[a4paper,12pt, twoside]article
usepackagefontspec
usepackagecaption
usepackagesubcaption
usepackagefancyhdr
usepackageamsmath
usepackagegensymb
usepackagefloat
usepackagegeometry
usepackagegraphicx
usepackageindentfirst
usepackagesiunitx
usepackagepolski
usepackage[utf8]inputenc
usepackagescrextend
usepackagesubfigure
usepackagehyperref
usepackageccaption

graphicspath access path

begindocument

%The first way%
newfloatpicturethplop
floatnamepictureZdjęcie
newcommandlistofpictureslistofpictureSpis zdjęć
%Allows you to insert only one photo. I can't put several at once.

%The second way%
makeatletter
newcountersubphoto[photo]
newififphototopcap
newififsubphototopcap
newcommandp@subphotothephoto
newcommandthesubphoto(alphsubphoto)
newcommand@thesubphotothephotohskipsubfiglabelskip
newcommand@@thesubpgotothephoto
newcommandext@subphotoext@photo
newcommandl@subphoto@dottedxxxlineext@subphoto23.8em2.5em
newcounterlomdepth
setcounterlomdepth1
newcommandsubphotosubfigure
newcommand@makesubphotocaption@makesubfigurecaption
ifhyperrefloaded
newcommandtheHsubphotothephoto.arabicsubphoto
newcommandtoclevel@subphoto1
fi
makeatother
%It's based on the code contained in the subfigure documentation [ftp://ftp.gust.org.pl/TeX/obsolete/macros/latex/contrib/subfigure/subfigure.pdf][1] I use packages subfigure and hyperref in this case.

%The third way%
newsubfloatphoto
%Based on the ccaption package. There is the same error as in the second example.

%Inserting a photo%
beginphoto[!tbp]
begincenter
beginsubphoto[b]0.3textwidth
includegraphics[width=1linewidth]A.png
captionCaptionA.
endsubphoto
beginsubphoto[b]0.3textwidth
includegraphics[width=1linewidth]B.png
captionCaptionB.
endsubphoto
caption[Main caption.][Main caption.}
endcenter
endphoto

listofphotos
enddocument


Thank you for your help.









share









New contributor




Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    0















    I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you my trials here:



    documentclass[a4paper,12pt, twoside]article
    usepackagefontspec
    usepackagecaption
    usepackagesubcaption
    usepackagefancyhdr
    usepackageamsmath
    usepackagegensymb
    usepackagefloat
    usepackagegeometry
    usepackagegraphicx
    usepackageindentfirst
    usepackagesiunitx
    usepackagepolski
    usepackage[utf8]inputenc
    usepackagescrextend
    usepackagesubfigure
    usepackagehyperref
    usepackageccaption

    graphicspath access path

    begindocument

    %The first way%
    newfloatpicturethplop
    floatnamepictureZdjęcie
    newcommandlistofpictureslistofpictureSpis zdjęć
    %Allows you to insert only one photo. I can't put several at once.

    %The second way%
    makeatletter
    newcountersubphoto[photo]
    newififphototopcap
    newififsubphototopcap
    newcommandp@subphotothephoto
    newcommandthesubphoto(alphsubphoto)
    newcommand@thesubphotothephotohskipsubfiglabelskip
    newcommand@@thesubpgotothephoto
    newcommandext@subphotoext@photo
    newcommandl@subphoto@dottedxxxlineext@subphoto23.8em2.5em
    newcounterlomdepth
    setcounterlomdepth1
    newcommandsubphotosubfigure
    newcommand@makesubphotocaption@makesubfigurecaption
    ifhyperrefloaded
    newcommandtheHsubphotothephoto.arabicsubphoto
    newcommandtoclevel@subphoto1
    fi
    makeatother
    %It's based on the code contained in the subfigure documentation [ftp://ftp.gust.org.pl/TeX/obsolete/macros/latex/contrib/subfigure/subfigure.pdf][1] I use packages subfigure and hyperref in this case.

    %The third way%
    newsubfloatphoto
    %Based on the ccaption package. There is the same error as in the second example.

    %Inserting a photo%
    beginphoto[!tbp]
    begincenter
    beginsubphoto[b]0.3textwidth
    includegraphics[width=1linewidth]A.png
    captionCaptionA.
    endsubphoto
    beginsubphoto[b]0.3textwidth
    includegraphics[width=1linewidth]B.png
    captionCaptionB.
    endsubphoto
    caption[Main caption.][Main caption.}
    endcenter
    endphoto

    listofphotos
    enddocument


    Thank you for your help.









    share









    New contributor




    Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you my trials here:



      documentclass[a4paper,12pt, twoside]article
      usepackagefontspec
      usepackagecaption
      usepackagesubcaption
      usepackagefancyhdr
      usepackageamsmath
      usepackagegensymb
      usepackagefloat
      usepackagegeometry
      usepackagegraphicx
      usepackageindentfirst
      usepackagesiunitx
      usepackagepolski
      usepackage[utf8]inputenc
      usepackagescrextend
      usepackagesubfigure
      usepackagehyperref
      usepackageccaption

      graphicspath access path

      begindocument

      %The first way%
      newfloatpicturethplop
      floatnamepictureZdjęcie
      newcommandlistofpictureslistofpictureSpis zdjęć
      %Allows you to insert only one photo. I can't put several at once.

      %The second way%
      makeatletter
      newcountersubphoto[photo]
      newififphototopcap
      newififsubphototopcap
      newcommandp@subphotothephoto
      newcommandthesubphoto(alphsubphoto)
      newcommand@thesubphotothephotohskipsubfiglabelskip
      newcommand@@thesubpgotothephoto
      newcommandext@subphotoext@photo
      newcommandl@subphoto@dottedxxxlineext@subphoto23.8em2.5em
      newcounterlomdepth
      setcounterlomdepth1
      newcommandsubphotosubfigure
      newcommand@makesubphotocaption@makesubfigurecaption
      ifhyperrefloaded
      newcommandtheHsubphotothephoto.arabicsubphoto
      newcommandtoclevel@subphoto1
      fi
      makeatother
      %It's based on the code contained in the subfigure documentation [ftp://ftp.gust.org.pl/TeX/obsolete/macros/latex/contrib/subfigure/subfigure.pdf][1] I use packages subfigure and hyperref in this case.

      %The third way%
      newsubfloatphoto
      %Based on the ccaption package. There is the same error as in the second example.

      %Inserting a photo%
      beginphoto[!tbp]
      begincenter
      beginsubphoto[b]0.3textwidth
      includegraphics[width=1linewidth]A.png
      captionCaptionA.
      endsubphoto
      beginsubphoto[b]0.3textwidth
      includegraphics[width=1linewidth]B.png
      captionCaptionB.
      endsubphoto
      caption[Main caption.][Main caption.}
      endcenter
      endphoto

      listofphotos
      enddocument


      Thank you for your help.









      share









      New contributor




      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you my trials here:



      documentclass[a4paper,12pt, twoside]article
      usepackagefontspec
      usepackagecaption
      usepackagesubcaption
      usepackagefancyhdr
      usepackageamsmath
      usepackagegensymb
      usepackagefloat
      usepackagegeometry
      usepackagegraphicx
      usepackageindentfirst
      usepackagesiunitx
      usepackagepolski
      usepackage[utf8]inputenc
      usepackagescrextend
      usepackagesubfigure
      usepackagehyperref
      usepackageccaption

      graphicspath access path

      begindocument

      %The first way%
      newfloatpicturethplop
      floatnamepictureZdjęcie
      newcommandlistofpictureslistofpictureSpis zdjęć
      %Allows you to insert only one photo. I can't put several at once.

      %The second way%
      makeatletter
      newcountersubphoto[photo]
      newififphototopcap
      newififsubphototopcap
      newcommandp@subphotothephoto
      newcommandthesubphoto(alphsubphoto)
      newcommand@thesubphotothephotohskipsubfiglabelskip
      newcommand@@thesubpgotothephoto
      newcommandext@subphotoext@photo
      newcommandl@subphoto@dottedxxxlineext@subphoto23.8em2.5em
      newcounterlomdepth
      setcounterlomdepth1
      newcommandsubphotosubfigure
      newcommand@makesubphotocaption@makesubfigurecaption
      ifhyperrefloaded
      newcommandtheHsubphotothephoto.arabicsubphoto
      newcommandtoclevel@subphoto1
      fi
      makeatother
      %It's based on the code contained in the subfigure documentation [ftp://ftp.gust.org.pl/TeX/obsolete/macros/latex/contrib/subfigure/subfigure.pdf][1] I use packages subfigure and hyperref in this case.

      %The third way%
      newsubfloatphoto
      %Based on the ccaption package. There is the same error as in the second example.

      %Inserting a photo%
      beginphoto[!tbp]
      begincenter
      beginsubphoto[b]0.3textwidth
      includegraphics[width=1linewidth]A.png
      captionCaptionA.
      endsubphoto
      beginsubphoto[b]0.3textwidth
      includegraphics[width=1linewidth]B.png
      captionCaptionB.
      endsubphoto
      caption[Main caption.][Main caption.}
      endcenter
      endphoto

      listofphotos
      enddocument


      Thank you for your help.







      subfloats





      share









      New contributor




      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share









      New contributor




      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share








      edited 3 mins ago







      Wierszokleta













      New contributor




      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 mins ago









      WierszokletaWierszokleta

      83




      83




      New contributor




      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Wierszokleta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes











          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
          );



          );






          Wierszokleta is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480978%2fnew-command-based-on-subpicture-package%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Wierszokleta is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Wierszokleta is a new contributor. Be nice, and check out our Code of Conduct.












          Wierszokleta is a new contributor. Be nice, and check out our Code of Conduct.











          Wierszokleta is a new contributor. Be nice, and check out our Code of Conduct.














          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480978%2fnew-command-based-on-subpicture-package%23new-answer', 'question_page');

          );

          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







          Popular posts from this blog

          acmart: Multiple authors: all with same affiliation, one author an additional affiliationHow to Write Names of Multiple Authors with Shared Affiliation in ACM 2017 Template?Multiple authors with different primary affiliation, but same additional affiliationSame affiliation for all authors without extra packagesIOS-Book-Article.cls: one author with multiple affiliationacmart: Shared Author AffiliationMultiple authors with different primary affiliation, but same additional affiliationAuthor affiliation with only 1 authorAdding Multiple Authors with Different Affiliation in LaTeX ArticleLaTeX: Multiple authors stays on same lineHow to Label Multiple Authors with Same DescriptionHow to make two authors use the same affiliationTwo authors with same affiliation on finished front page

          How to write “ä” and other umlauts and accented letters in bibliography?Accents in BibTeXSorting references with special characters alphabeticallyUse ae ligature in bibliographyEastern European nameInverted circumflex in BibTexBibTex, non-ascii initials and nameptr fproblems with accent in LatexHow to add a Ø to my bibliography from Jabref?References without accentsTroubles when trying to cite St“omer-Verlet in ”title" field of a bib entryComprehensive list of accented charactersHow to type the letter “i” with two dots (diaeresis) in math mode?Problem with glossary text and accented lettersSpecial character in bibliographyAccented letters, Unicode and LaTeX accentsHow to stop natbib from modifying bibliography styleCitation of a paper with non-standard characters by BibtexWrite accented characters to file using writeHow to group the bibliography alphabetically, if some surnames start with “accented” characters?How can I automatically capitalize significant words in my bibliography?

          Problem using RevTeX4-1 with “! Undefined control sequence. @bibitemShut”