【问题标题】:How do I solve text too wide error in LaTeX?如何解决 LaTeX 中的文本太宽错误?
【发布时间】:2020-11-23 15:05:20
【问题描述】:

文本太长,会在整个第一行随机打断我的第一个单词...我不知道如何使它看起来像另一个短文本。这是我的代码:

\documentclass[letterpaper,11pt]{article}
\usepackage{simplecv}
\begin{document}
\vspace{1em}
\entrybig
{\textbf{LexBox}}{Nov 2020 - Present}
LexBox represents the fastest and the most efficient way to make a contravention complaint without to get in touch with a lawyer.
\\\textbf{Technologies:} C\#, ASP.NET, jQuery AJAX, CSS \& HTML
\entrybig
{\textbf{GAM - Group Activity Manager}}{Oct 2020 - Present}
{This application is designed to remote control multiple desktops at the same time. \\
\textbf{Technologies:} C\#, .NET Framework}
\end{document}

.sty 文件是this

结果是 this

【问题讨论】:

  • 对不起,我觉得没问题
  • 不为我编译
  • 现在没关系 xD 我忘了 .sty 文件
  • 不。缺少包裹...

标签: latex pdflatex latex-environment


【解决方案1】:

三大问题:

  • 你不能单独使用\entrybig,它需要在一个列表中,例如\outerlist{}

  • 您用于\entrybig 的语法是错误的。这个宏需要 4 个强制参数,不是 2,不是 3,正好是 4

  • 当这个宏被插入表格单元格时,你不能滥用\\换行


\documentclass[letterpaper,11pt]{article}

% Choose bibliography style for formatting list of publications
\usepackage[style=ieee,url=false,doi=false,maxbibnames=99,sorting=ydnt,dashed=false]{biblatex}
\bibliography{papers}

% Choose theme, e.g. black, RedViolet, ForestGreen, MidnightBlue
\def\theme{MidnightBlue}

\usepackage{simplecv}

\begin{document}


See more of my projects on \website{https://github.com/Mihutzen}
\vspace{1em}

\outerlist{

\entrybig
{\textbf{ETH Zurich}}
{Zurich, CH}
{M.S. in Computer Science, GPA: 5.63/6.00}
{2018\textendash 2020}

}
\end{document}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-02
    • 1970-01-01
    • 2011-02-17
    • 2020-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-11
    相关资源
    最近更新 更多