There is an internal LaTeX macro to execute this function named \@hangfrom . Here is an example:
\ documentclass {article}
\ usepackage {lipsum}
\ begin {document}
\ makeatletter
\ newcommand * \ objectiveresheading [1] {%
\ @hangfrom {\ Large \ bfseries Objective:}%
{\ large \ bfseries # 1 \ par}%
}
\ makeatother
\ objectiveresheading {\ lipsum [1]}
\ end {document}
Please note that wrapped text can only be one paragraph. If you need a few paragraphs, something that looks more like a list environment would be better.
source share