1

I am currently writing a research paper in which I need to rephrase the other researcher text. One simple way is given below:

\documentclass{article}
\begin{document}
As farah has written 

\begin{center}
" This question could be interesting to do ...."
\end{center}

\end{document}

Question: Is there a better way to write or some command or tool which can be helpful? I also want to cite him/her properly while referring to him/her. I want the text to be in the center.

3
  • @marmot To center it, is it not sufficient to add \centering: \begin{quote}\centering This question could be interesting to do .... \end{quote}?
    – CarLaTeX
    Commented Feb 8, 2019 at 5:30
  • For citing, see here: en.wikibooks.org/wiki/LaTeX/Bibliography_Management. If you have another problem, please feel free to ask any question you like.
    – CarLaTeX
    Commented Feb 8, 2019 at 6:08
  • I’d use quote, no centering, because this is not a title.
    – egreg
    Commented Feb 8, 2019 at 10:13

1 Answer 1

1

As marmot said in his comment, you could use quote environment, to center it just use \centering:

\documentclass{article}

\begin{document}
As farah has written 
\begin{quote}\centering
  This question could be interesting to do \dots  
\end{quote}
\end{document}

Since you have to do it many times, you could use:

\usepackage{etoolbox}
\AtEndEnvironment{quote}{\centering}

to center every quote environment without having to write \centering every time.

\documentclass{article}
\usepackage{etoolbox}
\AtEndEnvironment{quote}{\centering}

\begin{document}
As farah has written 
\begin{quote}
  This question could be interesting to do \dots  
\end{quote}
\end{document}

enter image description here

But, as the commenters say, you probably need only quote without \centering:

\documentclass{article}

\begin{document}
As farah has written \begin{quote}
  This question could be interesting to do \dots. But as all the commenters say, it is much better without \verb|\centering|!
\end{quote}
Something just to show you the way \verb|quote| environment works.
\end{document}

enter image description here

4
  • If real cite references to a bib are wanted too, I suggest to check the csquotes package. Commented Feb 8, 2019 at 7:28
  • this only looks OK as it's one line, I suspect that if you had multi-line quotation you'd want to center the indented block but justify the actual text as unjustified centered text looks rather odd. That is you'd want quote without the \centering Commented Feb 8, 2019 at 7:47
  • @DavidCarlisle The OP is using center isn't the result the same?
    – CarLaTeX
    Commented Feb 8, 2019 at 8:20
  • @CarLaTeX Using center would also look wrong for a multi-line quote. Each line would be centered separately.
    – alephzero
    Commented Feb 8, 2019 at 10:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .