![내 박사 연구 제안 코드를 pgfgantt와 병합하고 텍스트를 레이블 [중복]으로 묶고 싶습니다.](https://rvso.com/image/316307/%EB%82%B4%20%EB%B0%95%EC%82%AC%20%EC%97%B0%EA%B5%AC%20%EC%A0%9C%EC%95%88%20%EC%BD%94%EB%93%9C%EB%A5%BC%20pgfgantt%EC%99%80%20%EB%B3%91%ED%95%A9%ED%95%98%EA%B3%A0%20%ED%85%8D%EC%8A%A4%ED%8A%B8%EB%A5%BC%20%EB%A0%88%EC%9D%B4%EB%B8%94%20%5B%EC%A4%91%EB%B3%B5%5D%EC%9C%BC%EB%A1%9C%20%EB%AC%B6%EA%B3%A0%20%EC%8B%B6%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
pgfgantt
내 박사 연구 제안 코드를 병합하고 텍스트를 라벨로 묶고 싶습니다 .
\documentclass[12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%pgf gantt, wrap text in label
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\usepackage{indentfirst}
\usepackage{pgf}
\usepackage{pgfgantt}
\usepackage{pgfcalendar}
\usepackage{rotating}
\usepackage[filename=tasktips,mouseover,noextratext]{fancytooltips}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amscd}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{epsfig}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{amsthm}
\pagestyle{empty}
\usepackage{color}
%\usepackage[all,dvips]{xy}
\newcommand{\sign}[1]{%
\begin{tabular}[t]{@{}l@{}}
\makebox[1.5in]{\dotfill}\\
\strut#1\strut
\end{tabular}%
}
\newcommand{\Date}{%
\begin{tabular}[t]{@{}p{1.5in}@{}}
\\[-2ex]
\strut Date: \dotfill\strut
\end{tabular}%
}
\setlength{\textheight}{8.5in} \setlength{\topmargin}{0.0in}
\setlength{\headheight}{0.0in} \setlength{\headsep}{0.0in}
\setlength{\leftmargin}{0.5in}
\setlength{\oddsidemargin}{0.0in}
%\setlength{\parindent}{1pc}
\setlength{\textwidth}{6.5in}
%\linespread{1.6}
\newtheorem{definition}{Definition}
\newtheorem{problem}{Problem}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{note}[theorem]{Note}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{prop}[theorem]{Proposition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\thispagestyle{empty}
\bigskip
\bigskip
\centerline{\textbf{\Large{Research Proposal}}}
\bigskip
\bigskip
\noindent \textbf{Name:} %Your name goes here.
\bigskip
\noindent \textbf{Field of the Project:} %Write your majors, minors or GECs.
\bigskip
\noindent \textbf{Project Title:} %Write a brief description of the topic you wish to work on. This should be done in 40 words or less.
\bigskip
\noindent\textbf{Abstract of the Project:} %Remove the comment (percentage) symbol in front of the appropriate category:
%double with another major.
\bigskip
\noindent\textbf{State of the Art:}%Remove the comment (percentage) symbol in front of the appropriate category:
\bigskip
\noindent \textbf{Description of the Project:} %Write the name of any professor(s) you think you might want to work with on this topic. You may leave this section blank if you don't know.
\bigskip
\noindent \textbf{Expected results and practical/technical/commercial outcomes:}
%List the courses which are relevant; you don't need to list every mathematics course you have ever taken.
\bigskip
\begin{thebibliography}{99}
\end{thebibliography}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%pgf gantt, wrap text in label
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagebreak
\begin{rotate}{270}
\begin{ganttchart}[y unit title=0.6cm,
y unit chart=0.7cm,
vgrid,
title height=.85,
hgrid=true,
canvas/.style={fill=yellow!25, draw=blue, solid, very thick},
bar/.style={fill=gray, rounded corners=3pt},
bar left shift=.05,
bar right shift=-.05,
bar top shift=.3,
bar height=.3,vgrid={*1{blue, dashed}},
bar label font=\normalsize\color{black!50},
bar label anchor/.append style={align=left, text width=1.5cm},
group right shift=0,group top shift=.6,group height=.3,group peaks={}{} {0}]{23}
\gantttitle{2012}{5}
\gantttitle{2013}{12}
\gantttitle{2014}{6}\\
\gantttitlelist{8,...,12}{1}
\gantttitlelist{1,...,12}{1}
\gantttitlelist{1,...,6}{1}\\
\ganttgroup{\tooltip{Objective 1}{obje1}}{1}{4} \\
\ganttbar{\tooltip{\textbf{Task a}}{task1a}}{4}{2} \\
\ganttbar{\textbf{Task b}}{4}{2} \\
\ganttbar{\textbf{Task c}}{4}{2} \\
\ganttgroup{Objective 2:}{4}{6} \\
\ganttbar{Task a}{4}{6} \\
\ganttbar{Task b}{4}{6} \\
\ganttgroup{Objective 3}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttbar{Task c}{4}{2} \\
\ganttbar{Task d}{4}{2} \\
\ganttgroup{Objective 4}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttgroup{Objective 5}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttbar{Task c}{4}{2} \\
\end{ganttchart}
\end{rotate}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
관련 질문:
답변1
이것은 답변이 아닙니다.
링크된 답변에 설명된 대로 툴팁을 생성한 후 다음 문서를 처리하세요.수정 없이(즉, 새 파일을 열고 아래 코드를 복사하여 붙여넣으세요.있는 그대로):
\documentclass[12pt]{article}
\usepackage{pgfgantt}
\usepackage{pgfcalendar}
\usepackage[filename=tasktips,mouseover,noextratext]{fancytooltips}
\begin{document}
\begin{ganttchart}[y unit title=0.6cm,
y unit chart=0.7cm,
vgrid,
title height=.85,
hgrid=true,
canvas/.style={fill=yellow!25, draw=blue, solid, very thick},
bar/.style={fill=gray, rounded corners=3pt},
bar left shift=.05,
bar right shift=-.05,
bar top shift=.3,
bar height=.3,vgrid={*1{blue, dashed}},
bar label font=\normalsize\color{black!50},
bar label anchor/.append style={align=left, text width=1.5cm},
group right shift=0,group top shift=.6,group height=.3,group peaks height=.4]{1}{23}
\gantttitle{2012}{5}
\gantttitle{2013}{12}
\gantttitle{2014}{6}\\
\gantttitlelist{8,...,12}{1}
\gantttitlelist{1,...,12}{1}
\gantttitlelist{1,...,6}{1}\\
\ganttgroup{\tooltip{Objective 1}{obje1}}{1}{4} \\
\ganttbar{\tooltip{\textbf{Task a}}{task1a}}{4}{2} \\
\ganttbar{\textbf{Task b}}{4}{2} \\
\ganttbar{\textbf{Task c}}{4}{2} \\
\ganttgroup{Objective 2:}{4}{6} \\
\ganttbar{Task a}{4}{6} \\
\ganttbar{Task b}{4}{6} \\
\ganttgroup{Objective 3}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttbar{Task c}{4}{2} \\
\ganttbar{Task d}{4}{2} \\
\ganttgroup{Objective 4}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttgroup{Objective 5}{4}{6} \\
\ganttbar{Task a}{4}{2} \\
\ganttbar{Task b}{4}{2} \\
\ganttbar{Task c}{4}{2} \\
\end{ganttchart}
\end{document}
결과를 보고해주세요.