TeX - LaTeX Asked by Deisy Gonzales on October 1, 2020
documentclass[12pt]{article}
usepackage[spanish]{babel}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[textwidth=12cm,centering]{geometry}
usepackage[x11names]{xcolor}
usepackage{background}
usepackage{graphicx}
usepackage[document]{ragged2e}
newcommand{heart}{ensuremathheartsuit}
newcommand{butt}{rotatebox[origin=c]{180}{heart}}
newcommand*wb[3]{%
{fontsize{#1}{#2}usefont{T1}{custom}{xl}{n}#3}}
%{fontsize{#1}{#2}usefont{U}{webo}{xl}{n}#3}}
% The page frame
SetBgColor{Goldenrod3}
SetBgAngle{0}
SetBgScale{1}
SetBgOpacity{1}
SetBgContents{%
begin{tikzpicture}
node at (0.5paperwidth,0) {wb{80}{34}{E}rule[55pt]{.3textwidth}{0.4pt}%
raisebox{50pt}{%
makebox[.4textwidth]{ fontsize{24}{29}selectfontscshape Open Bar }}%
rule[55pt]{.3textwidth}{0.4pt}wb{80}{34}{F}};
node at (2.4,-0.5textheight) {rule{0.4pt}{.82textheight}};
node at (19.1,-0.5textheight) {rule{0.4pt}{.82textheight}};
node at (0.5paperwidth,-textheight) {wb{80}{80}{G}rule[-10pt]{textwidth}{0.4pt}wb{80}{34}{H}} ;
end{tikzpicture}%
}
% colorize text
newcommand*ColText[1]
{textcolor{Goldenrod3}{#1}}
% a tabular* for each food group
newenvironment{Group}[1]
{centering{noindentbegin{tabular*}{textwidth}{@{}p{.8linewidth}@{extracolsep{fill}}r@{}}
{fontsize{24}{29}selectfontColText{#1}}[0.8em]}
{end{tabular*}}}
% to format each entry
newcommand*Entry[2]{%
centering{sffamily#1 & #2}}
% to format each subentry
newcommand*Expl[1]{%
centering{hspace*{1em}footnotesize #1}}
pagestyle{empty}
begin{document}
begin{Group}{Mixed Drink}
Entry{Michelada}{}
Expl{Beer, Clamato Juice, Lime Juice,}
Entry{Palomas}{}
Expl{Squirt and Tequila}
Entry{Jack, Coke}{}
Expl{Jack Daniels, Coca-Cola}
Entry{Margarita}{}
Expl{Tequila, Lime Juice, Orange liqueur, Kosher Salt, Tajin}
end{Group}
vspace{5mm}
begin{Group}{begin{center}
{Beer}
end{center}}
Entry{Corona}{}
Expl{}
Entry{Modelo}{}
Expl{}
end{Group}
vspace{5mm}
begin{Group}{begin{center}
Non-Alcoholic
end{center}
}
Entry{Water Bottle}{}
Expl{}
Entry{Coca-Cola}{}
Expl{}
Entry{Squirt}{}
Expl{}
Entry{Dr Perpper}{}
Expl{}
Hello, I was trying to manipulate this file but I cannot get the gold text to the center. If anyone can let me know where to make changes in the code. I would appreciate it. I know there is other errors in there.
end{Group}
begin{center}
textbf{heart Because no great story ever started with a salad.heart}
end{center}
end{document}
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP