Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use cvsubentry #29

Closed
kedmond opened this issue Feb 10, 2016 · 16 comments
Closed

Unable to use cvsubentry #29

kedmond opened this issue Feb 10, 2016 · 16 comments

Comments

@kedmond
Copy link

kedmond commented Feb 10, 2016

Thank you for the great template.

I've been having trouble using the \cvsubentry commnad.

\begin{cvsubentries}
  \cvsubentry
    {Position}
    {title}
    {today -- tomorrow}
    {description}
\end{cvsubentries}

I'm not sure what I'm doing wrong here. I receive an error stating that

! Extra alignment tab has been changed to \cr.
\endtemplate
l.26 ^^I {description}
You have given more \span or & marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.

I've tried many different things, such as placing the sub-entry environment within the entry environment, etc. Can you provide a .tex file with an example of its usage? Thanks again.

@kedmond kedmond changed the title cvsubentry? Unable to use cvsubentry Feb 10, 2016
@posquit0
Copy link
Owner

Fixed this problem #28
Thanks!

@posquit0 posquit0 added the bug label Feb 12, 2016
@mpeterson
Copy link

mpeterson commented May 7, 2016

@posquit0 I happen to continue to have this problem, cvsubentry is not working correctly when all parameters are provided.

The error I get is

! Extra alignment tab has been changed to \cr.
\endtemplate

l.89 }

@johannesbottcher
Copy link
Contributor

@mpeterson Please post a compilable example to let us reproduce the issue. Did you download the updated template?

@mpeterson
Copy link

mpeterson commented May 15, 2016

@johannesbottcher Sorry for the delay. I cloned the Git repository and it was updated, so yes.

Using the example that sits on the example folder of the repository if you have this "complex" entry it won't work.

\cventry
    {Title} % Job title
    {Org} % Organization
    {Location} % Location
    {Feb. 2009 - May. 2012} % Date(s)
    {
      \begin{cvsubentries}
        \cvsubentry
          {Sub Title 1}
          {Sub Org 1}
          {Dec. 2009 - May. 2012}
          {
          \begin{cvitems} % Description(s) of tasks/responsibilities
            \item {item 1.}
            \item {item 2.}
          \end{cvitems}
          }
        \cvsubentry
          {Sub Title 2}
          {Sub Org 2}
          {Feb. 2009 - Nov. 2009}
          {
          \begin{cvitems}
            \item {Item 1}
            \item {Item 2}
          \end{cvitems}
          }
      \end{cvsubentries}
}

But it wouldn't work either with this simple entry that was part of the examples that was provided (once you add a title and a description:

\cventry  
    {Freelance Penetration Tester} % Job title  
    {SAMSUNG Electronics} % Organization                                                                                                                                               {S.Korea} % Location
    {Sep. 2013, Mar. 2011 - Oct. 2011} % Date(s)
    {
      \begin{cvitems} % Description(s) of tasks/responsibilities
        \item {Conducted penetration testing on SAMSUNG KNOX, which is solution for enterprise mobile security.}
        \item {Conducted penetration testing on SAMSUNG Smart TV.}
      \end{cvitems}
      \begin{cvsubentries}
          \cvsubentry{added title}{KNOX(Solution for Enterprise Mobile Security) Penetration Testing}{Sep. 2013}{added description}
          \cvsubentry{added title}{Smart TV Penetration Testing}{Mar. 2011 - Oct. 2011}{added description}
      \end{cvsubentries}
    }

@johannesbottcher
Copy link
Contributor

That issue was never fixed, i'll take a look at the mess.

@johannesbottcher
Copy link
Contributor

@mpeterson You can try out #48

@jasonhemann
Copy link

I continue to have this problem as well. I can provide an mwe if need be.

@johannesbottcher
Copy link
Contributor

@jasonhemann Please do so.

@Tiliavir
Copy link

Tiliavir commented Mar 17, 2018

% Define a subentry of cv information
% Usage: \cvsubentry{<position>}{<title>}{<date>}{<description>}
\newcommand*{\cvsubentry}[4]{%
  \setlength\tabcolsep{0pt}
  \setlength{\extrarowheight}{0pt}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
    \setlength\leftskip{0.2cm}
    \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
      {\subentrydatestyle{#3}}{}
    \ifthenelse{\equal{#1}{}}
      {}
      {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
    \ifthenelse{\equal{#4}{}}
      {}
      {\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\}
  \end{tabular*}
}

There is at least one issue with a missing \\ in the first row of the tabular ...

And this issue should not be closed, since the issue persists ...

@GiorgioBalestrieri
Copy link

I also have the same issue. This should be re-opened.

@gamerkhang
Copy link

I can't add subentries with nested list like what @mpeterson has, how can I fix this? The changes from @johannesbottcher weren't indented the way I wanted them to be and there was a lot of whitespace between the title and the description.

@WillTaylorDev
Copy link

@GiorgioBalestrieri @gamerkhang did you guys ever find a workaround?

@gamerkhang
Copy link

nope, i only commented a couple days ago lol

wooheaven added a commit to wooheaven/Awesome-CV that referenced this issue Aug 29, 2019
```
modified:   99_Utility/01_remove_tmp_files.sh
modified:   examples/resume-0.png
modified:   examples/resume-1.png
modified:   examples/resume.pdf
modified:   examples/resume/experience_korean.tex
modified:   examples/resume/project.tex
new file:   examples/resume/project_korean.tex
modified:   examples/resume_korean.pdf
modified:   examples/resume_korean.tex
```
wooheaven added a commit to wooheaven/Awesome-CV that referenced this issue Aug 29, 2019
posquit0#29-korean-version-5-project

Closes posquit0#29

See merge request wooheaven/Awesome-CV!30
@urbanhusky
Copy link

cvsubentry isn't working for me either. Has this been fixed?

@Berkmann18
Copy link

Same here.

@bindas1
Copy link

bindas1 commented Nov 8, 2021

For anyone still looking for the answer, this has solved my issue: #297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests