Curricula Vitae / Résumésremoval of undesirable in twentysecondscv

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

removal of undesirable in twentysecondscv

Post by UlyssPierre »

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 10923 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

removal of undesirable in twentysecondscv

Post by Stefan Kottwitz »

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:

Code: Select all

\usepackage{etoolbox}
\patchcmd{\makeprofile}{(*)[The skill scale is from 0
  (Fundamental Awareness) to 6 (Expert).]}{}{}{}
Stefan
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 1:34 pm, edited 1 time in total.
LaTeX.org admin
UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

removal of undesirable in twentysecondscv

Post by UlyssPierre »

Thank you for your reply !

Here is the original code with the same problem.

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Added new lines
\documentclass[]{twentysecondcv}
 
\usepackage{etoolbox}

\patchcmd{\makeprofile}{About me}{Philosophie}{}{}
\patchcmd{\makeprofile}{Skill}{Competences}{}{}
\patchcmd{\makeprofile}{(*)[The skill scale is from 0
  (Fundamental Awareness) to 6 (Expert).]}{}{} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
\begin{document}


%%%%%%%%%%%%%%%%%
%%PROFILE SIDE BAR%%
%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%
%%PERSONAL INFO%%%
%%%%%%%%%%%%%%%%

\profilepic{alice.jpeg} %path of profile pic
\cvname{Alice} %your name
\cvjobtitle{Adventurer}%your actual job position
\cvdate{26 November 1865}%date of birth
\cvaddress{United Kingdom}%address
\cvnumberphone{+39 0325658974}%telphone number
\cvmail{alice@wonderland.com}%e-mail
\cvsite{http://en.wikipedia.org}%personal site


\aboutme{
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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%Skill bar section, each skill must have a value between 0 an 6 (float)%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\skills{{pursuer of rabbits/5.8},{good manners/4},{outgoing/4.3},{polite/4},{Java/0.01}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%Skill text section, each skill must have a value between 0 an 6%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\skillstext{{lovely/4},{narcissistic/3}}

\makeprofile
%%%%%%%%%%%%%%%%%%%%
%%END PROFILE SIDE BAR%%
%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%
%%%%%%%%BODY%%%%%%%%
%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%
%%SIMPLE SECTION%%%%%%
%%%%%%%%%%%%%%%%%%%%
\section{interests}
The heroine and the dreamer of Wonderland;  Alice is the principal character.

\section{education}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%TWENTY LIST ITEMS%%%%%%%%%%%%%%
%%    Four arguments: date; title; where; description %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{twenty}
  \twentyitem
    {since 1865}
    {Ph.D. {\normalfont candidate in Computer Science}}
    {Wonderland}
    {\emph{A Quantified Theory of Social Cohesion.}}
  \twentyitem
    {1863-1865}
    {M.Sc. magna cum laude}
    {Wonderland}
    {Majoring in Computer Science}
  \twentyitem
    {1861-1863}
    {B.Sc. magna cum laude}
    {Wonderland}
    {Majoring in Computer Science}
  \twentyitem
    {1856-1861}
    {High school}
    {Wonderland}
    {Specializing in mathematics and physics.}
\end{twenty}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%TWENTY LIST SHORTITEMS%%%%%%%%%%%%%%
%%% Two arguments: date; title/description %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{publications}

\begin{twentyshort}
  \twentyitemshort
    {1865}
    {Chapter One, Down the Rabbit Hole.}
  \twentyitemshort
    {1865}
    {Chapter Two, The Pool of Tears.}
  \twentyitemshort
    {1865}
    {Chapter Three,  The Caucus Race and a Long Tale.}
  \twentyitemshort
    {1865}
    {Chapter Four,  The Rabbit Sends a Little Bill.}
  \twentyitemshort
    {1865}
    {Chapter Five,  Advice from a Caterpillar.}
\end{twentyshort}



\section{awards}

\begin{twentyshort}
  \twentyitemshort
    {1987}
    {All-Time Best Fantasy Novel.}
  \twentyitemshort
    {1998}
    {All-Time Best Fantasy Novel before 1990.}
\end{twentyshort}


\section{experience}

\begin{twenty}
  \twentyitem
    {1900}
    {Alice in Wonderland-The Circra (1900's) Silent Film.}
    {Film}
    {The first Alice on film was over a hundred years ago.}
  \twentyitem
    {1933}
    {Alice in Wonderland 1933 version.}
    {Film}
    {This film stars Ethel griffies and Charlotte Henry. It was a box office flop when it was released.}
\twentyitem
    {1951}
    {Disney Film.}
    {Film}
    {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.}

\end{twenty}
\section{other information}
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.

%%%%%%%%%%%%%%%%%%%%
%%%%%ENDBODY%%%%%%%%
%%%%%%%%%%%%%%%%%%%%

\end{document}
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 1:25 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

removal of undesirable in twentysecondscv

Post by Stefan Kottwitz »

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:

Code: Select all

\usepackage{etoolbox}
\patchcmd{\makeprofile}{About me}{Philosophie}{}{}
\patchcmd{\makeprofile}{Skills}{Competences}{}{}
\patchcmd{\makeprofile}{(*)[The skill scale is from 0
(Fundamental Awareness) to 6 (Expert).]}{}{}{}
Stefan
LaTeX.org admin
UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

removal of undesirable in twentysecondscv

Post by UlyssPierre »

I'm still having the same trouble even after having added all the modifications.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

removal of undesirable in twentysecondscv

Post by Stefan Kottwitz »

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

Stefan
LaTeX.org admin
UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

removal of undesirable in twentysecondscv

Post by UlyssPierre »

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.

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Added new lines
\documentclass[]{twentysecondcv}
 
\usepackage{etoolbox}
\patchcmd{\makeprofile}{About me}{Philosophie}{}{}
\patchcmd{\makeprofile}{Skill}{Competences}{}{}
\patchcmd{\makeprofile}{(*)[The skill scale is from 0
  (Fundamental Awareness) to 6 (Expert).]}{}{}{}  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

\begin{document}
 
 
%%%%%%%%%%%%%%%%%
%%PROFILE SIDE BAR%%
%%%%%%%%%%%%%%%%%
 
%%%%%%%%%%%%%%%%
%%PERSONAL INFO%%%
%%%%%%%%%%%%%%%%
 
\profilepic{alice.jpeg} %path of profile pic
\cvname{Alice} %your name
\cvjobtitle{Adventurer}%your actual job position
\cvdate{26 November 1865}%date of birth
\cvaddress{United Kingdom}%address
\cvnumberphone{+39 0325658974}%telphone number
\cvmail{alice@wonderland.com}%e-mail
\cvsite{http://en.wikipedia.org}%personal site
 
 
\aboutme{
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
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%Skill bar section, each skill must have a value between 0 an 6 (float)%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\skills{{pursuer of rabbits/5.8},{good manners/4},{outgoing/4.3},{polite/4},{Java/0.01}}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%Skill text section, each skill must have a value between 0 an 6%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\skillstext{{lovely/4},{narcissistic/3}}
 
\makeprofile
%%%%%%%%%%%%%%%%%%%%
%%END PROFILE SIDE BAR%%
%%%%%%%%%%%%%%%%%%%%
 
%%%%%%%%%%%%%%%%%%%%
%%%%%%%%BODY%%%%%%%%
%%%%%%%%%%%%%%%%%%%%
 
%%%%%%%%%%%%%%%%%%%%
%%SIMPLE SECTION%%%%%%
%%%%%%%%%%%%%%%%%%%%
\section{interests}
The heroine and the dreamer of Wonderland;  Alice is the principal character.
 
\section{education}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%TWENTY LIST ITEMS%%%%%%%%%%%%%%
%%    Four arguments: date; title; where; description %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{twenty}
  \twentyitem
    {since 1865}
    {Ph.D. {\normalfont candidate in Computer Science}}
    {Wonderland}
    {\emph{A Quantified Theory of Social Cohesion.}}
  \twentyitem
    {1863-1865}
    {M.Sc. magna cum laude}
    {Wonderland}
    {Majoring in Computer Science}
  \twentyitem
    {1861-1863}
    {B.Sc. magna cum laude}
    {Wonderland}
    {Majoring in Computer Science}
  \twentyitem
    {1856-1861}
    {High school}
    {Wonderland}
    {Specializing in mathematics and physics.}
\end{twenty}
 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%TWENTY LIST SHORTITEMS%%%%%%%%%%%%%%
%%% Two arguments: date; title/description %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{publications}
 
\begin{twentyshort}
  \twentyitemshort
    {1865}
    {Chapter One, Down the Rabbit Hole.}
  \twentyitemshort
    {1865}
    {Chapter Two, The Pool of Tears.}
  \twentyitemshort
    {1865}
    {Chapter Three,  The Caucus Race and a Long Tale.}
  \twentyitemshort
    {1865}
    {Chapter Four,  The Rabbit Sends a Little Bill.}
  \twentyitemshort
    {1865}
    {Chapter Five,  Advice from a Caterpillar.}
\end{twentyshort}
 
 
 
\section{awards}
 
\begin{twentyshort}
  \twentyitemshort
    {1987}
    {All-Time Best Fantasy Novel.}
  \twentyitemshort
    {1998}
    {All-Time Best Fantasy Novel before 1990.}
\end{twentyshort}
 
 
\section{experience}
 
\begin{twenty}
  \twentyitem
    {1900}
    {Alice in Wonderland-The Circra (1900's) Silent Film.}
    {Film}
    {The first Alice on film was over a hundred years ago.}
  \twentyitem
    {1933}
    {Alice in Wonderland 1933 version.}
    {Film}
    {This film stars Ethel griffies and Charlotte Henry. It was a box office flop when it was released.}
\twentyitem
    {1951}
    {Disney Film.}
    {Film}
    {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.}
 
\end{twenty}
\section{other information}
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.
 
%%%%%%%%%%%%%%%%%%%%
%%%%%ENDBODY%%%%%%%%
%%%%%%%%%%%%%%%%%%%%
 
\end{document}
Last edited by Stefan Kottwitz on Sat Mar 04, 2017 10:44 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

removal of undesirable in twentysecondscv

Post by Stefan Kottwitz »

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
LaTeX.org admin
UlyssPierre
Posts: 5
Joined: Thu Mar 02, 2017 3:39 pm

removal of undesirable in twentysecondscv

Post by UlyssPierre »

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.
Post Reply