이것은 adjustbox
매뉴얼에서 따온 것입니다:
\documentclass{article}
\usepackage{adjustbox}
\begin{document}
Before
\adjustbox{padding*=1ex 2ex 3ex 4ex,frame,margin*=1ex 2ex 3ex 4ex}{Text}
After
\end{document}
하지만 여기서는 작동하지 않습니다.
내가 무엇을 놓치고 있나요?
TeX Live 14가 완전히 업데이트되었습니다.
통나무:
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex 2014.9.26) 30 SEP 2014 15:47
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**tex-se3.tex
(./tex-se3.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 9 languages loaded.
(/home/franz/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/home/franz/texlive/2014/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
) (./adjustbox.sty) (./tex-se3.aux)
\openout1 = `tex-se3.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
! Undefined control sequence.
l.6 \adjustbox
{padding*=1ex 2ex 3ex 4ex,frame,margin*=1ex 2ex 3ex 4ex}{Text}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
[1
{/home/franz/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./tex-se3.aux) )
Here is how much of TeX's memory you used:
208 strings out of 494900
2253 string characters out of 6178175
47324 words of memory out of 5000000
3521 multiletter control sequences out of 15000+600000
3640 words of font info for 14 fonts, out of 8000000 for 9000
81 hyphenation exceptions out of 8191
23i,4n,17p,137b,107s stack positions out of 5000i,500n,10000p,200000b,80000s
</home/franz/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/
cm/cmr10.pfb>
Output written on tex-se3.pdf (1 page, 15025 bytes).
PDF statistics:
12 PDF objects out of 1000 (max. 8388607)
7 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
답변1
문제는 편집 폴더에 파일을 만들었고 adjustbox.sty
잊어버렸기 때문에 TeX Live 파일 대신 사용자 정의 sty 파일을 읽었다는 것입니다.
David Carlisle이 지적했듯이 로그는 로컬 sty 파일을 읽고 있음을 지적했습니다.