LaTeX forum ⇒ Curricula Vitae / Résumésremoval of undesirable in twentysecondscv Topic is solved

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

removal of undesirable in twentysecondscv

Postby UlyssPierre » Thu Mar 02, 2017 4:09 pm

Hello,

First thing first, a big thanks to the LaTex community for giving me the opportunity to be part of this forum.

I have an issue with my CV. I'm trying to remove an over-crossed line from my cv and the English message at the end of the skills bar as shown with the red arrows below in the attachment.
I'm adapting the twentysecondscv cv to my own french cv.

Can somebody help please?


00000000000000.PNG
00000000000000.PNG (49.16 KiB) Viewed 1224 times

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8537
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Thu Mar 02, 2017 7:16 pm

Welcome to the forum!

The line comes from \profilesection. It is an auto-width rule. Perhaps show your code to us, so we can see why it happened in your modification - the original is fine.

The undesirable message can be removed (or replaces) by this patch in your document preamble:

  1. \usepackage{etoolbox}
  2. \patchcmd{\makeprofile}{(*)[The skill scale is from 0
  3. (Fundamental Awareness) to 6 (Expert).]}{}{}{}


Stefan
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 1:34 pm, edited 1 time in total.
Reason: {} added
Site admin

UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

Postby UlyssPierre » Sat Mar 04, 2017 12:05 am

Thank you for your reply !

Here is the original code with the same problem.

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Added new lines
  2. \documentclass[]{twentysecondcv}
  3. \usepackage{etoolbox}
  4. \patchcmd{\makeprofile}{About me}{Philosophie}{}{}
  5. \patchcmd{\makeprofile}{Skill}{Competences}{}{}
  6. \patchcmd{\makeprofile}{(*)[The skill scale is from 0
  7. (Fundamental Awareness) to 6 (Expert).]}{}{}
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. \begin{document}
  10.  
  11.  
  12. %%%%%%%%%%%%%%%%%
  13. %%PROFILE SIDE BAR%%
  14. %%%%%%%%%%%%%%%%%
  15.  
  16. %%%%%%%%%%%%%%%%
  17. %%PERSONAL INFO%%%
  18. %%%%%%%%%%%%%%%%
  19.  
  20. \profilepic{alice.jpeg} %path of profile pic
  21. \cvname{Alice} %your name
  22. \cvjobtitle{Adventurer}%your actual job position
  23. \cvdate{26 November 1865}%date of birth
  24. \cvaddress{United Kingdom}%address
  25. \cvnumberphone{+39 0325658974}%telphone number
  26. \cvmail{alice@wonderland.com}%e-mail
  27. \cvsite{http://en.wikipedia.org}%personal site
  28.  
  29.  
  30. \aboutme{
  31. Alice is a sensible prepubescent girl from a wealthy English family who finds herself in a strange world ruled by imagination and fantasy. Alice feels comfortable with her identity and has a strong sense that her environment is comprised of clear, logical, and consistent rules and features. Alice's familiarity with the world has led one critic to describe her as a "disembodied intellect". Alice displays great curiosity and attempts to fit her diverse experiences into a clear understanding of the world.}%About me section
  32.  
  33. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  34. %%%%%%Skill bar section, each skill must have a value between 0 an 6 (float)%%%%%%%
  35. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  36. \skills{{pursuer of rabbits/5.8},{good manners/4},{outgoing/4.3},{polite/4},{Java/0.01}}
  37.  
  38. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  39. %%%%%%Skill text section, each skill must have a value between 0 an 6%%%%%%%%%%%%
  40. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  41. \skillstext{{lovely/4},{narcissistic/3}}
  42.  
  43. \makeprofile
  44. %%%%%%%%%%%%%%%%%%%%
  45. %%END PROFILE SIDE BAR%%
  46. %%%%%%%%%%%%%%%%%%%%
  47.  
  48. %%%%%%%%%%%%%%%%%%%%
  49. %%%%%%%%BODY%%%%%%%%
  50. %%%%%%%%%%%%%%%%%%%%
  51.  
  52. %%%%%%%%%%%%%%%%%%%%
  53. %%SIMPLE SECTION%%%%%%
  54. %%%%%%%%%%%%%%%%%%%%
  55. \section{interests}
  56. The heroine and the dreamer of Wonderland; Alice is the principal character.
  57.  
  58. \section{education}
  59.  
  60. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  61. %%%%%%%%%%%%%TWENTY LIST ITEMS%%%%%%%%%%%%%%
  62. %% Four arguments: date; title; where; description %%%%
  63. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  64. \begin{twenty}
  65. \twentyitem
  66. {since 1865}
  67. {Ph.D. {\normalfont candidate in Computer Science}}
  68. {Wonderland}
  69. {\emph{A Quantified Theory of Social Cohesion.}}
  70. \twentyitem
  71. {1863-1865}
  72. {M.Sc. magna cum laude}
  73. {Wonderland}
  74. {Majoring in Computer Science}
  75. \twentyitem
  76. {1861-1863}
  77. {B.Sc. magna cum laude}
  78. {Wonderland}
  79. {Majoring in Computer Science}
  80. \twentyitem
  81. {1856-1861}
  82. {High school}
  83. {Wonderland}
  84. {Specializing in mathematics and physics.}
  85. \end{twenty}
  86.  
  87.  
  88. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  89. %%%%%%%%%TWENTY LIST SHORTITEMS%%%%%%%%%%%%%%
  90. %%% Two arguments: date; title/description %%%%%%%%%%
  91. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  92. \section{publications}
  93.  
  94. \begin{twentyshort}
  95. \twentyitemshort
  96. {1865}
  97. {Chapter One, Down the Rabbit Hole.}
  98. \twentyitemshort
  99. {1865}
  100. {Chapter Two, The Pool of Tears.}
  101. \twentyitemshort
  102. {1865}
  103. {Chapter Three, The Caucus Race and a Long Tale.}
  104. \twentyitemshort
  105. {1865}
  106. {Chapter Four, The Rabbit Sends a Little Bill.}
  107. \twentyitemshort
  108. {1865}
  109. {Chapter Five, Advice from a Caterpillar.}
  110. \end{twentyshort}
  111.  
  112.  
  113.  
  114. \section{awards}
  115.  
  116. \begin{twentyshort}
  117. \twentyitemshort
  118. {1987}
  119. {All-Time Best Fantasy Novel.}
  120. \twentyitemshort
  121. {1998}
  122. {All-Time Best Fantasy Novel before 1990.}
  123. \end{twentyshort}
  124.  
  125.  
  126. \section{experience}
  127.  
  128. \begin{twenty}
  129. \twentyitem
  130. {1900}
  131. {Alice in Wonderland-The Circra (1900's) Silent Film.}
  132. {Film}
  133. {The first Alice on film was over a hundred years ago.}
  134. \twentyitem
  135. {1933}
  136. {Alice in Wonderland 1933 version.}
  137. {Film}
  138. {This film stars Ethel griffies and Charlotte Henry. It was a box office flop when it was released.}
  139. \twentyitem
  140. {1951}
  141. {Disney Film.}
  142. {Film}
  143. {Walt Disney brings Lewis Carroll's fantasy story to life in this well done animated classic. Even though many elements from the book were dropped, such as the duchess with the baby pig and mock turtle, this version is without a doubt the most famous Alice adaption made.}
  144.  
  145. \end{twenty}
  146. \section{other information}
  147. Alice approaches Wonderland as an anthropologist, but maintains a strong sense of noblesse oblige that comes with her class status. She has confidence in her social position, education, and the Victorian virtue of good manners. Alice has a feeling of entitlement, particularly when comparing herself to Mabel, whom she declares has a “poky little house,” and no toys. Additionally, she flaunts her limited information base with anyone who will listen and becomes increasingly obsessed with the importance of good manners as she deals with the rude creatures of Wonderland. Alice maintains a superior attitude and behaves with solicitous indulgence toward those she believes are less privileged.
  148.  
  149. %%%%%%%%%%%%%%%%%%%%
  150. %%%%%ENDBODY%%%%%%%%
  151. %%%%%%%%%%%%%%%%%%%%
  152.  
  153. \end{document}
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 1:25 pm, edited 1 time in total.
Reason: code marked

User avatar
Stefan Kottwitz
Site Admin
Posts: 8537
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Mar 04, 2017 1:37 pm

An additional pair of braces {} is needed, I added it above. That's because of the syntax

\patchcmd[<prefix>]{<command>}{<search>}{<replace>}{<success>}{<failure>}

And you may want to replace "Skills" instead of "Skill". The code becomes:

  1. \usepackage{etoolbox}
  2. \patchcmd{\makeprofile}{About me}{Philosophie}{}{}
  3. \patchcmd{\makeprofile}{Skills}{Competences}{}{}
  4. \patchcmd{\makeprofile}{(*)[The skill scale is from 0
  5. (Fundamental Awareness) to 6 (Expert).]}{}{}{}


Stefan
Site admin

UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

Postby UlyssPierre » Sat Mar 04, 2017 7:59 pm

I'm still having the same trouble even after having added all the modifications.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8537
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Mar 04, 2017 8:55 pm

I don't see this trouble with the modification and your sample document. Perhaps post again a (modified) document that has the issue.

Stefan
Site admin

UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

Postby UlyssPierre » Sat Mar 04, 2017 9:24 pm

Thanks again for the reply.

Here is the code.
I didn't change skill to skills because when i do so it doesn't replace skills to competence.
What you need to see is "competence" section and "philosophie" section.

Thanks.

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Added new lines
  2. \documentclass[]{twentysecondcv}
  3. \usepackage{etoolbox}
  4. \patchcmd{\makeprofile}{About me}{Philosophie}{}{}
  5. \patchcmd{\makeprofile}{Skill}{Competences}{}{}
  6. \patchcmd{\makeprofile}{(*)[The skill scale is from 0
  7. (Fundamental Awareness) to 6 (Expert).]}{}{}{}
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9.  
  10. \begin{document}
  11.  
  12.  
  13. %%%%%%%%%%%%%%%%%
  14. %%PROFILE SIDE BAR%%
  15. %%%%%%%%%%%%%%%%%
  16.  
  17. %%%%%%%%%%%%%%%%
  18. %%PERSONAL INFO%%%
  19. %%%%%%%%%%%%%%%%
  20.  
  21. \profilepic{alice.jpeg} %path of profile pic
  22. \cvname{Alice} %your name
  23. \cvjobtitle{Adventurer}%your actual job position
  24. \cvdate{26 November 1865}%date of birth
  25. \cvaddress{United Kingdom}%address
  26. \cvnumberphone{+39 0325658974}%telphone number
  27. \cvmail{alice@wonderland.com}%e-mail
  28. \cvsite{http://en.wikipedia.org}%personal site
  29.  
  30.  
  31. \aboutme{
  32. Alice is a sensible prepubescent girl from a wealthy English family who finds herself in a strange world ruled by imagination and fantasy. Alice feels comfortable with her identity and has a strong sense that her environment is comprised of clear, logical, and consistent rules and features. Alice's familiarity with the world has led one critic to describe her as a "disembodied intellect". Alice displays great curiosity and attempts to fit her diverse experiences into a clear understanding of the world.}%About me section
  33.  
  34. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  35. %%%%%%Skill bar section, each skill must have a value between 0 an 6 (float)%%%%%%%
  36. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  37. \skills{{pursuer of rabbits/5.8},{good manners/4},{outgoing/4.3},{polite/4},{Java/0.01}}
  38.  
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40. %%%%%%Skill text section, each skill must have a value between 0 an 6%%%%%%%%%%%%
  41. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  42. \skillstext{{lovely/4},{narcissistic/3}}
  43.  
  44. \makeprofile
  45. %%%%%%%%%%%%%%%%%%%%
  46. %%END PROFILE SIDE BAR%%
  47. %%%%%%%%%%%%%%%%%%%%
  48.  
  49. %%%%%%%%%%%%%%%%%%%%
  50. %%%%%%%%BODY%%%%%%%%
  51. %%%%%%%%%%%%%%%%%%%%
  52.  
  53. %%%%%%%%%%%%%%%%%%%%
  54. %%SIMPLE SECTION%%%%%%
  55. %%%%%%%%%%%%%%%%%%%%
  56. \section{interests}
  57. The heroine and the dreamer of Wonderland; Alice is the principal character.
  58.  
  59. \section{education}
  60.  
  61. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  62. %%%%%%%%%%%%%TWENTY LIST ITEMS%%%%%%%%%%%%%%
  63. %% Four arguments: date; title; where; description %%%%
  64. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  65. \begin{twenty}
  66. \twentyitem
  67. {since 1865}
  68. {Ph.D. {\normalfont candidate in Computer Science}}
  69. {Wonderland}
  70. {\emph{A Quantified Theory of Social Cohesion.}}
  71. \twentyitem
  72. {1863-1865}
  73. {M.Sc. magna cum laude}
  74. {Wonderland}
  75. {Majoring in Computer Science}
  76. \twentyitem
  77. {1861-1863}
  78. {B.Sc. magna cum laude}
  79. {Wonderland}
  80. {Majoring in Computer Science}
  81. \twentyitem
  82. {1856-1861}
  83. {High school}
  84. {Wonderland}
  85. {Specializing in mathematics and physics.}
  86. \end{twenty}
  87.  
  88.  
  89. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  90. %%%%%%%%%TWENTY LIST SHORTITEMS%%%%%%%%%%%%%%
  91. %%% Two arguments: date; title/description %%%%%%%%%%
  92. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93. \section{publications}
  94.  
  95. \begin{twentyshort}
  96. \twentyitemshort
  97. {1865}
  98. {Chapter One, Down the Rabbit Hole.}
  99. \twentyitemshort
  100. {1865}
  101. {Chapter Two, The Pool of Tears.}
  102. \twentyitemshort
  103. {1865}
  104. {Chapter Three, The Caucus Race and a Long Tale.}
  105. \twentyitemshort
  106. {1865}
  107. {Chapter Four, The Rabbit Sends a Little Bill.}
  108. \twentyitemshort
  109. {1865}
  110. {Chapter Five, Advice from a Caterpillar.}
  111. \end{twentyshort}
  112.  
  113.  
  114.  
  115. \section{awards}
  116.  
  117. \begin{twentyshort}
  118. \twentyitemshort
  119. {1987}
  120. {All-Time Best Fantasy Novel.}
  121. \twentyitemshort
  122. {1998}
  123. {All-Time Best Fantasy Novel before 1990.}
  124. \end{twentyshort}
  125.  
  126.  
  127. \section{experience}
  128.  
  129. \begin{twenty}
  130. \twentyitem
  131. {1900}
  132. {Alice in Wonderland-The Circra (1900's) Silent Film.}
  133. {Film}
  134. {The first Alice on film was over a hundred years ago.}
  135. \twentyitem
  136. {1933}
  137. {Alice in Wonderland 1933 version.}
  138. {Film}
  139. {This film stars Ethel griffies and Charlotte Henry. It was a box office flop when it was released.}
  140. \twentyitem
  141. {1951}
  142. {Disney Film.}
  143. {Film}
  144. {Walt Disney brings Lewis Carroll's fantasy story to life in this well done animated classic. Even though many elements from the book were dropped, such as the duchess with the baby pig and mock turtle, this version is without a doubt the most famous Alice adaption made.}
  145.  
  146. \end{twenty}
  147. \section{other information}
  148. Alice approaches Wonderland as an anthropologist, but maintains a strong sense of noblesse oblige that comes with her class status. She has confidence in her social position, education, and the Victorian virtue of good manners. Alice has a feeling of entitlement, particularly when comparing herself to Mabel, whom she declares has a “poky little house,” and no toys. Additionally, she flaunts her limited information base with anyone who will listen and becomes increasingly obsessed with the importance of good manners as she deals with the rude creatures of Wonderland. Alice maintains a superior attitude and behaves with solicitous indulgence toward those she believes are less privileged.
  149.  
  150. %%%%%%%%%%%%%%%%%%%%
  151. %%%%%ENDBODY%%%%%%%%
  152. %%%%%%%%%%%%%%%%%%%%
  153.  
  154. \end{document}
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 10:44 pm, edited 1 time in total.
Reason: Code marked

User avatar
Stefan Kottwitz
Site Admin
Posts: 8537
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Mar 04, 2017 10:51 pm

UlyssPierre wrote:I didn't change skill to skills because when i do so it doesn't replace skills to competence.


It works for me.

UlyssPierre wrote:What you need to see is "competence" section and "philosophie" section.


Try this on Overleaf - that's your code (plus an s to "Skill") : https://www.overleaf.com/8449392qszjhbpzckhh#/29994727/

Stefan
Site admin

UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

Postby UlyssPierre » Sun Mar 05, 2017 12:04 am

Thank you so much !
It works on your folder but not on mine. So I chose your folder as the new reference.
Problem solved.

Thank you for your contribution.


Return to “Curricula Vitae / Résumés”

Who is online

Users browsing this forum: No registered users and 3 guests