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 230301
473 \align 이나 \alignat 같은... [1] 치마사랑 2012.07.23 3503
472 pgfplots 패키지를 이용해서 그래프를 그리는데요 [2] file RC 2012.07.21 3786
471 TnXTex에서 xy-pic가 안됩니다.ㅠㅠ [2] 김성환 2012.07.20 5617
470 고려대 박사학위논문 양식을 구합니다. [4] stonegrandpa 2012.07.16 11105
469 그림을 글자로 [5] yihoze 2012.07.19 4704
468 특별한 수식표현 방법 [2] file sookibae 2012.07.17 3930
467 참고문헌에서 여러명의 저자 표현방법(알려주세요) [3] 궁금이 2012.07.01 10705
466 longtabu 에서의 \rowcolor [2] file 초보 2012.07.13 3374
465 표 안에서 리스트 환경의 윗 여백 없애기 [2] Dennis 2012.06.23 4152
464 폰트 설치 관련 문의 [1] 질문 2012.06.30 4734
463 footnote 넘버링이 이상합니다. [3] xelatex1 2012.06.26 5336
462 정렬시 summation과 수식간의 간격 조절에 대해 궁금합니다. [2] file 황씨 2012.06.13 4919
461 수식 줄바꿔도 = 기호 위치 유지 가능한가요? [3] file 케이턱 2012.06.22 8494
460 label과 caption에 underscore가 포함될 경우 어떻게 표현을 해야 하는지 궁금 합니다 [1] file pinder 2012.06.20 4674
459 표 바로 아래 주석다는건 성공했는데요 두개의 표를 각기다른페이지에넣으려면... [2] 동그리 2012.06.19 6062
458 표아래 기호에 대한 주석을 달때 페이지 하단에 말고 표바로 아래에 주석을 달려면 어떻게 해야하는지요? [4] 동그리 2012.06.18 7382
457 논문에서 summary를 어떻게 만드는지 궁금합니다. [2] 동그리 2012.06.13 15339
456 세로글쓰기 시도가 안되어서 테이블 안에 한글자씩 썼답니다. [11] 천웅 2012.06.16 8284
455 유니코드 특수문자 디스플레이 [5] 연금술사 2012.06.15 5649
454 LaTex로 인코딩한 일부 한자가 표시가 되지 않습니다. [5] wilzilzor 2012.06.07 8884



XE Login