2014 dxdy logo

Научный форум dxdy

Математика, Физика, Computer Science, Machine Learning, LaTeX, Механика и Техника, Химия,
Биология и Медицина, Экономика и Финансовая Математика, Гуманитарные науки




Начать новую тему Ответить на тему На страницу Пред.  1, 2
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 16:58 
Аватара пользователя


17/03/17
683
Львів
Red_Herring, я вставил данную команду сразу после моего второго \begin{figure}[h], но получил ошибку "! Package caption Error: Continued `figure' after `??'.
See the caption package documentation for explanation."

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 17:23 
Заслуженный участник
Аватара пользователя


31/01/14
11333
Hogtown
misha.physics в сообщении #1370173 писал(а):
я вставил данную команду сразу после моего второго \begin{figure}[h], но получил ошибку "! Package caption Error: Continued `figure' after `??'.
See the caption package documentation for explanation."

У меня работает.

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 18:44 
Аватара пользователя


17/03/17
683
Львів
Red_Herring, а может вы ещё что-то дополнительно пишете, я пытаюсь запустить просто так
код: [ скачать ] [ спрятать ]
Используется синтаксис LaTeX
\documentclass[14pt]{article}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage[left=10mm, top=20mm, right=10mm, bottom=20mm]{geometry}

\begin{document}

\begin{figure}[h]
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\end{figure}
\begin{figure}[h]
\ContinuedFloat
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\qquad
\subfloat[]{\includegraphics[width=0.3\columnwidth]{name.pdf}}
\end{figure}

\end{document}
 

И получаю выше описанную ошибку.

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 19:20 
Заслуженный участник
Аватара пользователя


31/01/14
11333
Hogtown
У меня работает, и это документировано. Либо вы что-то не пишите здесь, либо у вас какие-то левые пакеты. Поместите log , чтобы можно было понять, что у вас там не то

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 20:17 
Аватара пользователя


17/03/17
683
Львів
Red_Herring, вот все содержимое log-файла

(log)

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2018.10.27) 20 JAN 2019 19:13
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**1.tex
(./1.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.

(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/subfig/subfig.sty
Package: subfig 2005/06/28 ver: 1.3 subfig package

(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2013/05/02 v3.3-89 Customizing captions (AR)

(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2013/05/02 v1.6-88 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 57.
\captionmargin=\dimen105
\captionmargin@=\dimen106
\captionwidth=\dimen107
\caption@tempdima=\dimen108
\caption@indent=\dimen109
\caption@parindent=\dimen110
\caption@hangindent=\dimen111
)
\c@ContinuedFloat=\count88
)
\c@KVtest=\count89
\sf@farskip=\skip43
\sf@captopadj=\dimen112
\sf@capskip=\skip44
\sf@nearskip=\skip45
\c@subfigure=\count90
\c@subfigure@save=\count91
\c@lofdepth=\count92
\c@subtable=\count93
\c@subtable@save=\count94
\c@lotdepth=\count95
\sf@top=\skip46
\sf@bottom=\skip47
)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count96
\Gm@cntv=\count97
\c@Gm@tempcnt=\count98
\Gm@bindingoffset=\dimen113
\Gm@wd@mp=\dimen114
\Gm@odd@mp=\dimen115
\Gm@even@mp=\dimen116
\Gm@layoutwidth=\dimen117
\Gm@layoutheight=\dimen118
\Gm@layouthoffset=\dimen119
\Gm@layoutvoffset=\dimen120
\Gm@dimlist=\toks15
)

LaTeX Warning: Unused global option(s):
[14pt].

No file 1.aux.
\openout1 = `1.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count99
\scratchdimen=\dimen121
\scratchbox=\box26
\nofMPsegments=\count100
\nofMParguments=\count101
\everyMPshowfont=\toks16
\MPscratchCnt=\count102
\MPscratchDim=\dimen122
\MPnumerator=\count103
\makeMPintoPDFobject=\count104
\everyMPtoPDFconversion=\toks17
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf

(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: subfig package v1.3 is loaded.
Package caption Info: End \AtBeginDocument code.

*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: <default>
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(28.45274pt, 557.38951pt, 28.45274pt)
* v-part:(T,H,B)=(56.9055pt, 681.15898pt, 56.9055pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=557.38951pt
* \textheight=681.15898pt
* \oddsidemargin=-43.81725pt
* \evensidemargin=-43.81725pt
* \topmargin=-52.36449pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=10.0pt
* \footskip=30.0pt
* \marginparwidth=65.0pt
* \marginparsep=11.0pt
* \columnsep=10.0pt
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

<name.pdf, id=1, 231.86626pt x 216.81pt>
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 9.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 11.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)

<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 13.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 15.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 17.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 19.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 21.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)

<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 23.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 25.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 27.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 29.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 31.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.

Underfull \hbox (badness 10000) in paragraph at lines 9--32
[][] [] []
[]


Underfull \hbox (badness 10000) in paragraph at lines 9--32
[] [] []
[]


Underfull \hbox (badness 10000) in paragraph at lines 9--32
[] [] []
[]


LaTeX Warning: Float too large for page by 1.29866pt on input line 32.


LaTeX Warning: `h' float specifier changed to `ht'.


! Package caption Error: Continued `figure' after `??'.

See the caption package documentation for explanation.
Type H <return> for immediate help.
...

l.34 \ContinuedFloat

If you do not understand this error, please take a closer look
at the documentation of the `caption' package, especially the
section about errors.
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 35.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 37.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.
File: name.pdf Graphic file (type pdf)
<use name.pdf>
Package pdftex.def Info: name.pdf used on input line 39.
(pdftex.def) Requested size: 167.21855pt x 156.36443pt.


LaTeX Warning: `h' float specifier changed to `ht'.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} <./name.pdf>] [2]
(./1.aux) )
Here is how much of TeX's memory you used:
3132 strings out of 493304
49187 string characters out of 6139870
115885 words of memory out of 5000000
6594 multiletter control sequences out of 15000+600000
3939 words of font info for 15 fonts, out of 8000000 for 9000
957 hyphenation exceptions out of 8191
44i,9n,47p,254b,343s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.
pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb>
Output written on 1.pdf (2 pages, 25479 bytes).
PDF statistics:
26 PDF objects out of 1000 (max. 8388607)
16 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
6 words of extra memory for PDF output out of 10000 (max. 10000000)

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 20:41 
Заслуженный участник
Аватара пользователя


31/01/14
11333
Hogtown
Скачайте новый пакет caption

 Профиль  
                  
 
 Re: Вставка графиков в 2 столбца
Сообщение20.01.2019, 23:08 
Аватара пользователя


17/03/17
683
Львів
Red_Herring, скачал, архив с файлами .dtx, .ins, .tex и некоторые другие. Ещё не разобрался как установить, но пока нашел ещё решение разместить все 15 графиков на одной странице. Вроде неплохо получилось.

 Профиль  
                  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 22 ]  На страницу Пред.  1, 2

Модераторы: Karan, Toucan, PAV, maxal, Супермодераторы



Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group