我正在排版东正教礼拜文本,并想在某些经文前排版一小节 (V.)。我目前使用以下方法:
\documentclass[12pt]{article}
\title{Orthodox Liturgical Text}
\author{Doc}
\usepackage{graphicx}
\usepackage{color}
\usepackage{fontspec}
\usepackage{stackengine}
\newcommand{\versicle}{\kern-0.25em \stackinset{r}{0.33ex}{c}{}{\rotatebox{-30}{\normalsize$\rceil$}}{V}}
\newcommand{\response}{\kern-0.25em\stackinset{r}{0.35ex}{c}{}{ \rotatebox{-30}{\normalsize$\rceil$}}{R}}
\newcommand\instruct[1]{%
{\noindent\normalsize\itshape\selectfont\color{red}
{#1}\normalsize}%
}
\newcommand\vers[1]{%
\noindent\normalsize\bfseries\textcolor{red}{#1}\normalsize\normalfont%
}
\begin{document}
\maketitle
\vers{(1.)} For His mercy is confirmed on us, and the truth of the Lord endures forever.\\
\instruct{Insert the appointed Doxastikon is there is one.}\\
\versicle Glory to the Father, and to the Son, and to the Holy Spirit.\\
\instruct{Insert the appointed Dogmatikon, Theotokion, or Doxastikon. Then:}\\
\versicle Now and ever and unto ages of ages. Amen.\\
\end{document}
我希望 V(表示 versicle)缩进并用红色显示,就像 (1)。我对 versicle 和 repsonse 命令的结构以及在何处添加编码以使 (V) 缩进并用红色显示没有太多经验。
答案1
这些\normalfont
和\normalsize
命令不合适。\footnotesize
例如,如果您碰巧在中设置了某个部分,您将获得比上下文更大的正常大小的符号。
该\kern
命令不会执行您期望的操作,如果您不了解其功能,最好避免使用它。
这就是说,你不会得到缩进,因为你用 来抑制它\noindent
。不过我会使用不同的策略。
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fontspec}
\usepackage{stackengine}
\newcommand{\versiclesymbol}{%
\stackinset{r}{0.33ex}{c}{}{\rotatebox{-30}{$\rceil$}}{V}%
}
\newcommand{\responsesymbol}{%
\stackinset{r}{0.35ex}{c}{}{\rotatebox{-30}{$\rceil$}}{R}%
}
\newcommand\instruct[1]{%
\par\noindent\textcolor{red!80}{\itshape#1}%
}
\newcommand\vers[1]{%
\par\textcolor{red!80}{\bfseries#1}\ \ignorespaces
}
\newcommand{\versicle}{\vers{\versiclesymbol}}
\newcommand{\response}{\vers{\responsesymbol}}
\begin{document}
\vers{(1.)} For His mercy is confirmed on us, and the truth of the Lord endures forever.
\instruct{Insert the appointed Doxastikon is there is one.}
\versicle Glory to the Father, and to the Son, and to the Holy Spirit.
\instruct{Insert the appointed Dogmatikon, Theotokion, or Doxastikon. Then:}
\versicle Now and ever and unto ages of ages. Amen.
\response Test
\end{document}