LaTeX forum ⇒ Graphics, Figures & TablesPhotos and list of photos

Information and discussion about graphics, figures & tables in LaTeX documents.
Piotr
Posts: 2
Joined: Sun Aug 14, 2022 1:30 pm

Photos and list of photos

Postby Piotr » Sun Aug 14, 2022 1:33 pm

Hello everyone,
I have a question. In my work, apart from drawings, I also have photos. I know that a list of drawings is created with the command \listoffigures, but is it possible to number them separately and create a list for photos?

Regards
Last edited by Piotr on Sun Aug 14, 2022 2:08 pm, edited 1 time in total.

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
MjK
Posts: 47
Joined: Fri Jan 28, 2022 6:09 pm

Photos and list of photos

Postby MjK » Sun Aug 14, 2022 1:58 pm

Yes. There are several packages, that provide creation of additional floats. See, e.g., the remarkbox environment example in section 15.6 of the KOMA-Script manual. Table 15.3 also lists a comparison of commands, counters etc. related to figures and the new environment. So it should be very easy to create something like a photo environment similar to the given example. Alternatively see, e.g. package newfloat.

If you need more help, please show a Infominimal working example (and please mark it correctly as CODE—not as MWE).
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.

Piotr
Posts: 2
Joined: Sun Aug 14, 2022 1:30 pm

Photos and list of photos

Postby Piotr » Mon Aug 15, 2022 1:11 pm

Hi,
Thank you very much for your help and targeting KOMA-script. Currently, I have managed to create appropriate captions for photos and numbering for chapters. The only thing I can't deal with is the "Undefined control sequence" error I get in LaTeX when compiling the code:
\DeclareTOCStyleEntry [%
    numwidth = 1 em%
] {tocline} {chapter}


I would like to change the value of numwidth. Without what I wrote above, everything compiles, that is (a piece of code):
\documentclass[a4paper]{mwrep}
\usepackage {tocbasic}


\DeclareNewTOC [%
type = remarkbox,%
types = remarkboxes,%
float,%
floattype = 4,%
name = Remark,%
listname = {List of Remarks}%] {lor}
\setuptoc {lor} {chapteratlist}

\newcommand*{\listofremarkboxes}{\listoftoc {lor}}


For submitting the document, I use the mwrep class, which is intended for writing documents in Polish.

User avatar
MjK
Posts: 47
Joined: Fri Jan 28, 2022 6:09 pm

Photos and list of photos

Postby MjK » Tue Aug 16, 2022 9:00 am

MjK wrote:If you need more help, please show a Infominimal working example

not only a code snippet. See the link for more information.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 2 guests