Missing file | Solution | Details |
---|---|---|
bclogo.sty | apt install --no-install-recommends texlive-pstricks | |
biblatex.sty | apt install --no-install-recommends texlive-bibtex-extra | |
fontawesome.sty | apt install --no-install-recommends texlive-fonts-extra | |
luaotfload.sty | apt install --no-install-recommends texlive-luatex | source |
tcolorbox.sty | apt install --no-install-recommends texlive-latex-extra | see list of built-in packages |
tikz.sty | apt install --no-install-recommends texlive-pictures |
Underfull \hbox (badness 10000) in paragraph at lines x--y [] [] [] [] [] [] this must mean something too, but what ?
\\
incorrectly placed at the end of a paragraph. (source)\\
), so if you avoid doing that this should be pretty rare (other causes are weird tabular environments or forced blank lines). (source)\\
:Overfull \hbox (11.24971pt too wide) in paragraph at lines x--y []\TU/Lato(0)/m/n/10 Lorem ipsum dolor sit amet, \TU/lmtt/m/n/10 consectetur adipiscin g elit
\texttt{}
\texttt{}
on the line causing the warning\-
so that LaTeX can pick the best solution (source) :Lorem ipsum dolor sit amet, \texttt{con\-sec\-te\-tur a\-di\-pis\-cing elit}
\newcommand{\myBeautifulMacro}[1] {\texttt{#1}}
which is causing all this trouble. What you'll basically have to do is to turn it into :
\newcommand{\myBeautifulMacro}[1] {{\fontfamily{lmss}\selectfont #1}}
\fontfamily{fontSpec}\selectfont
is how you select the fontSpec font{}
are there to limit the scope of the font change (i.e. make this an "inline" style, for those who are familiar with CSS). This is a common LaTeX hack.The LaTeX Font Catalogue : http://www.tug.dk/FontCatalogue/ https://tex.stackexchange.com/questions/2305/what-fonts-are-installed-on-my-box updmap-sys --listmaps | less 'fc-list' : list available fonts fc-list | cut -d\ -f2-99 | cut -d: -f1 | sort -u fc-query /usr/share/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf https://tex.stackexchange.com/questions/25249/how-do-i-use-a-particular-font-for-a-small-section-of-text-in-my-document find /usr/share/ -type f -a -name "*sty" -exec grep -lE 'renewcommand.*sfdefault' {} \; find /usr/share/ -type f -a -name "*sty" | xargs -I truc bash -c 'grep -E "renewcommand.*sfdefault" truc && echo truc' > result.txt lmtt Latin Modern Typewriter ==> no error, but I'm actually trying to avoid typewriter fonts lmr Latin Modern ==> works but doesn't match with other fonts (serif / sans serif ?) lmssq ==> fine but too big lmss Fonts 3-letter codes : https://www.overleaf.com/learn/latex/Font_typefaces#Reference_guide https://tex.stackexchange.com/questions/44361/how-to-automatically-hyphenate-within-texttt
\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}
To display... | Type |
---|---|
\ | $\backslash$ |
| | $|$ |
° | $^{\circ}$ |
ç | \c c |
œ (like in "œuvre") | \oe |
&, $, #, _, % | \& , \$ , \# , \_ , \% |
é | \'e |
è, à, ù | \`e , \`a , \`u |
â | \^a |
ï | \"i |
\end{frame}
can NOT be indented\end{frame}
cannot have any comments directly after itpdflatex actually is :
lrwxrwxrwx 1 root root 6 Nov 3 03:50 /usr/bin/pdflatex -> pdftex*
And where does it come from ?
texlive-binaries: /usr/bin/pdftex
apt-get install texlive-base texlive-lang-french texlive-latex-base
Headers and footers have left and right sides, which content can be explicitly specified :
Descriptors value must be chosen from :
examples (source) :
\fancyhead[RO,LE]{\title}
\fancyfoot[C]{- \thepage{} -}
When you make pdf files from LATEX with dvipdf or pdflatex, the fonts are very ugly to look at on the screen. This _may be_ because the standard LATEX fonts are not supported by Acrobat reader.
Solutions :
\usepackage{times}
\pagecolor{colorName}
: to change the page background color.\color{colorName}
: toggles the current text color.\normalcolor
: switches to the color that was active at the end of the preamble. Thus placing a \color
command in the preamble can change the standard color for the whole document.\textcolor{colorName}{Lorem ipsum dolor sit amet}
: writes "Lorem ipsum dolor sit amet" in the specified color\colorbox{background_color}{Lorem ipsum dolor sit amet}
: writes "Lorem ipsum dolor sit amet" with a background color\fcolorbox{frame_color}{background_color}{Lorem ipsum dolor sit amet}
: writes "Lorem ipsum dolor sit amet" with a background and a frame\usepackage[options]{packageName}
):
\usepackage[ pdfauthor={John Doe}, pdftitle={The title of the document}, pdfsubject={The subject of the document}, pdfkeywords={document,keywords,separated,by,coma} ]{hyperref}
\href{target}{text}
\url{url}
\hyperlink{targetName}{text}
\hypertarget{targetName}{text}
\input{file}
The \input
command causes the indicated file to be read and processed, exactly as if its contents had been inserted in the current file at that point. The file name may be a complete file name with extension or just a first name, in which case the file `file.tex' is used. (???)