Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
    • 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
    • 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
    • 최소 예제는 "Minimal working example"을 읽어 보세요.
  • 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
  • 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 사용하는 편집기는 CKeditor입니다.
    • 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
    • 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
    • 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.

캡션에 대한 질문

2011.11.09 18:03

강병욱 조회 수:7663

안녕하세요. 캡션에 대해서 질문드리겠습니다.

아래 첨부한 pdf 파일(pdf1.pdf)에서처럼, caption을 표의 제목으로 쓰고 있습니다. 표에 대한 긴 설명은 표의 아래 따로 넣고 있구요..

그런데, 표의 제목이 길어지면 두번째 첨부한 pdf 파일(pdf2.pdf)에서 처럼, "TABLE 6"와 캡션 이 모두 왼쪽으로 쏠려 버리는데요..

이를 해결할 방법이 있을까요? 표의 제목이 길어지더라도  "TABLE 6" 와 표의 제목을 항상 가운데로 유지시키고 싶습니다.

 

참고로 아래는 제가 사용하는 package들과, 표를 그리는 코드입니다. 

 

 =============================================================================== 

\documentclass[12pt, leqno, times, amssymb, letterpaper]{article}

\textwidth=6.5in
\textheight=9.0in
\headheight=0.0in
\headsep=0in
\oddsidemargin=0.0in
\topmargin=0.0in

\usepackage{amsmath,amssymb,amsthm}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{bm}
\usepackage{epsfig}
\usepackage{rotating}
\usepackage{longtable,ltcaption}
\usepackage{lscape}
\usepackage[tablename=TABLE, figurename=FIGURE]{caption}
\usepackage{setspace}
\usepackage{tabularx}
\usepackage{multirow}

\doublespacing

 

\begin{document}

 

\clearpage
\begin{table}[tbp]
\captionsetup{labelsep=newline, textfont=bf}
\caption{Cross-Sectional Regressions Including the Remaining Part of the Betas}
\begin{center}
{\scriptsize
\begin{tabularx}{11.5cm}{l Cc C}
\hline
\vspace{-2mm}\\
&\multicolumn{3}{c}{Unrestricted: $E(R_{i,t})=\bm{\lambda}_{1}^{\prime}\, \bm{\beta}_{i,\bullet}\,+\,\bm{\lambda}_{2}^{\prime}\, \bm{\beta}_{i,\bullet}^{\,\bot}$}\\
\vspace{-3mm}\\
\cline{2-4}
\vspace{-2mm}\\
& Restricted: $E(R_{i,t})=\bm{\lambda}_{2}^{\prime}\, \bm{\beta}_{i,\bullet}^{\,\bot}$&& Restricted: $E(R_{i,t})=\bm{\lambda}_{1}^{\prime}\, \bm{\beta}_{i,\bullet}$\\
\vspace{-3mm}\\
\cline{2-2} \cline{4-4}
\vspace{-1.5mm}\\
&\multicolumn{3}{c}{$\bullet=d_1$}\\
\emph{F}-statistic&  3.228&&  6.320 \\
\emph{p}-value&  0.046&&  0.004 \\
Bootstrap-\emph{p}&  0.080&&  0.013 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_2$}\\
\emph{F}-statistic&  1.941&&  2.439 \\
\emph{p}-value&  0.157&&  0.096 \\
Bootstrap-\emph{p}&  0.239&&  0.092 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_3$}\\
\emph{F}-statistic&  2.904&&  0.699 \\
\emph{p}-value&  0.062&&  0.564 \\
Bootstrap-\emph{p}&  0.039&&  0.538 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_4$}\\
\emph{F}-statistic&  0.411&&  0.233 \\
\emph{p}-value&  0.747&&  0.872 \\
Bootstrap-\emph{p}&  0.815&&  0.911 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_5$}\\
\emph{F}-statistic&  1.100&&  1.377 \\
\emph{p}-value&  0.373&&  0.280 \\
Bootstrap-\emph{p}&  0.477&&  0.426 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=d_6$}\\
\emph{F}-statistic&  6.851&&  8.927 \\
\emph{p}-value&  0.003&&  0.001 \\
Bootstrap-\emph{p}&  0.018&&  0.068 \\
\vspace{-2mm}\\
&\multicolumn{3}{c}{$\bullet=s_6$}\\
\emph{F}-statistic&  5.663&&  7.158 \\
\emph{p}-value&  0.006&&  0.002 \\
Bootstrap-\emph{p}&  0.081&&  0.306 \\
\vspace{-2mm}\\
\hline
\end{tabularx}
}
\end{center}
\label{tab6}
{\footnotesize Table \ref{tab6} implements (\ref{return-beta_decomp_exp}) in the context of the Fama-French three-factor model using the excess returns on 25 portfolios sorted by size and book-to-market. The first column reports $F$-tests for the null hypothesis that $\bm{\lambda}_1$ is the zero vector. The second column reports $F$-tests for the null hypothesis that $\bm{\lambda}_2$ is the zero vector. The first set of $p$-values is based on the $F$ distribution. The second set, indicated by Boostrap-$p$, is based on empirical distributions obtained from a bootstrap procedure designed to incorporate time-series dependence as well as estimation errors in details or smooths and the factor loadings. The data are monthly and cover the period from July 1963 to June 2008.}
\end{table}

 

\end{document}

 

 ===========================================================================

번호 제목 글쓴이 날짜 조회 수
공지 Minimal Working Example을 첨부해주세요 [4] nanim 2015.06.23 230279
453 eps 그림 파일이 본문에 포함이 안됩니다 [2] file ejpark 2012.06.08 4046
452 exam 패키지 사용시 선택형 질문 변경 [5] dream 2012.05.23 4590
451 enumerate 패키지와 비슷한 패키지 없나요~ [3] 동큐 2012.06.04 5517
450 enumerate의 번호 나누기 [7] 김선중 2012.06.05 7766
449 glossaries package 에 관한 질문입니다. [1] 남진우 2012.05.26 2786
448 paragraph 처럼 만들었는데 이상한 현상 [1] file 궁금이 2012.06.05 3167
447 기호 합치기 할 수 있나요? [2] Y.H 2012.06.03 3768
446 kswrapfig를 이용한 그림과 나열환경등등 도움 부탁드립니다. [2] file beavim 2012.05.31 4859
445 textcolor에 관한 질문입니다. [2] file 김선중 2012.05.31 3103
444 kotex contents [3] xelloss 2012.05.29 2948
443 foiltex에서 그림과 글자를 병렬로 나열하기 [5] joon0721 2012.05.23 4769
442 beamer에서 jpg나 eps파일 넣으면 에러가 납니다. [9] 니꼬니꼬 2011.07.12 13088
441 pdf 파일을 삽입하려면... [3] beginner 2012.05.24 3077
440 수식 타이포그래피 의견을 구합니다. file enmir 2012.05.24 14682
439 여기서 에러가 나는데 어떻게 해결해야 하나요?? [1] 텍좀알려주이소 2012.05.24 3784
438 문서에서 watermark 없애기 [2] jayfive 2012.05.17 4239
437 Can't refill scanner~ 오류 [1] 옥이 2012.05.17 5475
436 안녕하세요 컴파일할수 있도록 도와주시길 부탁드립니다. [2] file beavim 2012.05.16 3248
435 texworks 메뉴 글씨가 깨져보입니다. [2] file 초보 2012.05.08 4384
434 한글이 깨졌어요~ [3] fortunate7 2012.05.02 29307



XE Login