
Tengo el siguiente código LaTeX que uso para generar la sección de educación de mi currículum
\documentclass[a4paper,20pt]{article}
\usepackage{latexsym}
\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage[usenames,dvipsnames]{color}
\usepackage{verbatim}
\usepackage{enumitem}
\usepackage[pdftex]{hyperref}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
% Adjust margins
\addtolength{\oddsidemargin}{-0.530in}
\addtolength{\evensidemargin}{-0.375in}
\addtolength{\textwidth}{1in}
\addtolength{\topmargin}{-.45in}
\addtolength{\textheight}{1in}
\urlstyle{rm}
\raggedbottom
\raggedright
\setlength{\tabcolsep}{0in}
% Sections formatting
\titleformat{\section}{
\vspace{-10pt}\scshape\raggedright\large
}{}{0em}{}[\color{black}\titlerule \vspace{-6pt}]
%-------------------------
% Custom commands
\newcommand{\resumeItem}[1]{
\item\small{
#1 \vspace{-2pt}
}
}
\newcommand{\resumeItemWithoutTitle}[1]{
\item\small{
{\vspace{-2pt}}
}
}
\newcommand{\resumeSubheading}[4]{
\vspace{-1pt}\item
\begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r}
\textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\end{tabular*}\vspace{-5pt}
}
\newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}\vspace{-3pt}}
\renewcommand{\labelitemii}{$\circ$}
\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=*]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}}
%-----------------------------
%%%%%% RESUME STARTS HERE %%%%%%
\begin{document}
%----------HEADING-----------------
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
\textbf{{\LARGE Shrey Joshi}} & Email: \href{mailto:[email protected]}{[email protected]}\\
\href{https://shreyjoshi.com}{Website: shreyjoshi.com} & LinkedIn: \href{https://www.linkedin.com/in/sjoshi1729/}{in/sjoshi1729} |
\href{https://github.com/xprilion}{GitHub: ~~@shreyj1729} \\
\end{tabular*}
%-----------EDUCATION-----------------
\section{~~Education}
\resumeSubHeadingListStart
\resumeSubheading
{University of Texas at Dallas}{Dallas, Texas}
{B.S. Computer Science, AES + National Merit Full-ride Scholarship}{2022 - 2025 (Expected)}
\resumeSubHeadingListEnd
\end{document}
Pero esto da como resultado el siguiente resultado, donde la viñeta está centrada entre dos líneas de texto. ¿Cómo puedo hacer para que la viñeta esté solo en la primera línea en negrita?
Respuesta1
Para repetir lo que escribí en los comentarios, puedes alinear la parte superior del entorno tabular* con el texto circundante agregando [t]
como segundo argumento opcional al entorno tabular*:
\newcommand{\resumeSubheading}[4]{
\vspace{-1pt}\item
\begin{tabular*}{0.97\textwidth}[t]{l@{\extracolsep{\fill}}r}
\textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\end{tabular*}\vspace{-5pt}
}