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 230378
2315 Table의 각 열과 행마다 정렬 방식을 다르게 하고 싶어요 [3] 이제텍 2012.12.18 7894
2314 문서 암호화 [5] xelloss 2012.09.20 7824
2313 titlepage는 article클래스에서만 가능한가요? [2] 디킨슨 2011.07.07 7824
2312 latex 파일을 doc/docx 파일로 전환할 수 있는 방법이 없을까요? [1] jerry 2011.12.19 7818
2311 멀티 컬럼에서 이미지의 위치 조정 관련 [7] file 판돌이 2020.09.23 7792
2310 외부 tex 파일의 수식을 ref로 불러올 수 있나요? [3] 공대생 2011.11.08 7785
2309 Mac Emacs+AuCTeX 컴파일 문제 [1] 김영재 2012.05.07 7769
2308 긴 superscript [12] yihoze 2016.04.11 7768
2307 enumerate의 번호 나누기 [7] 김선중 2012.06.05 7766
2306 mathematica7 to tikz [4] 김종열 2011.11.13 7754
2305 Tex 관련 표 정리가 어려워서 질문드려봅니다.ㅠㅠㅠ [3] file 초보왕 2012.09.21 7752
2304 컴파일에서 나타나는 경고 문구 대처 방법은? [1] 마르고 2011.10.31 7752
2303 CJK-ko의 한글 기본 글꼴을 바꿀 수 있나요? [4] xylosper 2013.07.16 7703
2302 TnXTex 환경하에서 한글폰트 변경 관련 [4] 텍초보 2012.09.08 7693
2301 latex word 수 세기 [4] 고카츄 2011.10.11 7687
2300 혹시 2012 업데이트 시킬 수 있나요? [1] 이용규 2013.08.16 7680
» 캡션에 대한 질문 [2] file 강병욱 2011.11.09 7663
2298 텍 작업시 글씨색에 대해 질문드립니다. [2] 밀너 2011.04.29 7655
2297 xoblivoir 이용 책갈피(bookmark) 문제 [4] 립싸 2013.05.14 7642
2296 아이폰을 이용한 문서작업 [2] synapse 2011.11.18 7637



XE Login