Skip to content

Commit

Permalink
BUGFIX: En HTML y LaTeX
Browse files Browse the repository at this point in the history
Vuelto a poner el padding inicial.

En LaTeX las imágenes tienen que estar en htbp (donde se añadan las imágenes).
  • Loading branch information
yuki committed Jan 27, 2024
1 parent f4be5fd commit de293bf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions template/css/template.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#main {
text-align: justify;
padding: 56px 0px;
}

#book p {
Expand All @@ -10,6 +11,10 @@
padding-bottom: 2rem;
}

h1, h2, h3, h4, h5, h6{
padding-top: 2rem;
}

/*
*
* SIDEBAR
Expand Down Expand Up @@ -111,6 +116,10 @@
text-align: center;
}

.center figure {
display: inline-block;
}

img {
max-width: -webkit-fill-available;
max-width: -moz-available;
Expand Down
6 changes: 3 additions & 3 deletions template/yuki.tex
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,9 @@
% % using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% % Set default figure placement to htbp
% \makeatletter
% \def\fps@figure{htbp}
% \makeatother
\makeatletter
\def\fps@figure{htbp}
\makeatother

\RequirePackage{caption}
\captionsetup{labelformat=empty,textfont={scriptsize}}
Expand Down

0 comments on commit de293bf

Please sign in to comment.