Sphinx test

This page is intended for the testing sphinx capabilities.

Text formats

Italic text.

Bold text.

  1. List item 1.

  1. Inner list 1.1.

  2. Inner list 1.2.

  1. List item 2.

LaTex

\[ \begin{align}\begin{aligned}Пусть\ a \in \mathbb{Z} ,\ p \nmid a . Положим\\G\left(\frac{a}{p}\right):=\sum_{0 \leqslant x < p}^{} e^{ \displaystyle 2 \pi i \frac{a x^2}{p} }\end{aligned}\end{align} \]

C++ code

code:

template <CursorType R,class T> requires ( CursorOverType<R,T> )
class PrintSet : public PrintOptAdapter< Meta::UnConst<T> >
 {
   R range;

  private:

   template <class S>
   static const T & Cast(const S &obj) { return obj; }

  public:

   explicit PrintSet(const R &range_) : range(range_) {}

   void print(PrinterType &out) const
    {
     R r=range;

     if( +r )
       {
        Putobj(out,"{ "_c,Cast(*r));

        for(++r; +r ;++r) Putobj(out," , "_c,Cast(*r));

        Putobj(out," }"_c);
       }
     else
       {
        Putobj(out,"{ }"_c);
       }
    }

   void print(PrinterType &out,const AnyType &opt) const
    {
     R r=range;

     if( +r )
       {
        Putobj(out,"{ "_c,BindOpt(opt,Cast(*r)));

        for(++r; +r ;++r) Putobj(out," , "_c,BindOpt(opt,Cast(*r)));

        Putobj(out," }"_c);
       }
     else
       {
        Putobj(out,"{ }"_c);
       }
    }
 };