Besseres Symbol für E-Mail in moderncv Thema ist als GELÖST markiert

Fragen und Probleme, die nicht den obigen Kategorien zugeordnet werden können


nixversteh
Forum-Meister
Forum-Meister
Beiträge: 561
Registriert: Di 10. Aug 2010, 09:47
Wohnort: Wrestedt

Besseres Symbol für E-Mail in moderncv

Beitrag von nixversteh »

Moin liebe User,
ich habe heute einen Lebenslauf mit moderncv erstellen wollen. Leider gab es bestimmt vorher Updates, sodass das Dokument NICHT kompliert wurde. Nach einer geraumen Zeit fand ich im Netz eine Version die funktionierte.
Ich finde das Symbol eines Briefumschlages nicht einmal suboptimal für die Darstellunge einer E-Mail-Adresse. Wie kann ich das ändern?
Document Class: moderncv 2022-02-21 v2.3.1 
Absence of evidence is not evidence of absence

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2759
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: Besseres Symbol für E-Mail in moderncv

Beitrag von Stefan Kottwitz »

Moin,

selbst Microsoft Outlook zeigt noch einen Briefumschlag für den Posteingang. Was schwebt Dir denn vor? Eine Tastatur als Symbol weil man damit schreibt? Ein Stift wäre ja auch zu oldschool. Du kannst ja die symbols-Liste mal durchsuchen nach was geeignetem. Oder fontawesome5.

Oder verwende ein @-Symbol, das sehe ich als typisch für email-Adressen. Taucht dann natürlich nochmal in der Adresse auf... wobei die Adresse vllt. typewriter/monospaced ist, und die Symbole vllt. serifenlos und fett. fontawesome5 hat so ein Symbol auch mit \faAt oder \faIcon{at}.

Stefan

nixversteh
Forum-Meister
Forum-Meister
Beiträge: 561
Registriert: Di 10. Aug 2010, 09:47
Wohnort: Wrestedt

Re: Besseres Symbol für E-Mail in moderncv

Beitrag von nixversteh »

Vielen Dank Stefan,
ich füge mal ein Bildchen als Anhang.
Dateianhänge
Lebenslauf.png
Absence of evidence is not evidence of absence

nixversteh
Forum-Meister
Forum-Meister
Beiträge: 561
Registriert: Di 10. Aug 2010, 09:47
Wohnort: Wrestedt

Re: Besseres Symbol für E-Mail in moderncv

Beitrag von nixversteh »

Moin liebe User,
habe es hinbekommen, allerdings dirty ... aus zwei unterschiedlichen Dateien zusammengefügt.
\documentclass[11pt,letterpaper,roman]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman

\moderncvstyle{classic} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{burgundy} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'

\usepackage{lastpage}
\rfoot{\addressfont\itshape\textcolor{gray}{Page \thepage}}
\usepackage{marvosym}
%---------------------------------------------------------------------------
% FONTS Linux Libertinus
%---------------------------------------------------------------------------
\usepackage{addliga}
\usepackage{fontspec}
\usepackage{metalogo} % Für die Logos von \LaTeX \XeTeX usw.
\usepackage{amsmath} %% Displayed equations
\usepackage{amssymb} %% and additional symbols
\usepackage{amsfonts}
\usepackage{trace}
\usepackage{amsthm}
\usepackage{unicode-math}
\setmainfont[Numbers={OldStyle,Proportional},Ligatures={TeX, Common}]{Libertinus Serif}
\setmonofont[Scale=0.85]{Libertinus Mono}
\setsansfont{Libertinus Sans}
\setmathfont{Libertinus Math}
\renewcommand*{\emailsymbol}{\marvosymbol{107}~}
\usepackage[ngerman]{babel}
\newcommand{\amper}{{\fontspec[Scale=.95]{Adobe Caslon Pro}\selectfont\itshape\&}}
%---------------------------------------------------------------------------
\setlength{\hintscolumnwidth}{35mm} %Laenge link
\setlength{\separatorcolumnwidth}{6mm} %Laenge Abstand horizontal
\setlength{\maincolumnwidth}{1cm} %Laenge rechts
\setlength{\voffset}{-0.2in}
\setlength{\textheight}{10.5in} % increase text height to fit resume on 1 page

\usepackage[scale=0.94, footskip=0.4cm]{geometry} % Reduce document margins
\setlength{\footskip}{12.48pt}
%%%\setlength{\hintscolumnwidth}{0.5cm} % Uncomment to change the width of the dates column
%\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name
%----------------------------------------------------------------------------------------
\makeatletter
%\setlength\columnsep{20pt}

\setcounter{tocdepth}{2}
\setlength\columnsep{20pt}
\newcommand\@pnumwidth{1.5em}

\newcommand\contentsname{Contents}
\newcommand\tableofcontents{%
	% One Column Version (complete)
	%\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
	%\section*{\contentsname}
	%\vspace{-20pt}
	%\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
	%\cvitem{}{\@starttoc{toc}}%

	% Two Column Version (complete)
	\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
	\section*{\contentsname}
	\vspace{-25pt}
	\cvitem{}{
		\begin{multicols}{2}[]
		\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
		\@starttoc{toc}%
		\end{multicols}
	}
	\vspace{-15pt}
}

\RenewDocumentCommand{\section}{sm}{%
  \par\addvspace{2.5ex}%
  \phantomsection{}% reset the anchor for hyperrefs
  \addtocontents{toc}{\protect\vskip0pt}
  \addcontentsline{toc}{section}{#2}%
  \parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}%
  \hspace{\separatorcolumnwidth}%
  \parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#2}}%
  \par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading

\newcommand*\l@section[2]{%
  \ifnum \c@tocdepth >\z@
    \addpenalty\@secpenalty
    %\addvspace{1.0em \@plus\p@}%
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode
      \advance\leftskip\@tempdima
      \hskip -\leftskip
	#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss\itshape #2}\par
      %#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss\itshape #2}\par
    \endgroup
  \fi}

%\newcommand*\l@section[2]{\\}
\newcommand*\l@subsection[2]{}
\makeatother
%---------------------------------------------------------------------------
\AtBeginDocument{\recomputelengths}  % required when changes are made to page layout lengths
\makeatletter
%---------------------------------------------------------------------------
%	NAME AND CONTACT INFORMATION SECTION
%---------------------------------------------------------------------------
\AtBeginDocument{\recomputelengths}  % required when changes are made to page layout lengths
\makeatletter
% User specified LaTeX commands.
\moderncvtheme[burgundy]{classic}
% required
\firstname{\fontspec{English111 Vivace BT}{\itshape Susanne}}
% required
\familyname{Musterfrau}
% optional, remove the line if not wanted
\title{Diplom Sozialpädagogin}
% optional
%1\address{street and number}{postcode city}
% '\\' adds a line break
\address{Klein Pretzier 322a}{29559 Musterstadt}
% optional
%%\phone{05825~98\,54\,50}
% optional
\mobile{0178~123456}
% optional
\email{musterfrau-susa@gmx.de}
% optional
% EDIT THIS \extrainfo{Perhaps a URL}

% optional
%\photo[height]{name}
% 'height' is the height the picture is resized to
% 'name' is the name of the picture file
% EDIT THIS
%%\photo[60pt]{Susa1}

% EDIT THIS \quote{"You only live twice." (an optional quote)}
%\AtBeginDocument{\maketitle}
\makeatother
% Fix overful hboxes automatically:
\tolerance=2000
\emergencystretch=10pt

\renewcommand*{\namefont}{\fontsize{28}{32}\rmfamily\mdseries\upshape}
\renewcommand*{\emailsymbol}{\marvosymbol{107}~}
\begin{document}
\setlength{\footskip}{13.59999pt}
\maketitle
\renewcommand*{\cventry}[6]{%
  \cvline{#1}{%
    {\bfseries#2}%
    \ifx#3\else{, {\slshape#3}}\fi%
    \ifx#4\else{, #4}\fi%
    \ifx#5\else{, #5}\fi%
%    .%<--- DIESE ZEILE AUSKOMMENTIERT
    \ifx#6\else{\newline{}\begin{minipage}[t]{\linewidth}\small#6\end{minipage}}\fi
    }}%
dann folgen die persönlichen Daten, Ausbildungen etc.

In den Ordner habe ich folgende Dateien kopiert:
Dateianhänge
moderncvcolorgreen.sty.txt
.txt löschen
(1008 Bytes) 337-mal heruntergeladen
moderncvcolorburgundy.sty.txt
.txt löschen
(1.04 KiB) 342-mal heruntergeladen
moderncvcolorblue.sty.txt
.txt löschen
(1009 Bytes) 282-mal heruntergeladen
moderncvcolorblack.sty.txt
.txt löschen
(986 Bytes) 440-mal heruntergeladen
moderncv.cls.txt
.txt löschen
(16.85 KiB) 390-mal heruntergeladen
Absence of evidence is not evidence of absence

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2759
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: Besseres Symbol für E-Mail in moderncv

Beitrag von Stefan Kottwitz »

Schön, dass es funktioniert!

Stefan

nixversteh
Forum-Meister
Forum-Meister
Beiträge: 561
Registriert: Di 10. Aug 2010, 09:47
Wohnort: Wrestedt

Re: Besseres Symbol für E-Mail in moderncv

Beitrag von nixversteh »

Ja, bin ziemlich zwanghaft und habe meine eigenen Vorstellungen, wie etwas laufen und aussehen sollte. Habe mehrere Stunden gebraucht ...
Danke für Euer Interesse
Absence of evidence is not evidence of absence

Antworten