단어를 줄 끝으로 강제 이동하려면 어떻게 해야 합니까?

단어를 줄 끝으로 강제 이동하려면 어떻게 해야 합니까?

문서에서 선택한 단어를 각 줄의 끝으로 강제로 가져오려면 어떻게 해야 합니까(필요한 경우 해당 단어에 하이픈을 넣기도 합니까)?

오래된 문서가 있습니다. 나는 페이지 크기를 알고 있으며 원본 서체에 해당하는 최신 글꼴을 찾은 것 같습니다. 그러나 정확한 마진이나 기타 세부 사항은 알 수 없습니다. 줄 끝에 단어를 지정하고 나머지 단어가 스스로 정당화되도록 하는 방법이 있습니까?

내 코드는 다음과 같습니다.

\documentclass{article}
    \usepackage[paperwidth=25.7cm, paperheight=40.6cm,bindingoffset=0in,left=1.2in,right=0.5in,
    top=0.9in,bottom=1in,footskip=.25in]{geometry}


    \usepackage{lettrine}
    \usepackage{fontspec}
        \defaultfontfeatures{Ligatures={Historical}}
        \setmainfont[Ligatures={Common,Rare},Scale=1.9]{Adobe Caslon Pro}

    \newcommand{\prelude}[1]{\textsuperscript{\emph{#1.}\quad}}  


    \begin{document}
       \noindent deſires, may reſt there. Purge our hearts from envy, hatred, and malice; 
       that we may never ſuffer the ſun to go down upon our wrath ; but may always go to 
       our reſt in peace, charity, and good-will, with a conſcience void of offence
       towards thee and towards men: That ſo we may be preſerved pure and blameleſs,
       unto the coming of our Lord and Saviour Jeſus Chriſt. \textit{Amen.}
       \lettrine[ante={\prelude{The Interceſſion}}, loversize=0.2]{A}{ND} 
        accept, O Lord, our interceſſions for all mankind. Let the light of
        thy Goſpel ſhine upon all nations; and may as many as have received it,
        live as becomes it. Be gracious unto thy Church; and grant that every member
        of the fame, in his vocation and miniſtry, may ſerve thee faithfully. Bleſs
        all in authority over us; and ſo rule their hearts and ſtrengthen their hands,
        that they may puniſh wickedneſs and vice, and maintain thy true religion and virtue.
        Send down thy bleſſings temporal and ſpiritual, upon all our relations, friends,
        and neighbours. Reward all who have done us good, and pardon all thoſe who have
        done or wiſh us evil, and give them repentance and better minds. Be merciful to
        all who are in any trouble; and do thou, the God of pity, adminiſter to them 
        according to their ſeveral neceſſities, for his ſake who went about doing good,
        thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{The Thanksgiving}}, loversize=0.1]{T}{O} 
          our prayers, O Lord, we join our unfeigned thanks for all the 
          mercies; for our being, our reaſon, and all other endowments and faculties of ſoul
          and body; for our health, friends, food, and raiment, and all the other comforts and
          conveniences of life. Above all we adore thy mercy in ſending thy only Son into the
          world to redeem us from ſin and eternal death, and in giving us the knowledge and           
          ſenſe of our duty towards thee. We bleſs thee for thy patience with us, notwithſtanding
          our many and great provocations; for all the directions, aſſiſtances, and comforts of thy
          Holy Spirit; for thy continual care and watchful providence over us through the whole
          courſe of our lives; and particularly for the mercies and benefits of the paſt day:
          Beſecching thee to continue theſe thy bleſſings to us; and to give is grace to ſhow
          our thankfulneſs in a ſincere obedience to his laws through whoſe merits and
          interceſſion we received them all, thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{Prayer for God's pro-\\tection through the night
       following.}}, loversize=0.1]{I}{N} particular we beſeech thee to continue thy
gracious protection to us this night. Defend us from all dangers and miſchiefs, and from
the fear of them; that we may enjoy ſuch refreſhing ſleep as may lit us for the 
duties of the following day. Make us ever mindful of the time when we ſhall lie
 down in the duſt; and grant us grace always to live in fuch a ſtate, that we may
 never be afraid to die: So that living and dying we may be thine, through the 
 merits and ſatisfaction of thy Son Chriſt Jeſus, in whoſe Name we offer up theſe 
 imperfect prayers. Amen.
       THE grace of our Lord Jeſus Chriſt, and the love of God, and the fellowſhip of
       the Holy Ghoſt, be with us all evermore. \textit{Amen.}

       \begin{center}
       \textpilcrow \textit{ On Sundays and on other days, when it may be convenient,
it will be proper to begin with a\\Chapter, or part of a Chapter, from the New Teſtament}
       \end{center}

    \end{document}

원본(왼쪽)과 출력(오른쪽)의 스크린샷은 다음과 같습니다.

스크린캡

또한 에서 '보호'를 '보호'(반환 포함)로 강제하는 방법은 무엇입니까 \lettrine[ante={\prelude{Prayer for God's pro-\\tection through the night following.}}, loversize=0.1]{I}{N}?

답변1

귀하의 요청을 완전히 이해할 수는 없지만 이와 같은 것은 어떻습니까?

여기에 이미지 설명을 입력하세요

암호:

\documentclass{article}
    \usepackage[paperwidth=25.7cm, paperheight=40.6cm,bindingoffset=0in,left=1.2in,right=0.5in,
    top=0.9in,bottom=1in,footskip=.25in]{geometry}

    \usepackage{graphicx}

    \usepackage{lettrine}
    \usepackage{fontspec}
        \defaultfontfeatures{Ligatures={Historical}}
        \setmainfont[Ligatures={Common,Rare},Scale=1.9]{Adobe Caslon Pro}

    \newcommand{\prelude}[1]{%
      \raisebox{0.5\baselineskip}{\parbox[t]{4.5cm}{\scriptsize\hspace{1em}\emph{#1.}}\quad}}

    \linespread{1.75}\selectfont
    \setlength{\parskip}{10pt}


    \begin{document}
       \noindent deſires, may reſt there. Purge our hearts from envy, hatred, and malice;
       that we may never ſuffer the ſun to go down upon our wrath ; but may always go to
       our reſt in peace, charity, and good-will, with a conſcience void of offence
       towards thee and towards men: That ſo we may be preſerved pure and blameleſs,
       unto the coming of our Lord and Saviour Jeſus Chriſt. \textit{Amen.}
       \lettrine[ante={\prelude{The Interceſſion}}]{A}{ND}
        accept, O Lord, our interceſſions for all mankind. Let the light of
        thy Goſpel ſhine upon all nations; and may as many as have received it,
        live as becomes it. Be gracious unto thy Church; and grant that every member
        of the fame, in his vocation and miniſtry, may ſerve thee faithfully. Bleſs
        all in authority over us; and ſo rule their hearts and ſtrengthen their hands,
        that they may puniſh wickedneſs and vice, and maintain thy true religion and virtue.
        Send down thy bleſſings temporal and ſpiritual, upon all our relations, friends,
        and neighbours. Reward all who have done us good, and pardon all thoſe who have
        done or wiſh us evil, and give them repentance and better minds. Be merciful to
        all who are in any trouble; and do thou, the God of pity, adminiſter to them
        according to their ſeveral neceſſities, for his ſake who went about doing good,
        thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{The Thanksgiving}}]{T}{O}
          our prayers, O Lord, we join our unfeigned thanks for all the
          mercies; for our being, our reaſon, and all other endowments and faculties of ſoul
          and body; for our health, friends, food, and raiment, and all the other comforts and
          conveniences of life. Above all we adore thy mercy in ſending thy only Son into the
          world to redeem us from ſin and eternal death, and in giving us the knowledge and
          ſenſe of our duty towards thee. We bleſs thee for thy patience with us, notwithſtanding
          our many and great provocations; for all the directions, aſſiſtances, and comforts of thy
          Holy Spirit; for thy continual care and watchful providence over us through the whole
          courſe of our lives; and particularly for the mercies and benefits of the paſt day:
          Beſecching thee to continue theſe thy bleſſings to us; and to give is grace to ſhow
          our thankfulneſs in a ſincere obedience to his laws through whoſe merits and
          interceſſion we received them all, thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{Prayer for God's protection through the night
       following}}]{I}{N} particular we beſeech thee to continue thy
gracious protection to us this night. Defend us from all dangers and miſchiefs, and from
the fear of them; that we may enjoy ſuch refreſhing ſleep as may lit us for the
duties of the following day. Make us ever mindful of the time when we ſhall lie
 down in the duſt; and grant us grace always to live in fuch a ſtate, that we may
 never be afraid to die: So that living and dying we may be thine, through the
 merits and ſatisfaction of thy Son Chriſt Jeſus, in whoſe Name we offer up theſe
 imperfect prayers. Amen.
       THE grace of our Lord Jeſus Chriſt, and the love of God, and the fellowſhip of
       the Holy Ghoſt, be with us all evermore. \textit{Amen.}

       \begin{center}
       \textpilcrow \textit{ On Sundays and on other days, when it may be convenient,
it will be proper to begin with a\\Chapter, or part of a Chapter, from the New Teſtament}
       \end{center}

    \end{document} 

내가 변경한 사항:

  • 나는 loversize당신 \lettrine의 을(를) 모두 제거했습니다.
  • 줄 간격을 늘렸습니다.

    \linespread{1.75}\selectfont
    
  • 단락 사이의 간격을 늘렸습니다.

    \setlength{\parskip}{10pt}
    
  • \prelude명령을 에 삽입하여 완전히 변경하여 \parbox단어가 자동으로 하이픈으로 연결되고 모든 단어의 크기가 동일해졌습니다.


편집하다

\prelude내부 수동 중단 (작동 방식 표시) 및 일부 개선 사항(세 번째 참고 \lettrine) 이 포함된 새 버전

\documentclass{article}
    \usepackage[paperwidth=25.7cm, paperheight=40.6cm,bindingoffset=0in,left=1.2in,right=0.5in,
    top=0.9in,bottom=1in,footskip=.25in]{geometry}

    \usepackage{graphicx}

    \usepackage{lettrine}
    \usepackage{fontspec}
        \defaultfontfeatures{Ligatures={Historical}}
        \setmainfont[Ligatures={Common,Rare},Scale=1.9]{Adobe Caslon Pro}

    \newcommand{\prelude}[1]{%
      \raisebox{0.5\baselineskip}{\parbox[t]{4.5cm}{\scriptsize\hspace{1em}\emph{#1.}}\quad}}

 %  \linespread{1.75}\selectfont
    \setlength{\parskip}{10pt}

    \renewcommand*{\DefaultLraise}{-0.4}
    \renewcommand*{\DefaultLoversize}{0.2}


    \begin{document}
       \noindent deſires, may reſt there. Purge our hearts from envy, hatred, and malice;
       that we may never ſuffer the ſun to go down upon our wrath ; but may always go to
       our reſt in peace, charity, and good-will, with a conſcience void of offence
       towards thee and towards men: That ſo we may be preſerved pure and blameleſs,
       unto the coming of our Lord and Saviour Jeſus Chriſt. \textit{Amen.}
       \lettrine[ante={\prelude{The Interceſſion}}]{A}{ND}
        accept, O Lord, our interceſſions for all mankind. Let the light of
        thy Goſpel ſhine upon all nations; and may as many as have received it,
        live as becomes it. Be gracious unto thy Church; and grant that every member
        of the fame, in his vocation and miniſtry, may ſerve thee faithfully. Bleſs
        all in authority over us; and ſo rule their hearts and ſtrengthen their hands,
        that they may puniſh wickedneſs and vice, and maintain thy true religion and virtue.
        Send down thy bleſſings temporal and ſpiritual, upon all our relations, friends,
        and neighbours. Reward all who have done us good, and pardon all thoſe who have
        done or wiſh us evil, and give them repentance and better minds. Be merciful to
        all who are in any trouble; and do thou, the God of pity, adminiſter to them
        according to their ſeveral neceſſities, for his ſake who went about doing good,
        thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{The Thanksgiving}}]{T}{O}
          our prayers, O Lord, we join our unfeigned thanks for all the
          mercies; for our being, our reaſon, and all other endowments and faculties of ſoul
          and body; for our health, friends, food, and raiment, and all the other comforts and
          conveniences of life. Above all we adore thy mercy in ſending thy only Son into the
          world to redeem us from ſin and eternal death, and in giving us the knowledge and
          ſenſe of our duty towards thee. We bleſs thee for thy patience with us, notwithſtanding
          our many and great provocations; for all the directions, aſſiſtances, and comforts of thy
          Holy Spirit; for thy continual care and watchful providence over us through the whole
          courſe of our lives; and particularly for the mercies and benefits of the paſt day:
          Beſecching thee to continue theſe thy bleſſings to us; and to give is grace to ſhow
          our thankfulneſs in a ſincere obedience to his laws through whoſe merits and
          interceſſion we received them all, thy Son our Saviour Jeſus Chriſt. \textit{Amen.}

       \lettrine[ante={\prelude{Prayer for God's pro-\linebreak tection through the night
       following}},lines=3,loversize=-0.2,lraise=0.1,slope=-25pt]{I}{N} particular we beſeech thee to continue thy
gracious protection to us this night. Defend us from all dangers and miſchiefs, and from
the fear of them; that we may enjoy ſuch refreſhing ſleep as may lit us for the
duties of the following day. Make us ever mindful of the time when we ſhall lie
 down in the duſt; and grant us grace always to live in fuch a ſtate, that we may
 never be afraid to die: So that living and dying we may be thine, through the
 merits and ſatisfaction of thy Son Chriſt Jeſus, in whoſe Name we offer up theſe
 imperfect prayers. Amen.
       THE grace of our Lord Jeſus Chriſt, and the love of God, and the fellowſhip of
       the Holy Ghoſt, be with us all evermore. \textit{Amen.}

       \begin{center}
       \textpilcrow \textit{ On Sundays and on other days, when it may be convenient,
it will be proper to begin with a\\Chapter, or part of a Chapter, from the New Teſtament}
       \end{center}

    \end{document} 

산출:

여기에 이미지 설명을 입력하세요

관련 정보