Tag Info

Hot answers tagged

7

LaTeX does not need to check anything, the T1 encoding doesn't include euro by definition. It is in the TS1 encoding (as used by textcomp) and of course in the EU1 and EU2 encodings used by lua and xe latex.


7

Standard bibtex styles cover only one type of ISBN (it does not matter if you use the 13 or 10 digit format). With biblatex you can create new fields for bibtex entries, let us say ISBN13 and ISBN10. Then all you have to do is redefine how the isbn field is printed, e.g., \DeclareFieldFormat{isbn}{\textsc{isbn}~\printfield{isbn13}} or you can create ...


5

The question is solved, it was just the wrong usage of pdftex which does not know of \documentclass command. The error is not connected directly to Ubuntu but can occur on any operating system. In order to compile beamer it is necessary to use latex, pdflatex, xelatex or lualatex instead. For example call on commandline or corresponding menu ...


4

Quoting from the TeXbook, page 79 (last single dangerous bend) Exception: No interline glue is inserted before or after a rule box. You can also inhibit interline glue by saying \nointerlineskip between boxes. In the case without the rule, the interline glue is added as usual: compute the sum s of the depth of the upper line and the height of the ...


3

With utf8 the Unicode character € is mapped to \texteuro, which requires textcomp. The definition of \texteuro is \DeclareTextCommandDefault{\texteuro} {\CheckEncodingSubset\UseTextSymbol{TS1}\tc@fake@euro5\texteuro} If the TS1 font for the current family is known not to have the Euro symbol (that is, it belongs to class 5), the glyph is faked by means ...


3

According to page 58 of the TeXBook: TeX will not deal with dimensions whose absolute value is 230 sp or more. In other words, the maximum legal dimension is slightly less than 16384 pt. This is a distance of about 18.892 feet (5.7583 meters), so it won’t cramp your style. Your overfull hboxes are no larger than 9000pt, so a width of around ...


3

The sansmath does \providecommand\sansmathencoding{OT1} at the beginning; this can so be overridden by adding \newcommand\sansmathencoding{\encodingdefault} before loading the package. You also must ensure that fontspec doesn't hijack math codes and fix another setting where sansmath hardwires OT1. For uppercase Greek, EULERGREEK is needed. ...


3

Would this hack be sufficient? % arara: pdflatex \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation} \text{RHS} \rightarrow \begin{cases} \vert 1 \rangle \bigg[\frac{2\beta}{\sqrt{\alpha^2 + 4\beta^2}}\vert B\rangle &D_1\textrm{ clicks, probability $\frac{\alpha^2}{4}$}\\ \quad - \frac{\alpha}{\sqrt{\alpha^2 + ...


3

Although the answer already has been given in a comment by Juri Robl, I'd like to add some short sentences: Yes, you get a linked PDF using the package hyperref. If you use texlive (and maybe as well with MikTeX), you get the documentation typing texdoc hyperref on the command line. The maintainer is Heiko Oberdiek, who is really active here. There is one ...


3

Include the column spacing as part of the cell contents, not the column specification: \documentclass{article} \begin{document} Original table: \begin{tabular}{@{}lr@{~~}r@{~~}r@{\hspace{10pt}}r@{\hspace{10pt}}r@{}} \hline configuration & \multicolumn{1}{c@{~~}}{$M$} & \multicolumn{1}{c@{~~}}{$w$} & ...


3

You can load the T2A font encoding in addition to T1 and babel with options russian, english, plus a font that contains cyrillic glyphs. One of these, on CTAN, is Heuristica – an addition to Adobe Utopia, that also contains oldstyle and superior figures: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[TS1,T2A, T1]{fontenc}% ...


3

It's best (in any alignment) not to have columns that are always spanned. \documentclass[10pt]{report} \usepackage{longtable} \usepackage{tabu} \usepackage[letterpaper, top=0.5in, right=0.75in, bottom=0.5in, left=0.75in]{geometry} \begin{document} \begin{longtabu}{ X[4,l] X[2,r] X[1,c] X[2,r] X[1,c] } \textbf{Description} & ...


3

here an example \documentclass[a4paper]{article} \usepackage{hyperref} \parindent=0pt \begin{document} \section{Example with \textit{hyperref}} and the associated clinical information were downloaded \\ (GEO,\href{http://www.ncbi.nlm.nih.gov/geo/}{http://www.ncbi.nlm.nih.gov/geo/})\\ selected data are shown in Table \ref{tab1} . Information \\ and ...


2

A childplay for the textmerg package. A simple example: You have this text file called data.dat where every tree lines of text contain the name, surname and name company: David Smith Tipix Edoardo Vinchenzo Pizzaboom And a simple template file.tex: \documentclass{article} \usepackage{textmerg} \begin{document} \Fields{\Name\Surname\Company} ...


1

Actually this is not a property that is unique to \hbox. The happens due the default spacing defined above and below the \hrule construct. You can change the spacing manually by using the \kern command. \vbox{ \hbox{X} \hrule \kern2pt %change the pts according to your needs \hbox{Y} } Alternatively, you could also define a macro for this.


1

I had the line \usepackage[demo]{graphicx}. Removing the [demo] in this line fixed the problem.


1

It is been a while but I'd like to contribute to offer a solution for LyX. Type: \usepackage{cmap} \usepackage[T2A]{fontenc} in the preamble (Document-> Preferences). Then activate under languages (Document->Preferences->Language) for the encoding: "Different -> Unicode(utf8). Close and save.


1

Sean's comment helped to find out, that MikTex's lualatex was trying to download the packages, even though the packages were already installed previously. Going into the MikTex Settings (Admin) program and changing Ask to Yes for installing packages on the fly, then running compilation again, resolved a hangup and produced a file.


1

The amsmath "subsidiary" environments are built for just this purpose. Here, I use aligned, using the \verts inside the multi-line case expression as the alignment point. You could just as well change the alignment point to some other position, or use gathered if no special alignment of the expression is required. The vertical alignment of the case ...


1

The reason why your code doesn't work are the ’ characters e.g. in ’$\cos(x)$’. Replace them with ' and you get the desired output (so e.g. ’$\cos(x)$’ --> '$\cos(x)$' ) Besides that, the code works for me: I'll update the manual in the next days, as the characters are shown wrong there, thank you!


1

kpfonts has a nomath option for precisely this purpose. It will load all Kepler text fonts, but not modify any mathematics fonts. The \usepackage[math]{blindtext} and \blindmathpaper in the example are just for some sample text with mathematics; they are not needed for your actual document. Code: \documentclass{article} \usepackage[nomath]{kpfonts} % load ...


1

The problem is that you are telling LaTeX to fill in all the horizontal space to the right of your left boxes so there isn't room for anything else on that page. To avoid this, wrap the boxes in an outer minipage environment something like the following. I've also made your minimal example a bit more minimal by eliminating unneeded preamble. Note that you ...



Only top voted, non community-wiki answers of a minimum length are eligible