How to write a character sequence for parallel symbol?
Show older comments
We use \perp to insert a perpendicular symbol "⊥" but I haven't found a charater sequence for the symbol parallel. How can we write its charater sequence?
Accepted Answer
More Answers (2)
\parallel
MATLAB uses the latex symbols. If it doesn't work, you may go for '||' this right?
Walter Roberson
on 16 Jul 2021
Edited: Walter Roberson
on 16 Jul 2021
abc||def 

abc\|def 

abc{\parellel}def 
xlabel('$abc||def$', 'interpreter', 'latex')
ylabel('$abc\|def$', 'interpreter', 'latex')
title('$abc{\parallel}def', 'interpreter', 'latex')
So abc||def and abc\|def are supported for drawing, but not \parallel
Categories
Find more on Conversion Between Symbolic and Numeric in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!