如何将此文本集中在Sharelatex(编辑器)或乳胶(一般而言)中?
我正在写一份简历,并想将文本集中在文档顶部,其中包含我的姓名和电子邮件详细信息,例如
我使用\ begin {center}和\ end {center},但似乎在
这里工作是我的代码:
\begin{document}
\begin{tabular*}{\linewidth}{l@{\extracolsep{\fill}}r}
\vspace{-4mm}
\textbf{\LARGE Samuel Adams}
\\
& \\ \textbf{Notsville, TX} $|$
\textbf{\phone \ \ +1 (000) 000 0000} $|$
\textbf{[email protected]} $|$ \textbf{{www.linkedin.com/ffdfs}}\\
\end{tabular*}
\vspace{1 mm}
有人可以帮助我居中这篇文本吗?
这就是现在的样子。我希望像我们在Word中一样将这两条线居中。
I am writing a resume and want to center text at the top of the document which contains my name and email details, like this
I used \begin{center} and \end{center} but it doesnt seem to work
Here is my code:
\begin{document}
\begin{tabular*}{\linewidth}{l@{\extracolsep{\fill}}r}
\vspace{-4mm}
\textbf{\LARGE Samuel Adams}
\\
& \\ \textbf{Notsville, TX} $|$
\textbf{\phone \ \ +1 (000) 000 0000} $|$
\textbf{[email protected]} $|$ \textbf{{www.linkedin.com/ffdfs}}\\
\end{tabular*}
\vspace{1 mm}
Can anyone help me center this piece of text?
This is how it looks right now. I am looking to center both lines just like we do it in word.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该表将在页面中间,一旦
您将左和右键的大小相同
使用
\ noindent
在表的前面,以避免将其缩进为新段落的第一行(我实际上不确定为什么要使用表,您永远不会使用第二列。 ..)
The table will be in the middle of the page once
you make the left and right margin the same size
use
\noindent
in front of the table to avoid it being indented as the first line of a new paragraph(I'm actually not sure why you use a table for this, you never use the second column...)