I created one doc here. It has two pages, code seems correct as per me but there are some issue with it.
- I used
\hfill
to put the title in center. IS it wrong? - In
email
, I made only this wordbold
. Why next text and content appearing in bold? though it has not be assigned - At
group_id
in page 1, I want to add link, when user click on it it should be take toGroup schema
. Is this possible to add link to next page(or any other page)?
Demonstration : https://www.sharelatex.com/project/5374a2ebeb2b8d651828ef64?r=380e068e&rs=ps&rm=d
Code:
\begin{document}
\hfill \boldtitle{\textbf {User schema}} \hfill
{\setstretch{1.5}
\textbf {ID : } \textcolor{red}{ObjectId }- Id do registro \\
\textbf {Name: } \textcolor{red}{ String } - Name co usuario \\
\textbf {date: } \textcolor{red}{ Date } - Date de Cadastro \\
\textbf {ren_date: } \textcolor{red}{ Date } - Data de
\textbf {email: } \textcolor{red}{ String } - Lorem ipsum dolorsitamet, consecteturadipisicingelit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minimveniam, exercitationullamcolaborisnisi ut aliquipexeacommodoconsequat. Duisautereprehenderit in voluptatevelit esse cillumdolore eu fugiatnullapariatur. Occaecatcupidatat non proident, sunt in culpa quiofficiadeseruntmollit.
$$
accesslog: \red { Array }
\left(\vcenter{
\hbox{$\left\{\
\vcenter{\parindent=0pt
\hbox{\textbf{date}: \red{string} Data -- da ocorrncia.}
\hbox{\textbf{ObjectId}: \red{Usuário} -- que executou.}
\hbox{\textbf{action}: \red{String} -- Aço Executada.}
}\right.$}
\bigskip
\hbox{$\left\{\
\vcenter{\parindent=0pt
\hbox{\textbf{date}: \red{string} Data -- da ocorrncia.}
\hbox{\textbf{ObjectId}: \red{Usuário} -- que executou.}
\hbox{\textbf{action}: \red{String} -- Aço Executada.}
}\right.$}
}\right.
$$
\textbf {group_id : } \textcolor{red}{ ObjectId } - Id do grupo.
}
Best Answer
For centering use the environment
center
. Use the mathmode only if needed. However, there are some errors in your code. A working one:Hyperlinks can be set with
\label{..}
and\href{text}{link}
. I do not really understand what you mean by "email". In general it is set with\url
.