In latex .cls the following ends up with a figure that is too low and not alligned the…
- User
In latex .cls the following ends up with a figure that is too low and not alligned the text on the left. How to raise it?\renewcommand{\ps@firstpage}{% % Specify the header \renewcommand{@oddhead}{% \raisebox{1.7in}[0in][0in]{\includegraphics{csail-text}} % text \hfill { \includegraphics[scale=0.15]{csail (1).png} % figure } }}
Assistant
To raise the figure and align it better with the text on the left, you can adjust the \raisebox command for the figure and possibly adjust its scale. Here's a modified version of your code that should help: latex\renewcommand{\ps@firstpage}{% % Specify the header \renewcommand{@oddhead}{% \raisebox{1.7in}[0in][0in]{\includegraphics{csail-text}} % text \hfill \raisebox{1.7in}[0in][0in]{% \includegraphics[scale=0.12]{csail (1).png} % figure } } } Here are the changes made:
Added a \raisebox command for the figure, matching the one used for the text. This will raise the figure to the same level as the text. Slightly reduced the scale of the image from 0.15 to 0.12. This may help if the image was too large and causing alignment issues. You can adjust this value as needed. Removed the extra set of curly braces around the figure, as they're not necessary.
These changes should raise the figure to align with the text on the left. If you find that the alignment is still not perfect, you can fine-tune by: