Tag Info

New answers tagged

3

How much contrast exists between the bold and medium font is an aspect of the font design. You haven't given an example document. the default Computer modern has reasonable contrast between the bold and medium weight (which is easy as the medium weight cm is very light) \documentclass{article} \usepackage{amsmath} \begin{document} ...


5

Welcome to TeX.SX! Please, next time add a MWE! For your problem, this is a solution with the commands of the memoir class: \documentclass{memoir} \chapterstyle{dash} \renewcommand*{\cftchapterfont}{\normalfont} \renewcommand*{\cftchapterpagefont}{\normalfont} \begin{document} \tableofcontents* \chapter{A brief introduction} \section{\TeX\ and ...


3

Short question, short solution: The easiest way, unless there is no option within the memoir class, is to redefine the tableofcontents and disable any bold font within a \begingroup...\endgroup, i.e. \renewcommand{\bfseries}{\relax} This solution does not rely on particular memoir commands or external packages. Code \documentclass[12pt]{memoir} ...


3

You can give three option for fonts: font = <options> → affects whole caption labelfont = <options> → affects only the caption label and separator and textfont = <options> → affects only the caption text What you need is font = bf (instead of labelfont=bf) in \usepackage[labelsep=newline,% line break after label ...


3

Here is a way with the siunitx package and the relevant options, which make the code much simpler: %General Layout \documentclass[a4paper, 12pt]{article} \usepackage[left=3cm, right=2cm, top=2cm, bottom=3cm]{geometry} %Mathematics \usepackage{amsmath} \usepackage{amssymb} \usepackage{textgreek} \usepackage{rotating} \usepackage{tikz} ...


0

It seems that MathJax interprets \textbf as a text if enclosed inside \text. Corrected syntax: [latex]\textbf{1 calorie} \text{ = amount of energy required to raise the temperature of } \textbf{1 gram} \text { of water by 1 degree Celsius.}[/latex] works :)


2

I like Heiko Oberdiek's solution. The question remains what one can do if one wants to add Unicode characters that don't have predefined commands like \int and \sum. One option is to \usepackage[utf8]{inputenc} and \hypersetup{pdfencoding=unicode} (if it is not already set as an option to hyperref), and to include literal UTF-8 encoded characters in the ...


2

Probably the easiest approach is to do a global search and replace on Nam, and replace it with \nam. Then use \newcommand{\nam} etc.


3

The context is not very clear to me: math formula with bold symbols, math formula in bold context like section titles, bold/italics or bold/upright, text mode, ... Here some variations: \documentclass{article} \usepackage{fixltx2e}% for \textsubscript \usepackage[fleqn]{amsmath} \usepackage{bm} \begin{document} $y_{ij}$, \boldmath{$y_{ij}$}, ...


7

For mysterious reasons, the .fd file for the OT1 encoding defines a substitution rule for the bold font at sizes less than 9pt and chooses a non bold font, instead of scaling the only available font (at 10pt). Cure it by redefining the font shapes. \documentclass[border=3pt]{standalone} \usepackage{amsmath} \usepackage{cmbright} ...


4

From the documentation cmbright package you can use the \mathbold{} command. But the A is in italic shape.


0

The problem is simply that you can't use align inside equation (and LaTeX will show you an error message that should tell you something is wrong with this). Just delete the \begin{equation} and \end{equation} lines. This should work fine: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \mathbf{x_{t}=f_{t}(x_{t-1},u_{t})}\\ ...


4

\documentclass[border=12pt,preview]{standalone} % change it back to your document class \usepackage{mathtools} \begin{document} \section*{side-by-side} \begin{align} x_{t} &= f_{t}(x_{t-1},u_{t}) & y_{t} &=g_{t}(x_{t},v_{t}) \label{eq:label1} \end{align} Please see equation~\ref{eq:label1} on page~\pageref{eq:label1}. \section*{split with ...


4

\documentclass{article} \usepackage{mathtools} \begin{document} \boldmath \begin{align} \begin{aligned} x_t &= f_t(x_{t-1},u_t)\\ y_t &= g_t(x_t,v_t) \end{aligned}\label{eq:state-space&obs-equ} \end{align} \unboldmath \begin{align} x_t &= f_t(x_{t-1},u_t) & y_t &= g_t(x_t,v_t) \end{align} \end{document} However, it is not a ...


4

Another simple solution is the parselines package: \documentclass{article} \usepackage{parselines} \begin{document} \begin{parse lines}[]{\textbf #1 \par} Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore \end{parse lines} \end{document} A more complex format can be obtained easily replacing \textbf with a ...



Top 50 recent answers are included