0

I am trying to include a dedication on the title page of an article. To do so, I am using the epigraph environment and command. The problem that I have is that I would like to have the epigraph right after the abstract at the right-bottom of the page.

I tried putting the epigraph command after the abstract but it goes at the top of the page. Any suggestions?

The code is given below

\pdfoutput=1
\documentclass[11pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{jheppub}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{braket}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{mathrsfs}
\usepackage{subcaption}
\usepackage{empheq}
\usepackage{appendix}
\usepackage{adjustbox}
\usepackage{natbib}
\usepackage[dvipsnames]{xcolor}
\usepackage{float}
\usepackage{slashed}
\usepackage{indentfirst}
\graphicspath{{Figs/}}
\usepackage{cleveref}
\usepackage{hyperref, pdfsync, epstopdf, enumerate}
\usepackage{epigraph}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{colorlinks,bookmarksopen,bookmarksnumbered,
citecolor={Red},
linkcolor={Red},pdfstartview=FitH,
urlcolor={Red}}
\def\myurl#1#2{\href{http://#1}{#2}}
\def\hhref#1{\href{http://arxiv.org/abs/#1}{arXiv:#1}} % in bibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{My project}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author[a]{author a,}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\affiliation[a]{some affiliation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\emailAdd{random@something.com}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\abstract{this is the abstract placeholder}
\epigraph{my dedication}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                                          
\setcounter{page}{1}\setcounter{footnote}{0}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%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lit}{}
\bibliographystyle{utphys}

\end{document}

I also tried to include the command after the maketitle command but then the code simply places the epigraph after the contents.

  • 2
    Add a blank line between the abstract and the \epigraph command. – Bernard Oct 17 at 21:06
  • @Bernard if I use the command \newline it gives an error that there is no line there. And if I use \hfill \break nothing happens – DiSp0sablE_H3r0 Oct 18 at 10:26
  • I didn't say to use thiscommand, I advised to add a blank line in the code. That is because the \epigraph command has to be written between paragraphs (in vertical mode). – Bernard Oct 18 at 10:28
  • @Bernard Sorry, I misunderstood. Thanks for the explanation, however I left a completely blank line between the abstract and the epigraph and the dedication still appears on the top of the page. – DiSp0sablE_H3r0 Oct 18 at 12:37
  • 1
    I did try them, just commenting some packages that are not installed on my system and seem unrelated to this kind of problem. – Bernard Oct 18 at 13:00
0

After some very useful comments and some discussion with @Bernard I found a resolution.

There exists a macro built-in the JHEP template that can be used.

It is \dedicated{...} and places the dedication right beneath the abstract on the titlepage.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.