Search found 904 matches

by Cham
Tue Jun 12, 2018 2:17 am
Forum: Fonts & Character Sets
Topic: What is wrong with microtype in this code? Topic is solved
Replies: 7
Views: 2283

What is wrong with microtype in this code? Topic is solved

There's another description of this problem here :

https://tex.stackexchange.com/questions ... s-warnings

It's indeed the micro symbol (weird shape of \mu) that causes the warnings.
by Cham
Mon Jun 11, 2018 9:39 pm
Forum: Fonts & Character Sets
Topic: What is wrong with microtype in this code? Topic is solved
Replies: 7
Views: 2283

What is wrong with microtype in this code? Topic is solved

I'm getting several warnings in the console during compilation of this MWE code: \RequirePackage[l2tabu,orthodox]{nag} \documentclass[11pt,twoside]{book} \usepackage{microtype} \usepackage{amsmath} \usepackage[separate-uncertainty=true]{siunitx} \begin{document} Blabla : \begin{align*} \si{\nano} &#...
by Cham
Mon Jun 11, 2018 7:36 pm
Forum: Math & Science
Topic: How to properly label two aligned equations on the same line? Topic is solved
Replies: 6
Views: 9538

How to properly label two aligned equations on the same line? Topic is solved

Ok, forget it! I solved my problem simply by reformulating the text itself.
by Cham
Mon Jun 11, 2018 6:43 pm
Forum: Math & Science
Topic: How to properly label two aligned equations on the same line? Topic is solved
Replies: 6
Views: 9538

How to properly label two aligned equations on the same line? Topic is solved

I rarely do the following (it's the first time, actually!). To save space on a page, I have to align two labeled equations on the same line. Then I need to make a reference to these equations in the text. The MWE below reproduce the issue : \documentclass[]{article} \usepackage{amsmath} \begin{docum...
by Cham
Tue Jun 05, 2018 9:28 pm
Forum: Math & Science
Topic: Flushing a single equation to the left Topic is solved
Replies: 2
Views: 863

Flushing a single equation to the left Topic is solved

I agree. Personally, I usually center all of my equations. However, in the case of the course notes I'm writing, I need to mix calculations examples (all centered) with exercices for the students. In this case, I need to envisage an empty space at the right side of the equations so the students coul...
by Cham
Tue Jun 05, 2018 7:45 pm
Forum: Math & Science
Topic: Flushing a single equation to the left Topic is solved
Replies: 2
Views: 863

Flushing a single equation to the left Topic is solved

I would like to push a few equations to the left side. Do flalign is the only option to do this, for a single equation ? Here's a tiny MWE to show what I want to do : \documentclass{article} \usepackage{amsmath} \begin{document} Blablabla \begin{equation} \frac{1}{3 x + 4} = \frac{2}{x}. \end{equati...
by Cham
Tue Jun 05, 2018 7:00 pm
Forum: General
Topic: How to center a title in a mdframed box? Topic is solved
Replies: 6
Views: 1709

How to center a title in a mdframed box? Topic is solved

Yes, but we're talking about a package with options. Most of the options are simple words, not commands, like this : \begin{mdframed}[ frametitle={Put a title in there}, frametitlerule=true, linecolor=black, backgroundcolor=white, ... ] Blabla \end{mdframed} So for the frametitlealignment option, I ...
by Cham
Tue Jun 05, 2018 6:01 pm
Forum: Math & Science
Topic: What is the nicest fraction package ?
Replies: 1
Views: 2821

What is the nicest fraction package ?

I'm looking for the nicest way (I know it's subjective!) to display small fractions inside a larger fraction. I know about the nicefrac and xfrac packages : \documentclass{article} \usepackage[nice]{nicefrac} \usepackage{amsmath} \usepackage{xfrac} \begin{document} Blablabla \begin{equation} (4 ...
by Cham
Tue Jun 05, 2018 5:36 pm
Forum: General
Topic: How to center a title in a mdframed box? Topic is solved
Replies: 6
Views: 1709

How to center a title in a mdframed box? Topic is solved

Doh! :lol: Apparently, the proper option to center the title in mdframed isn't center , or \center , it's \centering ! frametitlealignment=\centering, No more nag warnings. Why haven't I tried this before? And why it isn't shown in the documentation? Such is LaTeX, I guess. :roll: The issue appears ...
by Cham
Tue Jun 05, 2018 1:50 pm
Forum: General
Topic: How to center a title in a mdframed box? Topic is solved
Replies: 6
Views: 1709

How to center a title in a mdframed box? Topic is solved

You mean replacing mdframed with tcolorbox ? mdframed is working very well, there's just this title centering which causes a nag problem. Is this a bug ?

Go to advanced search