Trouble defining new cventry style command in latex

Do creatures with a listed speed of "0 ft., fly 30 ft. (hover)" ever touch the ground?

Blending or harmonizing

Calculate the Mean mean of two numbers

Where would I need my direct neural interface to be implanted?

Is it possible to create a QR code using text?

Obtaining database information and values in extended properties

How can I prove that a state of equilibrium is unstable?

Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)

Can someone clarify Hamming's notion of important problems in relation to modern academia?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Does the Idaho Potato Commission associate potato skins with healthy eating?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Different meanings of こわい

What exactly is ineptocracy?

Processor speed limited at 0.4 Ghz

Finding the reason behind the value of the integral.

How to install cross-compiler on Ubuntu 18.04?

How seriously should I take size and weight limits of hand luggage?

Sums of two squares in arithmetic progressions

Is this draw by repetition?

Send out email when Apex Queueable fails and test it

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Are British MPs missing the point, with these 'Indicative Votes'?

Pact of Blade Warlock with Dancing Blade



Trouble defining new cventry style command in latex














0















I'm using the moderncv document type and trying to create a new command similar to the cventry. I'm trying to define in the preamble as below:



newcommand*{cvthing}[4][.25em]{%
savebox{cvthingyearbox}{%
hspace*{2separatorcolumnwidth}%
hintstyle{#2}}%
setlength{cvthingtitleboxwidth}{widthof{usebox{cvthingyearbox}}}%
setlength{cvthingtitleboxwidth}{maincolumnwidth-cvthingtitleboxwidth}%
begin{minipage}{maincolumnwidth}%
parbox[t]{cvthingtitleboxwidth}{%
strut%
{bfseries#3}%
{strut}%
usebox{cvthingyearbox}%
end{minipage}%
ifx&#4&%
else{%
newline{}%
begin{minipage}[t]{maincolumnwidth}%
small%
#4%
end{minipage}}fi%
paraddvspace{#1}}


but I get these errors:



File ended while scanning use of @xargdef.
You have requested package `moderncvheadi', but the package provides `moderncvheadi'.
You have requested package `moderncvbodyi', but the package provides `moderncvbodyi'.


I've been using latex for a few years but haven't tried to change much. If one could please explain what I am doing wrong?









share







New contributor




askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I'm using the moderncv document type and trying to create a new command similar to the cventry. I'm trying to define in the preamble as below:



    newcommand*{cvthing}[4][.25em]{%
    savebox{cvthingyearbox}{%
    hspace*{2separatorcolumnwidth}%
    hintstyle{#2}}%
    setlength{cvthingtitleboxwidth}{widthof{usebox{cvthingyearbox}}}%
    setlength{cvthingtitleboxwidth}{maincolumnwidth-cvthingtitleboxwidth}%
    begin{minipage}{maincolumnwidth}%
    parbox[t]{cvthingtitleboxwidth}{%
    strut%
    {bfseries#3}%
    {strut}%
    usebox{cvthingyearbox}%
    end{minipage}%
    ifx&#4&%
    else{%
    newline{}%
    begin{minipage}[t]{maincolumnwidth}%
    small%
    #4%
    end{minipage}}fi%
    paraddvspace{#1}}


    but I get these errors:



    File ended while scanning use of @xargdef.
    You have requested package `moderncvheadi', but the package provides `moderncvheadi'.
    You have requested package `moderncvbodyi', but the package provides `moderncvbodyi'.


    I've been using latex for a few years but haven't tried to change much. If one could please explain what I am doing wrong?









    share







    New contributor




    askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I'm using the moderncv document type and trying to create a new command similar to the cventry. I'm trying to define in the preamble as below:



      newcommand*{cvthing}[4][.25em]{%
      savebox{cvthingyearbox}{%
      hspace*{2separatorcolumnwidth}%
      hintstyle{#2}}%
      setlength{cvthingtitleboxwidth}{widthof{usebox{cvthingyearbox}}}%
      setlength{cvthingtitleboxwidth}{maincolumnwidth-cvthingtitleboxwidth}%
      begin{minipage}{maincolumnwidth}%
      parbox[t]{cvthingtitleboxwidth}{%
      strut%
      {bfseries#3}%
      {strut}%
      usebox{cvthingyearbox}%
      end{minipage}%
      ifx&#4&%
      else{%
      newline{}%
      begin{minipage}[t]{maincolumnwidth}%
      small%
      #4%
      end{minipage}}fi%
      paraddvspace{#1}}


      but I get these errors:



      File ended while scanning use of @xargdef.
      You have requested package `moderncvheadi', but the package provides `moderncvheadi'.
      You have requested package `moderncvbodyi', but the package provides `moderncvbodyi'.


      I've been using latex for a few years but haven't tried to change much. If one could please explain what I am doing wrong?









      share







      New contributor




      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm using the moderncv document type and trying to create a new command similar to the cventry. I'm trying to define in the preamble as below:



      newcommand*{cvthing}[4][.25em]{%
      savebox{cvthingyearbox}{%
      hspace*{2separatorcolumnwidth}%
      hintstyle{#2}}%
      setlength{cvthingtitleboxwidth}{widthof{usebox{cvthingyearbox}}}%
      setlength{cvthingtitleboxwidth}{maincolumnwidth-cvthingtitleboxwidth}%
      begin{minipage}{maincolumnwidth}%
      parbox[t]{cvthingtitleboxwidth}{%
      strut%
      {bfseries#3}%
      {strut}%
      usebox{cvthingyearbox}%
      end{minipage}%
      ifx&#4&%
      else{%
      newline{}%
      begin{minipage}[t]{maincolumnwidth}%
      small%
      #4%
      end{minipage}}fi%
      paraddvspace{#1}}


      but I get these errors:



      File ended while scanning use of @xargdef.
      You have requested package `moderncvheadi', but the package provides `moderncvheadi'.
      You have requested package `moderncvbodyi', but the package provides `moderncvbodyi'.


      I've been using latex for a few years but haven't tried to change much. If one could please explain what I am doing wrong?







      moderncv





      share







      New contributor




      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 mins ago









      askrabalaskrabal

      1




      1




      New contributor




      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      askrabal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          askrabal is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482882%2ftrouble-defining-new-cventry-style-command-in-latex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          askrabal is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          askrabal is a new contributor. Be nice, and check out our Code of Conduct.













          askrabal is a new contributor. Be nice, and check out our Code of Conduct.












          askrabal is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482882%2ftrouble-defining-new-cventry-style-command-in-latex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...