Skip to content

Instantly share code, notes, and snippets.

@mmore500

mmore500/main.tex

Created Jan 22, 2018
Embed
What would you like to do?
Business Card Latex
\documentclass{article}
\title{Business Card}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{empheq}
\makeatletter
\DeclareRobustCommand*{\pmzerodot}{%
\nfss@text{%
\sbox0{$\vcenter{}$}% math axis
\sbox2{0}%
\sbox4{0\/}%
\ooalign{%
0\cr
\hidewidth
\kern\dimexpr\wd4-\wd2\relax % compensate for slanted fonts
\raise\dimexpr(\ht2-\dp2)/2-\ht0\relax\hbox{%
\if b\expandafter\@car\f@series\@nil\relax
\mathversion{bold}%
\fi
$\cdot\m@th$%
}%
\hidewidth
\cr
\vphantom{0}% correct depth of final symbol
}%
}%
}
\newcommand*{\dotarabic}[1]{%
\expandafter\@dotarabic\csname c@#1\endcsname
}
\newcommand*{\@dotarabic}[1]{%
\expandafter\dotarabic@scan\number #1\relax
}
\newcommand*{\dotarabic@scan}[1]{%
\ifx\relax#1%
\expandafter\@gobble
\else
\expandafter\@firstofone
\fi
{%
\ifnum#1=0 %
\ifincsname
0%
\else
\pmzerodot
\fi
\else
#1%
\fi
\dotarabic@scan
}%
}
\makeatother
\renewcommand*{\theequation}{\dotarabic{equation}}
\usepackage{telprint}
\usepackage{ragged2e}
\newlength\Colsep
\setlength\Colsep{10pt}
\usepackage[misc]{ifsym}
\usepackage{fontawesome}
\begin{document}
\noindent\begin{minipage}{8cm}
\begin{minipage}[c][2cm][c]{\dimexpr0.41\textwidth-0.4\Colsep\relax}
\begin{flushright}
\Large{
\textbf{Matthew}\\
\vspace{-0.37ex}
\textbf{Andres}\\
\vspace{-0.37ex}
\textbf{Moreno}\\
\vspace{0.22ex}
}
\end{flushright}
\end{minipage}%
\hfill
\hspace{-2.5ex}
\begin{minipage}[c][0.25cm][c]{\dimexpr0.1\textwidth-0.01\Colsep\relax}
\begin{center}
\faPhone\\
\faTwitter\\
\faGlobe\\
\vspace{-0.05ex}
{\fontsize{8.5}{12}\selectfont \faEnvelope}\\
\vspace{0.5ex}
\end{center}
\end{minipage}%
\hspace{-1.5ex}
\begin{minipage}[c][4cm][c]{\dimexpr0.5\textwidth-0.5\Colsep\relax}
\texttt{541.74\pmzerodot.6595} \\
\texttt{@morenomatthewa} \\
\texttt{mmore5\pmzerodot\pmzerodot.github.io} \\
\texttt{mmore5\pmzerodot\pmzerodot@gmail.com}
\end{minipage}%
\end{minipage}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.