New answers tagged

1

The OpenType version of CMU Bright supports old-style numerals (or Numbers=Lowercase). \documentclass{article} \usepackage{fontspec} \setmainfont{CMU Bright}[Numbers=OldStyle] \begin{document} \section{Intro} 12 drummers drumming \end{document} With the legacy 8-bit font in \usepackage{cmbright}, there are old-style numerals in the TS1 encoding. You can ...


14

The style is called "small caps" and is considered a font shape by LaTeX. Thus, \scshape will turn it on, or a delimited form, \textsc{...} is available. Naturally, you must make sure your font supports this shape. \documentclass{article} \begin{document} \textsc{Definici\'on (Isomorfismo)} Sea $T:U\rightarrow V$ \end{document} p.s. Other font ...


3

I'd go with a special symbol that conveys the idea: \documentclass[twocolumn]{article} \usepackage{amsmath,amssymb} \DeclareRobustCommand{\upcomp}{{{-}\!\!{\bullet}}} \DeclareRobustCommand{\downcomp}{{{\bullet}\!\!{-}}} \newcommand{\RR}{\mathbb{R}} \newcommand{\RRup}{\RR_{\upcomp}} \newcommand{\RRdown}{\RR_{\downcomp}} \begin{document} We define $\RRup=\...


2

Personally I think I'd use the form you show, but if using it a lot make it a defined term such as R' then just use that defined notation. But if you want to squeeze it, perhaps \documentclass{article} \usepackage{amsmath,amsfonts,amssymb} \begin{document} \[C_0(\mathbb{R}{\scriptstyle \cup \{+ \infty\}}) \rtimes \mathbb{R}\] \end{document}


2

The problem is related with the sidebearings. The following code in lualatex shows the effect, turning the switch \dropsidebearings on and off. Courtesy of Marcel Kr├╝ger. The references of the original Q&A are in the comments. sidebearings and precision left/right alignment Perfect alignment, LuaTex and sidebearings. Part II A solution of the problem ...


0

I'm using ggplot too, but setting the base_size as lindelof proposed didn't work for me. What did the trick was explicitly setting the font size for the axis labels: ggplot(...) + theme(axis.title = element_text(size = 10))


0

I found the answer! Adding the following block into the preamble seems to do the job. %%%%%%%%Fonts%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{mathptmx} \setkomafont{chapter}{\fontsize{16}{12}} \setkomafont{section}{\fontsize{15}{12}} \setkomafont{subsection}{\fontsize{14}{12}} \setkomafont{subsubsection}{\fontsize{12}{12}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...


4

Note that scaling text is bad, as different font sizes might have different drawings and then do not look identical if scaled down. Not sure if this is an option, but you can make standalone to use IEEEtran class internally which then uses the font defined there. \documentclass[class={IEEEtran}]{standalone} \usepackage{tikz} \begin{document} \begin{...


3

Here's another possible solution. Observe that it aligns the decimal markers within each column. Since you seem to be keen on using a threepartable environment, I also suggest using \tnote directives. I don't think that the sample size information deserves to be all that close to the caption. \documentclass{article} \usepackage{booktabs} \usepackage{...


3

Here is a solution for the caption, with the homonymous package. I also improved a bit the table note. For the font size, this depends on which part you want to change it. \documentclass{article} \usepackage{amsmath} \usepackage{threeparttable} \usepackage{booktabs, array, caption} \begin{document} \begin{table} \centering\captionsetup{labelsep=newline, ...


2

In the standard classes for 10pt option \LARGE is 17pt so you can declare 17pt math sizes for 10pt text, This affects display as well as inline math, doing just inline would be harder as it's not directly supported to separate the two in LaTeX. \documentclass{article} \DeclareMathSizes{10}{17}{12}{9} \begin{document} One $x$ two $\sin^2+\cos^2$ three $\...


Top 50 recent answers are included