Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Quoting" package and smaller body quotations #889

Open
lazzalazza opened this issue Nov 30, 2020 · 4 comments
Open

"Quoting" package and smaller body quotations #889

lazzalazza opened this issue Nov 30, 2020 · 4 comments

Comments

@lazzalazza
Copy link

Reledmac doesn't seem to work well with the "quoting" package (I attach an image): the problem might be that of the smaller body size that I have chosen for quotation blocks.

Generally speaking, are quotation blocks written with a smaller body size (if compared, of course, to that of the normal text) supported by reledmac? How can a smaller body quotation block be set up?

Schermata 2020-11-30 alle 08 04 24

@maieul
Copy link
Owner

maieul commented Nov 30, 2020

please, provie a MWE.

@lazzalazza
Copy link
Author

Sure!

\documentclass[14pt,twoside,openright,final]{memoir}

\usepackage{mathspec, graphicx} %mathspec carica anche fontspec
\usepackage{quoting}
\usepackage[expansion]{microtype}
\usepackage{polyglossia}
\setdefaultlanguage{italian}
\setotherlanguage[variant=poly]{greek}
\setotherlanguages{latin, french, spanish, german}

%%%%%%%%%%% MISURE RICORRENTI CUSTOMIZZATE
\newlength{\testonota}
\setlength{\testonota}{1cm}

%%%% CONFIGURAZIONI RELEDMAC
\usepackage[series={A, B, C},noend,noeledsec,noledgroup]{reledmac}

\lineation{page}        %page, pstart o section
\linenummargin{outer}
\Xgroupbyline
\Xnumberonlyfirstinline
\fnpos{critical-familiar}
\Xarrangement[C]{twocol}
\arrangementX[A]{twocol}
\Xhsizetwocol[C]{0.48\hsize}
\Xcolalign[C]{\justifying}
\Xlemmafont[C]{\itshape\bfseries}
\Xlemmaseparator[C]{\textbf{:~}}
\Xprenotes{\testonota}
\let\Afootnoterule=\relax
\let\Bfootnoterule=\relax
\let\Cfootnoterule=\relax
\patchcmd{\endquote}{\vskip\topsep}{\relax}{}{}
\renewcommand{\ledinnotemark}[1]{#1 n}

%%%% IMPOSTAZIONE CITAZIONI
\quotingsetup{vskip=0.6\baselineskip,leftmargin=0em,rightmargin=0em,font={small}}

\begin{document}
\pstart
Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec
facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.
Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam
posuere. Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada
massa, quis varius mi purus non odio. Pellentesque condimentum, magna ut
suscipit hendrerit, ipsum augue ornare nulla, non luctus diam neque sit amet
urna. Curabitur vulputate vestibulum lorem. Fusce sagittis, libero non molestie
mollis, magna orci ultrices dolor, at vulputate neque nulla lacinia eros. Sed id
ligula quis est convallis tempor. Curabitur lacinia pulvinar nibh. Nam a sapien.

\begin{quoting}
  Pellentesque dapibus suscipit ligula. Donec posuere augue in quam. Etiam vel
  tortor sodales tellus ultricies commodo. Suspendisse potenti. Aenean in sem ac
  leo mollis blandit. Donec neque quam, dignissim in, mollis nec, sagittis eu,
  wisi. Phasellus lacus. Etiam laoreet quam sed arcu. Phasellus at dui in ligula
  mollis ultricies. Integer placerat tristique nisl. Praesent augue. Fusce
  commodo. Vestibulum convallis, lorem a tempus semper, dui dui euismod elit,
  vitae placerat urna tortor vitae lacus. Nullam libero mauris, consequat quis,
  varius et, dictum id, arcu. Mauris mollis tincidunt felis. Aliquam feugiat
  tellus ut neque. Nulla facilisis, risus a rhoncus fermentum, tellus tellus
  lacinia purus, et dictum nunc justo sit amet elit.
\end{quoting}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  Donec hendrerit tempor tellus.  Donec pretium posuere tellus.  Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus.  Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.  Nulla posuere.  Donec vitae dolor.  Nullam tristique diam non turpis.  Cras placerat accumsan nulla.  Nullam rutrum.  Nam vestibulum accumsan nisl.
\pend
\end{document}

mwe.pdf

@maieul
Copy link
Owner

maieul commented Nov 30, 2020

Well, as explained in the handbook, you should not use any macro which change interline inside a pstart. Suche change must be done outside of pstart, or in the optional argument.

What is most complex with quote/quotation environnement, it is that use list structuration (I don't know why), and make the things complex again.

8 year ago, I did add in reledmac some pseudo quotation env. But I think I should modifiy the way it is implemented. But I need time for it.

In any case, for your case, you should use this syntaxis (I disactivate fontspec, as it created error).

\documentclass[14pt,twoside,openright,final]{memoir}

\usepackage{mathspec, graphicx} %mathspec carica anche fontspec
\usepackage{quoting}
\usepackage{polyglossia}
\setdefaultlanguage{italian}
\setotherlanguage[variant=poly]{greek}
\setotherlanguages{latin, french, spanish, german}

%%%%%%%%%%% MISURE RICORRENTI CUSTOMIZZATE
\newlength{\testonota}
\setlength{\testonota}{1cm}

%%%% CONFIGURAZIONI RELEDMAC
\usepackage[series={A, B, C},noend,noeledsec,noledgroup]{reledmac}

\lineation{page}        %page, pstart o section
\linenummargin{outer}
\Xgroupbyline
\Xnumberonlyfirstinline
\fnpos{critical-familiar}
\Xarrangement[C]{twocol}
\arrangementX[A]{twocol}
\Xhsizetwocol[C]{0.48\hsize}
\Xcolalign[C]{\justifying}
\Xlemmafont[C]{\itshape\bfseries}
\Xlemmaseparator[C]{\textbf{:~}}
\Xprenotes{\testonota}
\let\Afootnoterule=\relax
\let\Bfootnoterule=\relax
\let\Cfootnoterule=\relax
\patchcmd{\endquote}{\vskip\topsep}{\relax}{}{}
\renewcommand{\ledinnotemark}[1]{#1 n}

%%%% IMPOSTAZIONE CITAZIONI
\quotingsetup{vskip=0.6\baselineskip,leftmargin=0em,rightmargin=0em,font={small}}

\begin{document}
\beginnumbering
\pstart
Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec
facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.
Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam
posuere. Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada
massa, quis varius mi purus non odio. Pellentesque condimentum, magna ut
suscipit hendrerit, ipsum augue ornare nulla, non luctus diam neque sit amet
urna. Curabitur vulputate vestibulum lorem. Fusce sagittis, libero non molestie
mollis, magna orci ultrices dolor, at vulputate neque nulla lacinia eros. Sed id
ligula quis est convallis tempor. Curabitur lacinia pulvinar nibh. Nam a sapien.
\pend

\pstart[\begin{quoting}]
  Pellentesque dapibus suscipit ligula. Donec posuere augue in quam. Etiam vel
  tortor sodales tellus ultricies commodo. Suspendisse potenti. Aenean in sem ac
  leo mollis blandit. Donec neque quam, dignissim in, mollis nec, sagittis eu,
  wisi. Phasellus lacus. Etiam laoreet quam sed arcu. Phasellus at dui in ligula
  mollis ultricies. Integer placerat tristique nisl. Praesent augue. Fusce
  commodo. Vestibulum convallis, lorem a tempus semper, dui dui euismod elit,
  vitae placerat urna tortor vitae lacus. Nullam libero mauris, consequat quis,
  varius et, dictum id, arcu. Mauris mollis tincidunt felis. Aliquam feugiat
  tellus ut neque. Nulla facilisis, risus a rhoncus fermentum, tellus tellus
  lacinia purus, et dictum nunc justo sit amet elit.
\pend[\item\vskip-2\baselineskip\end{quoting}]
\pstart
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  Donec hendrerit tempor tellus.  Donec pretium posuere tellus.  Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus.  Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.  Nulla posuere.  Donec vitae dolor.  Nullam tristique diam non turpis.  Cras placerat accumsan nulla.  Nullam rutrum.  Nam vestibulum accumsan nisl.
\pend
\endnumbering
\end{document}

I hope you won't need reledpar, because some change may be required.

In any case, please next time follow the pattern provided to submit issue.

@lazzalazza
Copy link
Author

I certainly will follow the provided pattern, sorry. Then I will proceed to erect a monument in your name: it all works like a charm. Thank you a lot, can't wait for the pseudo-quotation environments to be revived!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants